@webref/css 5.4.4 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +66 -0
- package/CSS.json +450 -21
- package/README.md +4 -4
- package/SVG.json +42 -35
- package/compat.json +111 -75
- package/compositing.json +101 -12
- package/css-align.json +300 -30
- package/css-anchor.json +177 -19
- package/css-animations-2.json +37 -15
- package/css-animations.json +155 -31
- package/css-backgrounds-4.json +107 -32
- package/css-backgrounds.json +426 -59
- package/css-box.json +243 -20
- package/css-break.json +292 -11
- package/css-cascade-6.json +22 -13
- package/css-cascade.json +50 -15
- package/css-color-5.json +320 -35
- package/css-color-adjust.json +75 -8
- package/css-color.json +1100 -61
- package/css-conditional-4.json +11 -6
- package/css-conditional-5.json +38 -19
- package/css-conditional.json +28 -15
- package/css-contain-3.json +101 -26
- package/css-contain.json +71 -6
- package/css-content.json +291 -30
- package/css-counter-styles.json +455 -18
- package/css-display.json +250 -19
- package/css-easing.json +137 -25
- package/css-env.json +61 -6
- package/css-exclusions.json +65 -6
- package/css-extensions.json +20 -12
- package/css-flexbox.json +132 -11
- package/css-fonts-5.json +255 -13
- package/css-fonts.json +886 -74
- package/css-gcpm-4.json +30 -5
- package/css-gcpm.json +76 -15
- package/css-grid-3.json +10 -9
- package/css-grid.json +442 -42
- package/css-highlight-api.json +13 -5
- package/css-images-4.json +221 -68
- package/css-images-5.json +40 -0
- package/css-images.json +278 -33
- package/css-inline.json +525 -16
- package/css-layout-api.json +20 -0
- package/css-line-grid.json +80 -7
- package/css-lists.json +176 -21
- package/css-logical.json +125 -50
- package/css-masking.json +330 -47
- package/css-multicol-2.json +32 -5
- package/css-multicol.json +84 -13
- package/css-namespaces.json +15 -10
- package/css-nav.json +63 -7
- package/css-nesting.json +15 -0
- package/css-overflow-4.json +83 -10
- package/css-overflow.json +239 -18
- package/css-overscroll.json +110 -9
- package/css-page-floats.json +188 -16
- package/css-page.json +262 -67
- package/css-paint-api.json +8 -5
- package/css-position.json +269 -16
- package/css-properties-values-api.json +9 -7
- package/css-pseudo.json +67 -0
- package/css-regions.json +8 -7
- package/css-rhythm.json +69 -10
- package/css-round-display.json +47 -10
- package/css-ruby.json +137 -8
- package/css-scoping.json +27 -0
- package/css-scroll-anchoring.json +20 -5
- package/css-scroll-snap-2.json +272 -10
- package/css-scroll-snap.json +218 -29
- package/css-scrollbars.json +41 -6
- package/css-shadow-parts.json +8 -5
- package/css-shapes-2.json +190 -43
- package/css-shapes.json +130 -36
- package/css-size-adjust.json +26 -5
- package/css-sizing-4.json +404 -23
- package/css-sizing.json +231 -12
- package/css-speech.json +619 -35
- package/css-syntax.json +193 -92
- package/css-tables.json +10 -9
- package/css-text-4.json +800 -40
- package/css-text-decor-4.json +394 -23
- package/css-text-decor.json +159 -14
- package/css-text.json +371 -20
- package/css-transforms-2.json +177 -40
- package/css-transforms.json +137 -45
- package/css-transitions.json +33 -14
- package/css-ui.json +437 -42
- package/css-values-5.json +99 -14
- package/css-values.json +654 -146
- package/css-variables.json +12 -7
- package/css-view-transitions.json +45 -7
- package/css-will-change.json +36 -7
- package/css-writing-modes.json +141 -10
- package/fill-stroke.json +290 -35
- package/filter-effects-2.json +6 -5
- package/filter-effects.json +109 -45
- package/fullscreen.json +15 -0
- package/mathml-core.json +10 -9
- package/mediaqueries-5.json +505 -52
- package/mediaqueries.json +307 -40
- package/motion.json +99 -16
- package/package.json +1 -1
- package/scroll-animations.json +225 -24
- package/selectors.json +368 -30
- package/svg-strokes.json +8 -7
- package/upgrade-insecure-requests.json +26 -0
- package/html.json +0 -19
package/css-page-floats.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"title": "CSS Page Floats",
|
|
4
4
|
"url": "https://drafts.csswg.org/css-page-floats-3/"
|
|
5
5
|
},
|
|
6
|
-
"properties":
|
|
7
|
-
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
8
|
"name": "float-reference",
|
|
9
9
|
"value": "inline | column | region | page",
|
|
10
10
|
"initial": "inline",
|
|
@@ -14,12 +14,38 @@
|
|
|
14
14
|
"computedValue": "specified keyword",
|
|
15
15
|
"canonicalOrder": "per grammar",
|
|
16
16
|
"animationType": "discrete",
|
|
17
|
+
"values": [
|
|
18
|
+
{
|
|
19
|
+
"name": "inline",
|
|
20
|
+
"prose": "The float reference is the line box of the float anchor. The float containing block formatting context is the same as that of the float anchor. The float is an inline float.",
|
|
21
|
+
"type": "value",
|
|
22
|
+
"value": "inline"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "column",
|
|
26
|
+
"prose": "The float reference is the column in a multi column environment in which the float anchor is placed. If the float anchor is not inside a column, the float reference is the line box of the float anchor. The float containing block formatting context is a new block formatting context with the same dimensions and placement as the float reference. The float is a page float.",
|
|
27
|
+
"type": "value",
|
|
28
|
+
"value": "column"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "region",
|
|
32
|
+
"prose": "The float reference is the region in a region-chain within which the float anchor is placed. If the float anchor is not inside a region, the float reference is the line box of the float anchor. The float containing block formatting context is a new block formatting context with the same dimensions and placement as the float reference. The float is a page float.",
|
|
33
|
+
"type": "value",
|
|
34
|
+
"value": "region"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "page",
|
|
38
|
+
"prose": "The float reference of the float is the page within which the float anchor is placed. If the float anchor is not inside a page, the float reference is the line box of the float anchor. The float containing block formatting context is a new block formatting context with the same dimensions and placement as the float reference. The float is a page float.",
|
|
39
|
+
"type": "value",
|
|
40
|
+
"value": "page"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
17
43
|
"styleDeclaration": [
|
|
18
44
|
"float-reference",
|
|
19
45
|
"floatReference"
|
|
20
46
|
]
|
|
21
47
|
},
|
|
22
|
-
|
|
48
|
+
{
|
|
23
49
|
"name": "float",
|
|
24
50
|
"value": "block-start | block-end | inline-start | inline-end | snap-block | <snap-block()> | snap-inline | <snap-inline()> | left | right | top | bottom | none",
|
|
25
51
|
"initial": "none",
|
|
@@ -29,11 +55,89 @@
|
|
|
29
55
|
"computedValue": "as specified",
|
|
30
56
|
"canonicalOrder": "per grammar",
|
|
31
57
|
"animationType": "by computed value type",
|
|
58
|
+
"values": [
|
|
59
|
+
{
|
|
60
|
+
"name": "inline-start",
|
|
61
|
+
"prose": "If the float reference is a line box, the element generates a box that is floated to the line-start outer edge of the float reference and content flows on the line-end side of the box. If the float reference is not a line box, the element generates a box that is floated to the line-start and block-start outer edges of the float reference.",
|
|
62
|
+
"type": "value",
|
|
63
|
+
"value": "inline-start"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "inline-end",
|
|
67
|
+
"prose": "If the float reference is a line box, the element generates a box that is floated to the line-ebd outer edge of the float reference and content flows on the line-start side of the box. If the float reference is not a line box, the element generates a box that is floated to the line-end and block-end outer edges of the float reference.",
|
|
68
|
+
"type": "value",
|
|
69
|
+
"value": "inline-end"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "block-start",
|
|
73
|
+
"prose": "If the float reference is a line box, block-start behaves like inline-start. If the float reference is not a line box, the element generates a box that is floated to the block-start and line-start outer edges of the float reference. The initial value of the max-width or max-height property that refers to the inline size of the float is '100%'. Content flows on the block-end side of the box.",
|
|
74
|
+
"type": "value",
|
|
75
|
+
"value": "block-start"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "block-end",
|
|
79
|
+
"prose": "If the float reference is a line box, block-end behaves like inline-end. If the float reference is not a line box, the element generates a box that is floated to the block-end and line-end outer edges of the float reference. The initial value of the max-width or max-height property that refers to the inline size of the float is '100%'. Content flows on the block-start side of the box.",
|
|
80
|
+
"type": "value",
|
|
81
|
+
"value": "block-end"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "left",
|
|
85
|
+
"prose": "If the float reference is a line box, behaves like inline-start or inline-end, whichever corresponds to line-left for the float reference. Otherwise, behaves like block-end, inline-start or inline-end depending on the float containing block’s direction and writing-mode.",
|
|
86
|
+
"type": "value",
|
|
87
|
+
"value": "left"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "right",
|
|
91
|
+
"prose": "If the float reference is a line box, behaves like inline-start or inline-end, whichever corresponds to line-right for the float reference. Otherwise, behaves like block-start, inline-start or inline-end depending on the float containing block’s direction and writing-mode.",
|
|
92
|
+
"type": "value",
|
|
93
|
+
"value": "right"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "top",
|
|
97
|
+
"prose": "Behave like block-start or inline-start depending on the float containing block’s direction and writing-mode.",
|
|
98
|
+
"type": "value",
|
|
99
|
+
"value": "top"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "bottom",
|
|
103
|
+
"prose": "Behave like block-end or inline-end depending on the float containing block’s direction and writing-mode.",
|
|
104
|
+
"type": "value",
|
|
105
|
+
"value": "bottom"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "snap-block()",
|
|
109
|
+
"value": "snap-block( <length> , [ start | end | near ]? )",
|
|
110
|
+
"type": "function"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "snap-block",
|
|
114
|
+
"prose": "Behaves as snap-block(2em, near)",
|
|
115
|
+
"type": "value",
|
|
116
|
+
"value": "snap-block"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "snap-inline()",
|
|
120
|
+
"value": "snap-inline( <length> , [ left | right | near ]? )",
|
|
121
|
+
"type": "function"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "snap-inline",
|
|
125
|
+
"prose": "same as snap-inline(2em, near)",
|
|
126
|
+
"type": "value",
|
|
127
|
+
"value": "snap-inline"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "none",
|
|
131
|
+
"prose": "The box is not floated.",
|
|
132
|
+
"type": "value",
|
|
133
|
+
"value": "none"
|
|
134
|
+
}
|
|
135
|
+
],
|
|
32
136
|
"styleDeclaration": [
|
|
33
137
|
"float"
|
|
34
138
|
]
|
|
35
139
|
},
|
|
36
|
-
|
|
140
|
+
{
|
|
37
141
|
"name": "clear",
|
|
38
142
|
"value": "inline-start | inline-end | block-start | block-end | left | right | top | bottom | none",
|
|
39
143
|
"initial": "none",
|
|
@@ -43,11 +147,85 @@
|
|
|
43
147
|
"computedValue": "specified keyword",
|
|
44
148
|
"canonicalOrder": "per grammar",
|
|
45
149
|
"animationType": "discrete",
|
|
150
|
+
"values": [
|
|
151
|
+
{
|
|
152
|
+
"name": "inline-start",
|
|
153
|
+
"prose": "If applied to an inline float, requires that the block-start outer edge of the box comes after the block-end outer edge of any inline-start-floats with an inline-start-float-reference that resulted from elements earlier in the source document. If applied to a page float, the float reference in which the page float is placed will be seen as full when determining whether it can host subsequent page floats that float in the inline-start direction.",
|
|
154
|
+
"type": "value",
|
|
155
|
+
"value": "inline-start"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "inline-end",
|
|
159
|
+
"prose": "If applied to a block-level element or an inline float, requires that the block-start outer edge of the box comes after the block-end outer edge of any inline-end-floats with an inline-end-float-reference that resulted from elements earlier in the source document. If applied to a page float, the float reference in which the page float is placed will be seen as full when determining whether it can host subsequent page floats that float in the inline-end direction.",
|
|
160
|
+
"type": "value",
|
|
161
|
+
"value": "inline-end"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "block-start",
|
|
165
|
+
"prose": "If applied to a block-level element or an inline float, behaves like inline-start. If applied to a page float, the float reference in which the page float is placed will be seen as full when determining whether it can host subsequent page floats that float in the block-start direction.",
|
|
166
|
+
"type": "value",
|
|
167
|
+
"value": "block-start"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "block-end",
|
|
171
|
+
"prose": "If applied to a block-level element or an inline float, behaves like inline-end. If applied to a page float, the float reference in which the page float is placed will be seen as full when determining whether it can host subsequent page floats that float in the block-end direction.",
|
|
172
|
+
"type": "value",
|
|
173
|
+
"value": "block-end"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "left",
|
|
177
|
+
"prose": "Behave like block-end, inline-start or inline-end depending on the float containing block’s direction and writing-mode.",
|
|
178
|
+
"type": "value",
|
|
179
|
+
"value": "left"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"name": "right",
|
|
183
|
+
"prose": "Behave like block-start, inline-start or inline-end depending on the float containing block’s direction and writing-mode.",
|
|
184
|
+
"type": "value",
|
|
185
|
+
"value": "right"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "top",
|
|
189
|
+
"prose": "Behave like block-start or inline-start depending on the float containing block’s direction and writing-mode.",
|
|
190
|
+
"type": "value",
|
|
191
|
+
"value": "top"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "bottom",
|
|
195
|
+
"prose": "Behave like block-end or inline-end depending on the float containing block’s direction and writing-mode.",
|
|
196
|
+
"type": "value",
|
|
197
|
+
"value": "bottom"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"name": "both-inline",
|
|
201
|
+
"prose": "Behave like inline-start and inline-end.",
|
|
202
|
+
"type": "value",
|
|
203
|
+
"value": "both-inline"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"name": "both-block",
|
|
207
|
+
"prose": "Behave like block-start and block-end.",
|
|
208
|
+
"type": "value",
|
|
209
|
+
"value": "both-block"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "both",
|
|
213
|
+
"prose": "Behave like both-inline.",
|
|
214
|
+
"type": "value",
|
|
215
|
+
"value": "both"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"name": "all",
|
|
219
|
+
"prose": "Behave like both-block and both-inline.",
|
|
220
|
+
"type": "value",
|
|
221
|
+
"value": "all"
|
|
222
|
+
}
|
|
223
|
+
],
|
|
46
224
|
"styleDeclaration": [
|
|
47
225
|
"clear"
|
|
48
226
|
]
|
|
49
227
|
},
|
|
50
|
-
|
|
228
|
+
{
|
|
51
229
|
"name": "float-defer",
|
|
52
230
|
"value": "<integer> | last | none",
|
|
53
231
|
"initial": "none",
|
|
@@ -62,7 +240,7 @@
|
|
|
62
240
|
"floatDefer"
|
|
63
241
|
]
|
|
64
242
|
},
|
|
65
|
-
|
|
243
|
+
{
|
|
66
244
|
"name": "float-offset",
|
|
67
245
|
"value": "<length> | <percentage>",
|
|
68
246
|
"initial": "0",
|
|
@@ -77,14 +255,8 @@
|
|
|
77
255
|
"floatOffset"
|
|
78
256
|
]
|
|
79
257
|
}
|
|
80
|
-
|
|
81
|
-
"atrules":
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
"value": "snap-block( <length> , [ start | end | near ]? )"
|
|
85
|
-
},
|
|
86
|
-
"<snap-inline()>": {
|
|
87
|
-
"value": "snap-inline( <length> , [ left | right | near ]? )"
|
|
88
|
-
}
|
|
89
|
-
}
|
|
258
|
+
],
|
|
259
|
+
"atrules": [],
|
|
260
|
+
"selectors": [],
|
|
261
|
+
"values": []
|
|
90
262
|
}
|
package/css-page.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"title": "CSS Paged Media Module Level 3",
|
|
4
4
|
"url": "https://drafts.csswg.org/css-page-3/"
|
|
5
5
|
},
|
|
6
|
-
"properties":
|
|
7
|
-
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
8
|
"name": "page",
|
|
9
9
|
"value": "auto | <custom-ident>",
|
|
10
10
|
"initial": "auto",
|
|
@@ -18,118 +18,313 @@
|
|
|
18
18
|
"page"
|
|
19
19
|
]
|
|
20
20
|
}
|
|
21
|
-
|
|
22
|
-
"atrules":
|
|
23
|
-
|
|
24
|
-
"
|
|
21
|
+
],
|
|
22
|
+
"atrules": [
|
|
23
|
+
{
|
|
24
|
+
"name": "@page",
|
|
25
|
+
"prose": "Authors can specify various aspects of a page box, such as its dimensions, orientation, and margins, within an @page rule. @page rules are allowed wherever rule-sets are allowed. An @page rule consists of the keyword @page, an optional comma-separated list of page selectors and a block of declarations (said to be in the page context). An @page rule can also contain other at-rules, interleaved between declarations. The current level of this specification only allows margin at-rules inside @page.",
|
|
25
26
|
"descriptors": [
|
|
26
27
|
{
|
|
27
28
|
"name": "size",
|
|
28
29
|
"for": "@page",
|
|
29
30
|
"value": "<length>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]",
|
|
30
31
|
"initial": "auto",
|
|
31
|
-
"computedValue": "specified value, with <length>s made absolute."
|
|
32
|
+
"computedValue": "specified value, with <length>s made absolute.",
|
|
33
|
+
"values": [
|
|
34
|
+
{
|
|
35
|
+
"name": "auto",
|
|
36
|
+
"prose": "The page box will be set to a size and orientation chosen by the UA. In the usual case, the page box size and orientation is chosen to match the target media sheet.",
|
|
37
|
+
"type": "value",
|
|
38
|
+
"value": "auto"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "landscape",
|
|
42
|
+
"prose": "Specifies that the page’s content be printed in landscape orientation. The longer sides of the page box are horizontal. If a <page-size> is not specified, the size of the page sheet is chosen by the UA.",
|
|
43
|
+
"type": "value",
|
|
44
|
+
"value": "landscape"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "portrait",
|
|
48
|
+
"prose": "Specifies that the page’s content be printed in portrait orientation. The shorter sides of the page box are horizontal. If a <page-size> is not specified, the size of the page sheet is chosen by the UA.",
|
|
49
|
+
"type": "value",
|
|
50
|
+
"value": "portrait"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "<length>",
|
|
54
|
+
"prose": "The page box will be set to the given absolute dimension(s). If only one length value is specified, it sets both the width and height of the page box (i.e., the box is a square). If two length values are specified, the first establishes the page box width, and the second the page box height. Values in units of em and ex refer to the page context’s font. Negative lengths are illegal.",
|
|
55
|
+
"type": "value",
|
|
56
|
+
"value": "<length>"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "<page-size>",
|
|
60
|
+
"prose": "A page size can be specified using one of the following media names. This is the equivalent of specifying size using length values. The definition of the media names comes from Media Standardized Names [PWGMSN].",
|
|
61
|
+
"type": "type",
|
|
62
|
+
"values": [
|
|
63
|
+
{
|
|
64
|
+
"name": "A5",
|
|
65
|
+
"prose": "Equivalent to the size of ISO A5 media: 148mm wide and 210 mm high.",
|
|
66
|
+
"type": "value",
|
|
67
|
+
"value": "A5"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "A4",
|
|
71
|
+
"prose": "Equivalent to the size of ISO A4 media: 210 mm wide and 297 mm high.",
|
|
72
|
+
"type": "value",
|
|
73
|
+
"value": "A4"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "A3",
|
|
77
|
+
"prose": "Equivalent to the size of ISO A3 media: 297mm wide and 420mm high.",
|
|
78
|
+
"type": "value",
|
|
79
|
+
"value": "A3"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "B5",
|
|
83
|
+
"prose": "Equivalent to the size of ISO B5 media: 176mm wide by 250mm high.",
|
|
84
|
+
"type": "value",
|
|
85
|
+
"value": "B5"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "B4",
|
|
89
|
+
"prose": "Equivalent to the size of ISO B4 media: 250mm wide by 353mm high.",
|
|
90
|
+
"type": "value",
|
|
91
|
+
"value": "B4"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "JIS-B5",
|
|
95
|
+
"prose": "Equivalent to the size of JIS B5 media: 182mm wide by 257mm high.",
|
|
96
|
+
"type": "value",
|
|
97
|
+
"value": "JIS-B5"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "JIS-B4",
|
|
101
|
+
"prose": "Equivalent to the size of JIS B4 media: 257mm wide by 364mm high.",
|
|
102
|
+
"type": "value",
|
|
103
|
+
"value": "JIS-B4"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "letter",
|
|
107
|
+
"prose": "Equivalent to the size of North American letter media: 8.5 inches wide and 11 inches high",
|
|
108
|
+
"type": "value",
|
|
109
|
+
"value": "letter"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "legal",
|
|
113
|
+
"prose": "Equivalent to the size of North American legal: 8.5 inches wide by 14 inches high.",
|
|
114
|
+
"type": "value",
|
|
115
|
+
"value": "legal"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "ledger",
|
|
119
|
+
"prose": "Equivalent to the size of North American ledger: 11 inches wide by 17 inches high.",
|
|
120
|
+
"type": "value",
|
|
121
|
+
"value": "ledger"
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
]
|
|
32
126
|
},
|
|
33
127
|
{
|
|
34
128
|
"name": "page-orientation",
|
|
35
129
|
"for": "@page",
|
|
36
130
|
"value": "upright | rotate-left | rotate-right",
|
|
37
131
|
"initial": "upright",
|
|
38
|
-
"computedValue": "as specified"
|
|
132
|
+
"computedValue": "as specified",
|
|
133
|
+
"values": [
|
|
134
|
+
{
|
|
135
|
+
"name": "upright",
|
|
136
|
+
"prose": "No special orientation is applied; the page is laid out and formatted as normal.",
|
|
137
|
+
"type": "value",
|
|
138
|
+
"value": "upright"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "rotate-left",
|
|
142
|
+
"prose": "After the page has been laid out, if the output medium supports rotation, this value indicates that the page must be displayed rotated a quarter turn to the left (counter-clockwise) of how it was laid out.",
|
|
143
|
+
"type": "value",
|
|
144
|
+
"value": "rotate-left"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "rotate-right",
|
|
148
|
+
"prose": "Same as rotate-left, except the page must be displayed rotated a quarter turn to the right (clockwise) of how it was laid out.",
|
|
149
|
+
"type": "value",
|
|
150
|
+
"value": "rotate-right"
|
|
151
|
+
}
|
|
152
|
+
]
|
|
39
153
|
},
|
|
40
154
|
{
|
|
41
155
|
"name": "marks",
|
|
42
156
|
"for": "@page",
|
|
43
157
|
"value": "none | [ crop || cross ]",
|
|
44
158
|
"initial": "none",
|
|
45
|
-
"computedValue": "as specified"
|
|
159
|
+
"computedValue": "as specified",
|
|
160
|
+
"values": [
|
|
161
|
+
{
|
|
162
|
+
"name": "none",
|
|
163
|
+
"prose": "Specifies that neither crop marks nor registration marks should be printed: the area outside the bleed area will be completely blank.",
|
|
164
|
+
"type": "value",
|
|
165
|
+
"value": "none"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "crop",
|
|
169
|
+
"prose": "Specifies that crop marks should be printed. These are typically short lines outside the page box that are effectively extensions of the page box’s four edges, thereby indicating the precise location of those edges without placing any ink near or within the page box itself.",
|
|
170
|
+
"type": "value",
|
|
171
|
+
"value": "crop"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"name": "cross",
|
|
175
|
+
"prose": "Specifies that registration marks should be printed. These are typically cross-shaped marks outside each edge of the page box used to align sheets of paper during the printing process.",
|
|
176
|
+
"type": "value",
|
|
177
|
+
"value": "cross"
|
|
178
|
+
}
|
|
179
|
+
]
|
|
46
180
|
},
|
|
47
181
|
{
|
|
48
182
|
"name": "bleed",
|
|
49
183
|
"for": "@page",
|
|
50
184
|
"value": "auto | <length>",
|
|
51
185
|
"initial": "auto",
|
|
52
|
-
"computedValue": "as specified"
|
|
186
|
+
"computedValue": "as specified",
|
|
187
|
+
"values": [
|
|
188
|
+
{
|
|
189
|
+
"name": "auto",
|
|
190
|
+
"prose": "Computes to 6pt if marks has crop and to zero otherwise.",
|
|
191
|
+
"type": "value",
|
|
192
|
+
"value": "auto"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "<length>",
|
|
196
|
+
"prose": "Specifies by how far outward, in each direction, the bleed area extends past the page box. Values may be negative, but there may be implementation-specific limits.",
|
|
197
|
+
"type": "value",
|
|
198
|
+
"value": "<length>"
|
|
199
|
+
}
|
|
200
|
+
]
|
|
201
|
+
}
|
|
202
|
+
],
|
|
203
|
+
"value": "@page <page-selector-list>? { <declaration-list> }",
|
|
204
|
+
"values": [
|
|
205
|
+
{
|
|
206
|
+
"name": ":left",
|
|
207
|
+
"prose": "All pages are automatically classified by user agents as either left pages or right pages, based on page progression. The :left and :right pseudo-classes only match left or right pages, respectively.",
|
|
208
|
+
"type": "value",
|
|
209
|
+
"value": ":left"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": ":right",
|
|
213
|
+
"prose": "All pages are automatically classified by user agents as either left pages or right pages, based on page progression. The :left and :right pseudo-classes only match left or right pages, respectively.",
|
|
214
|
+
"type": "value",
|
|
215
|
+
"value": ":right"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"name": ":first",
|
|
219
|
+
"prose": "The :first pseudo-class matches the first printed page of a document.",
|
|
220
|
+
"type": "value",
|
|
221
|
+
"value": ":first"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"name": ":blank",
|
|
225
|
+
"prose": "The :blank pseudo-class matches content-empty pages that appear as a result of forced page breaks.",
|
|
226
|
+
"type": "value",
|
|
227
|
+
"value": ":blank"
|
|
53
228
|
}
|
|
54
229
|
]
|
|
55
230
|
},
|
|
56
|
-
|
|
57
|
-
"
|
|
58
|
-
"descriptors": []
|
|
231
|
+
{
|
|
232
|
+
"name": "@top-left-corner",
|
|
233
|
+
"descriptors": [],
|
|
234
|
+
"value": "@top-left-corner { <declaration-list> };"
|
|
59
235
|
},
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
-
"descriptors": []
|
|
236
|
+
{
|
|
237
|
+
"name": "@top-left",
|
|
238
|
+
"descriptors": [],
|
|
239
|
+
"value": "@top-left { <declaration-list> };"
|
|
63
240
|
},
|
|
64
|
-
|
|
65
|
-
"
|
|
66
|
-
"descriptors": []
|
|
241
|
+
{
|
|
242
|
+
"name": "@top-center",
|
|
243
|
+
"descriptors": [],
|
|
244
|
+
"value": "@top-center { <declaration-list> };"
|
|
67
245
|
},
|
|
68
|
-
|
|
69
|
-
"
|
|
70
|
-
"descriptors": []
|
|
246
|
+
{
|
|
247
|
+
"name": "@top-right",
|
|
248
|
+
"descriptors": [],
|
|
249
|
+
"value": "@top-right { <declaration-list> };"
|
|
71
250
|
},
|
|
72
|
-
|
|
73
|
-
"
|
|
74
|
-
"descriptors": []
|
|
251
|
+
{
|
|
252
|
+
"name": "@top-right-corner",
|
|
253
|
+
"descriptors": [],
|
|
254
|
+
"value": "@top-right-corner { <declaration-list> };"
|
|
75
255
|
},
|
|
76
|
-
|
|
77
|
-
"
|
|
78
|
-
"descriptors": []
|
|
256
|
+
{
|
|
257
|
+
"name": "@bottom-left-corner",
|
|
258
|
+
"descriptors": [],
|
|
259
|
+
"value": "@bottom-left-corner { <declaration-list> };"
|
|
79
260
|
},
|
|
80
|
-
|
|
81
|
-
"
|
|
82
|
-
"descriptors": []
|
|
261
|
+
{
|
|
262
|
+
"name": "@bottom-left",
|
|
263
|
+
"descriptors": [],
|
|
264
|
+
"value": "@bottom-left { <declaration-list> };"
|
|
83
265
|
},
|
|
84
|
-
|
|
85
|
-
"
|
|
86
|
-
"descriptors": []
|
|
266
|
+
{
|
|
267
|
+
"name": "@bottom-center",
|
|
268
|
+
"descriptors": [],
|
|
269
|
+
"value": "@bottom-center { <declaration-list> };"
|
|
87
270
|
},
|
|
88
|
-
|
|
89
|
-
"
|
|
90
|
-
"descriptors": []
|
|
271
|
+
{
|
|
272
|
+
"name": "@bottom-right",
|
|
273
|
+
"descriptors": [],
|
|
274
|
+
"value": "@bottom-right { <declaration-list> };"
|
|
91
275
|
},
|
|
92
|
-
|
|
93
|
-
"
|
|
94
|
-
"descriptors": []
|
|
276
|
+
{
|
|
277
|
+
"name": "@bottom-right-corner",
|
|
278
|
+
"descriptors": [],
|
|
279
|
+
"value": "@bottom-right-corner { <declaration-list> };"
|
|
95
280
|
},
|
|
96
|
-
|
|
97
|
-
"
|
|
98
|
-
"descriptors": []
|
|
281
|
+
{
|
|
282
|
+
"name": "@left-top",
|
|
283
|
+
"descriptors": [],
|
|
284
|
+
"value": "@left-top { <declaration-list> };"
|
|
99
285
|
},
|
|
100
|
-
|
|
101
|
-
"
|
|
102
|
-
"descriptors": []
|
|
286
|
+
{
|
|
287
|
+
"name": "@left-middle",
|
|
288
|
+
"descriptors": [],
|
|
289
|
+
"value": "@left-middle { <declaration-list> };"
|
|
103
290
|
},
|
|
104
|
-
|
|
105
|
-
"
|
|
106
|
-
"descriptors": []
|
|
291
|
+
{
|
|
292
|
+
"name": "@left-bottom",
|
|
293
|
+
"descriptors": [],
|
|
294
|
+
"value": "@left-bottom { <declaration-list> };"
|
|
107
295
|
},
|
|
108
|
-
|
|
109
|
-
"
|
|
110
|
-
"descriptors": []
|
|
296
|
+
{
|
|
297
|
+
"name": "@right-top",
|
|
298
|
+
"descriptors": [],
|
|
299
|
+
"value": "@right-top { <declaration-list> };"
|
|
111
300
|
},
|
|
112
|
-
|
|
113
|
-
"
|
|
114
|
-
"descriptors": []
|
|
301
|
+
{
|
|
302
|
+
"name": "@right-middle",
|
|
303
|
+
"descriptors": [],
|
|
304
|
+
"value": "@right-middle { <declaration-list> };"
|
|
115
305
|
},
|
|
116
|
-
|
|
117
|
-
"
|
|
118
|
-
"descriptors": []
|
|
306
|
+
{
|
|
307
|
+
"name": "@right-bottom",
|
|
308
|
+
"descriptors": [],
|
|
309
|
+
"value": "@right-bottom { <declaration-list> };"
|
|
119
310
|
}
|
|
120
|
-
|
|
121
|
-
"
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
311
|
+
],
|
|
312
|
+
"selectors": [],
|
|
313
|
+
"values": [
|
|
314
|
+
{
|
|
315
|
+
"name": "<page-selector-list>",
|
|
316
|
+
"type": "type",
|
|
126
317
|
"value": "<page-selector>#"
|
|
127
318
|
},
|
|
128
|
-
|
|
319
|
+
{
|
|
320
|
+
"name": "<page-selector>",
|
|
321
|
+
"type": "type",
|
|
129
322
|
"value": "[ <ident-token>? <pseudo-page>* ]!"
|
|
130
323
|
},
|
|
131
|
-
|
|
324
|
+
{
|
|
325
|
+
"name": "<pseudo-page>",
|
|
326
|
+
"type": "type",
|
|
132
327
|
"value": "':' [ left | right | first | blank ]"
|
|
133
328
|
}
|
|
134
|
-
|
|
329
|
+
]
|
|
135
330
|
}
|
package/css-paint-api.json
CHANGED
|
@@ -3,11 +3,14 @@
|
|
|
3
3
|
"title": "CSS Painting API Level 1",
|
|
4
4
|
"url": "https://drafts.css-houdini.org/css-paint-api-1/"
|
|
5
5
|
},
|
|
6
|
-
"properties":
|
|
7
|
-
"atrules":
|
|
8
|
-
"
|
|
9
|
-
|
|
6
|
+
"properties": [],
|
|
7
|
+
"atrules": [],
|
|
8
|
+
"selectors": [],
|
|
9
|
+
"values": [
|
|
10
|
+
{
|
|
11
|
+
"name": "paint()",
|
|
12
|
+
"type": "function",
|
|
10
13
|
"value": "paint( <ident>, <declaration-value>? )"
|
|
11
14
|
}
|
|
12
|
-
|
|
15
|
+
]
|
|
13
16
|
}
|