forked from w3c/webref
-
Notifications
You must be signed in to change notification settings - Fork 0
/
css-content.json
132 lines (132 loc) · 4 KB
/
css-content.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"spec": {
"title": "CSS Generated Content Module Level 3",
"url": "https://www.w3.org/TR/css-content-3/"
},
"properties": {
"content": {
"name": "content",
"value": "normal | none | [ <content-replacement> | <content-list> ] [/ [ <string> | <counter> ]+ ]?",
"initial": "normal",
"appliesTo": "all elements, tree-abiding pseudo-elements, and page margin boxes",
"inherited": "no",
"percentages": "n/a",
"computedValue": "See prose below",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"content"
]
},
"quotes": {
"name": "quotes",
"value": "auto | none | [ <string> <string> ]+",
"initial": "auto",
"appliesTo": "all elements",
"inherited": "yes",
"percentages": "n/a",
"computedValue": "the keyword none, the keyword auto, or a list, each item a pair of string values",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"quotes"
]
},
"string-set": {
"name": "string-set",
"value": "none | [ <custom-ident> <string>+ ]#",
"initial": "none",
"appliesTo": "all elements, but not pseudo-elements",
"inherited": "no",
"percentages": "N/A",
"computedValue": "the keyword none or a list, each item an identifier paired with a list of string values",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"string-set",
"stringSet"
]
},
"bookmark-level": {
"name": "bookmark-level",
"value": "none | <integer>",
"initial": "none",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "N/A",
"computedValue": "the keyword none or the specified integer",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"styleDeclaration": [
"bookmark-level",
"bookmarkLevel"
]
},
"bookmark-label": {
"name": "bookmark-label",
"value": "<content-list>",
"initial": "content(text)",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "N/A",
"computedValue": "specified value",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"bookmark-label",
"bookmarkLabel"
]
},
"bookmark-state": {
"name": "bookmark-state",
"value": "open | closed",
"initial": "open",
"appliesTo": "block-level elements",
"inherited": "no",
"percentages": "N/A",
"computedValue": "specified keyword",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"bookmark-state",
"bookmarkState"
]
}
},
"descriptors": {},
"valuespaces": {
"<quote>": {
"value": "open-quote | close-quote | no-open-quote | no-close-quote"
},
"<leader()>": {
"value": "leader( <leader-type> )"
},
"<leader-type>": {
"value": "dotted | solid | space | <string>"
},
"<target>": {
"value": "<target-counter()> | <target-counters()> | <target-text()>"
},
"<target-counter()>": {
"value": "target-counter( [ <string> | <url> ] , <custom-ident> , <counter-style>? )"
},
"<target-counters()>": {
"value": "target-counters( [ <string> | <url> ] , <custom-ident> , <string> , <counter-style>? )"
},
"<target-text()>": {
"value": "target-text( [ <string> | <url> ] , [ content | before | after | first-letter ]? )"
},
"<string()>": {
"value": "string( <custom-ident> , [ first | start | last | first-except ]? )"
},
"<content()>": {
"value": "content( [ text | before | after | first-letter | marker ]? )"
},
"<content-replacement>": {
"value": "<image>"
},
"<content-list>": {
"value": "[ <string> | contents | <image> | <counter> | <quote> | <target> | <leader()> ]+"
}
}
}