-
Notifications
You must be signed in to change notification settings - Fork 80
/
Copy pathcss-gcpm.json
166 lines (166 loc) · 5.56 KB
/
css-gcpm.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"spec": {
"title": "CSS Generated Content for Paged Media Module",
"url": "https://drafts.csswg.org/css-gcpm-3/"
},
"properties": [
{
"name": "string-set",
"href": "https://drafts.csswg.org/css-gcpm-3/#propdef-string-set",
"value": "[ <custom-ident> <content-list> ]# | none",
"initial": "none",
"appliesTo": "all elements, but not pseudo-elements",
"inherited": "no",
"percentages": "N/A",
"computedValue": "specified value",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"string-set",
"stringSet"
]
},
{
"name": "position",
"newValues": "<running()>",
"styleDeclaration": [
"position"
]
},
{
"name": "content",
"newValues": "<element()>",
"styleDeclaration": [
"content"
]
},
{
"name": "float",
"newValues": "footnote",
"values": [
{
"name": "footnote",
"prose": "each footnote element is placed in the footnote area of the page",
"href": "https://drafts.csswg.org/css-gcpm-3/#valdef-float-footnote",
"type": "value",
"value": "footnote"
}
],
"styleDeclaration": [
"float"
]
},
{
"name": "footnote-display",
"href": "https://drafts.csswg.org/css-gcpm-3/#propdef-footnote-display",
"value": "block | inline | compact",
"initial": "block",
"appliesTo": "elements",
"inherited": "no",
"percentages": "N/A",
"computedValue": "specified value",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"values": [
{
"name": "block",
"prose": "The footnote element is placed in the footnote area as a block element",
"href": "https://drafts.csswg.org/css-gcpm-3/#footnote-display-block",
"type": "value",
"value": "block"
},
{
"name": "inline",
"prose": "The footnote element is placed in the footnote area as an inline element",
"href": "https://drafts.csswg.org/css-gcpm-3/#footnote-display-inline",
"type": "value",
"value": "inline"
},
{
"name": "compact",
"prose": "The user agent determines whether a given footnote element is placed as a block element or an inline element. If two or more footnotes could fit on the same line in the footnote area, they should be placed inline.",
"href": "https://drafts.csswg.org/css-gcpm-3/#footnote-display-compact",
"type": "value",
"value": "compact"
}
],
"styleDeclaration": [
"footnote-display",
"footnoteDisplay"
]
},
{
"name": "footnote-policy",
"href": "https://drafts.csswg.org/css-gcpm-3/#propdef-footnote-policy",
"value": "auto | line | block",
"initial": "auto",
"appliesTo": "elements",
"inherited": "no",
"percentages": "N/A",
"computedValue": "specified value",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"values": [
{
"name": "auto",
"prose": "The user agent chooses how to render footnotes, and may place the footnote body on a later page than the footnote reference. A footnote body must never be placed on a page before the footnote reference.",
"href": "https://drafts.csswg.org/css-gcpm-3/#valdef-footnote-policy-auto",
"type": "value",
"value": "auto"
},
{
"name": "line",
"prose": "If a given footnote body cannot be placed on the current page due to lack of space, the user agent introduces a forced page break at the start of the line containing the footnote reference, so that both the reference and the footnote body fall on the next page. Note that the user agent must honor widow and orphan settings when doing this, and so may need to insert the page break on an earlier line.",
"href": "https://drafts.csswg.org/css-gcpm-3/#footnote-policy-line",
"type": "value",
"value": "line"
},
{
"name": "block",
"prose": "As with line, except a forced page break is introduced before the paragraph that contains the footnote.",
"href": "https://drafts.csswg.org/css-gcpm-3/#valdef-footnote-policy-block",
"type": "value",
"value": "block"
}
],
"styleDeclaration": [
"footnote-policy",
"footnotePolicy"
]
}
],
"atrules": [],
"selectors": [
{
"name": ":nth()",
"href": "https://drafts.csswg.org/css-gcpm-3/#selectordef-nth",
"value": ":nth( <an+b> [of <custom-ident>]? )"
}
],
"values": [
{
"name": "<content-list>",
"href": "https://drafts.csswg.org/css-gcpm-3/#content-list",
"type": "type",
"value": "[ <string> | <counter()> | <counters()> | <content()> | <attr()> ]+"
},
{
"name": "content()",
"href": "https://drafts.csswg.org/css-gcpm-3/#funcdef-content",
"type": "function",
"value": "content([text | before | after | first-letter ])"
},
{
"name": "running()",
"href": "https://drafts.csswg.org/css-gcpm-3/#funcdef-running",
"type": "function",
"value": "running( <custom-ident> )"
},
{
"name": "element()",
"href": "https://drafts.csswg.org/css-gcpm-3/#funcdef-element",
"type": "function",
"value": "element( <custom-ident> , [ first | start | last | first-except ]? )"
}
]
}