@webref/css 5.4.4 → 6.0.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 +416 -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 +237 -29
- 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 +263 -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 +192 -67
- package/css-images.json +152 -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 +140 -19
- 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 +62 -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 +136 -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 +436 -42
- package/css-values-5.json +99 -14
- package/css-values.json +653 -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-backgrounds-4.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"title": "CSS Backgrounds and Borders Module Level 4",
|
|
4
4
|
"url": "https://drafts.csswg.org/css-backgrounds-4/"
|
|
5
5
|
},
|
|
6
|
-
"properties":
|
|
7
|
-
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
8
|
"name": "background-position",
|
|
9
9
|
"value": "<position>#",
|
|
10
10
|
"initial": "see individual properties",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"backgroundPosition"
|
|
20
20
|
]
|
|
21
21
|
},
|
|
22
|
-
|
|
22
|
+
{
|
|
23
23
|
"name": "background-position-x",
|
|
24
24
|
"value": "[ center | [ [ left | right | x-start | x-end ]? <length-percentage>? ]! ]#",
|
|
25
25
|
"initial": "0%",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"backgroundPositionX"
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
|
-
|
|
37
|
+
{
|
|
38
38
|
"name": "background-position-y",
|
|
39
39
|
"value": "[ center | [ [ top | bottom | y-start | y-end ]? <length-percentage>? ]! ]#",
|
|
40
40
|
"initial": "0%",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"backgroundPositionY"
|
|
50
50
|
]
|
|
51
51
|
},
|
|
52
|
-
|
|
52
|
+
{
|
|
53
53
|
"name": "background-position-inline",
|
|
54
54
|
"value": "[ center | [ start | end ]? <length-percentage>? ]#",
|
|
55
55
|
"initial": "0%",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"backgroundPositionInline"
|
|
65
65
|
]
|
|
66
66
|
},
|
|
67
|
-
|
|
67
|
+
{
|
|
68
68
|
"name": "background-position-block",
|
|
69
69
|
"value": "[ center | [ start | end ]? <length-percentage>? ]#",
|
|
70
70
|
"initial": "0%",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"backgroundPositionBlock"
|
|
80
80
|
]
|
|
81
81
|
},
|
|
82
|
-
|
|
82
|
+
{
|
|
83
83
|
"name": "background-clip",
|
|
84
84
|
"value": "<bg-clip>#",
|
|
85
85
|
"initial": "border-box",
|
|
@@ -94,9 +94,9 @@
|
|
|
94
94
|
"backgroundClip"
|
|
95
95
|
]
|
|
96
96
|
},
|
|
97
|
-
|
|
97
|
+
{
|
|
98
98
|
"name": "border-top-color",
|
|
99
|
-
"value": "<color> | <
|
|
99
|
+
"value": "<color> | <image-1D>",
|
|
100
100
|
"initial": "currentcolor",
|
|
101
101
|
"appliesTo": "all elements",
|
|
102
102
|
"inherited": "no",
|
|
@@ -109,9 +109,9 @@
|
|
|
109
109
|
"borderTopColor"
|
|
110
110
|
]
|
|
111
111
|
},
|
|
112
|
-
|
|
112
|
+
{
|
|
113
113
|
"name": "border-right-color",
|
|
114
|
-
"value": "<color> | <
|
|
114
|
+
"value": "<color> | <image-1D>",
|
|
115
115
|
"initial": "currentcolor",
|
|
116
116
|
"appliesTo": "all elements",
|
|
117
117
|
"inherited": "no",
|
|
@@ -124,9 +124,9 @@
|
|
|
124
124
|
"borderRightColor"
|
|
125
125
|
]
|
|
126
126
|
},
|
|
127
|
-
|
|
127
|
+
{
|
|
128
128
|
"name": "border-bottom-color",
|
|
129
|
-
"value": "<color> | <
|
|
129
|
+
"value": "<color> | <image-1D>",
|
|
130
130
|
"initial": "currentcolor",
|
|
131
131
|
"appliesTo": "all elements",
|
|
132
132
|
"inherited": "no",
|
|
@@ -139,9 +139,9 @@
|
|
|
139
139
|
"borderBottomColor"
|
|
140
140
|
]
|
|
141
141
|
},
|
|
142
|
-
|
|
142
|
+
{
|
|
143
143
|
"name": "border-left-color",
|
|
144
|
-
"value": "<color> | <
|
|
144
|
+
"value": "<color> | <image-1D>",
|
|
145
145
|
"initial": "currentcolor",
|
|
146
146
|
"appliesTo": "all elements",
|
|
147
147
|
"inherited": "no",
|
|
@@ -154,9 +154,9 @@
|
|
|
154
154
|
"borderLeftColor"
|
|
155
155
|
]
|
|
156
156
|
},
|
|
157
|
-
|
|
157
|
+
{
|
|
158
158
|
"name": "border-color",
|
|
159
|
-
"value": "[ <color> | <
|
|
159
|
+
"value": "[ <color> | <image-1D> ]{1,4}",
|
|
160
160
|
"initial": "see individual properties",
|
|
161
161
|
"appliesTo": "see individual properties",
|
|
162
162
|
"inherited": "see individual properties",
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
"borderColor"
|
|
170
170
|
]
|
|
171
171
|
},
|
|
172
|
-
|
|
172
|
+
{
|
|
173
173
|
"name": "border-radius",
|
|
174
174
|
"value": "<length-percentage [0,∞]>{1,4} [ / <length-percentage [0,∞]>{1,4} ]?",
|
|
175
175
|
"initial": "0",
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
"borderRadius"
|
|
185
185
|
]
|
|
186
186
|
},
|
|
187
|
-
|
|
187
|
+
{
|
|
188
188
|
"name": "corner-shape",
|
|
189
189
|
"value": "[ round | angle ]{1,4}",
|
|
190
190
|
"initial": "round",
|
|
@@ -194,12 +194,26 @@
|
|
|
194
194
|
"computedValue": "as specified",
|
|
195
195
|
"canonicalOrder": "per grammar",
|
|
196
196
|
"animationType": "discrete",
|
|
197
|
+
"values": [
|
|
198
|
+
{
|
|
199
|
+
"name": "round",
|
|
200
|
+
"prose": "Border radii define a convex elliptical curve at the corner.",
|
|
201
|
+
"type": "value",
|
|
202
|
+
"value": "round"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"name": "angle",
|
|
206
|
+
"prose": "Border radii define a diagonal slice at the corner.",
|
|
207
|
+
"type": "value",
|
|
208
|
+
"value": "angle"
|
|
209
|
+
}
|
|
210
|
+
],
|
|
197
211
|
"styleDeclaration": [
|
|
198
212
|
"corner-shape",
|
|
199
213
|
"cornerShape"
|
|
200
214
|
]
|
|
201
215
|
},
|
|
202
|
-
|
|
216
|
+
{
|
|
203
217
|
"name": "corners",
|
|
204
218
|
"value": "<'corner-shape'> || <'border-radius'>",
|
|
205
219
|
"initial": "see individual properties",
|
|
@@ -213,7 +227,7 @@
|
|
|
213
227
|
"corners"
|
|
214
228
|
]
|
|
215
229
|
},
|
|
216
|
-
|
|
230
|
+
{
|
|
217
231
|
"name": "border-limit",
|
|
218
232
|
"value": "all | [ sides | corners ] <length-percentage [0,∞]>? | [ top | right | bottom | left ] <length-percentage [0,∞]>",
|
|
219
233
|
"initial": "round",
|
|
@@ -223,12 +237,50 @@
|
|
|
223
237
|
"computedValue": "as specified",
|
|
224
238
|
"canonicalOrder": "per grammar",
|
|
225
239
|
"animationType": "discrete",
|
|
240
|
+
"values": [
|
|
241
|
+
{
|
|
242
|
+
"name": "sides",
|
|
243
|
+
"prose": "The sides are drawn up to but not including the corners (as defined by the border radii). A length or percentage is measured from the center of each side: 50% draws the middle 50% of the border; by default the entire side is drawn.",
|
|
244
|
+
"type": "value",
|
|
245
|
+
"value": "sides"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"name": "corners",
|
|
249
|
+
"prose": "The corners are drawn plus the specified distance into the sides if specified. A length is measured from the closest edge of the corner area. A percentage is measured from the absolute corner of the border box.",
|
|
250
|
+
"type": "value",
|
|
251
|
+
"value": "corners"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"name": "left",
|
|
255
|
+
"prose": "For the left and right (vertical) sides, draws the entire side and corner. For the top and bottom (horizontal) sides, draws the left/right portion, as specified. Distances are measured as for corners.",
|
|
256
|
+
"type": "value",
|
|
257
|
+
"value": "left"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "right",
|
|
261
|
+
"prose": "For the left and right (vertical) sides, draws the entire side and corner. For the top and bottom (horizontal) sides, draws the left/right portion, as specified. Distances are measured as for corners.",
|
|
262
|
+
"type": "value",
|
|
263
|
+
"value": "right"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"name": "top",
|
|
267
|
+
"prose": "For the top and bottom (horizontal) sides, draws the entire side and corner. For the left and right (vertical) sides, draws the top/bottom portion, as specified. Distances are measured as for corners.",
|
|
268
|
+
"type": "value",
|
|
269
|
+
"value": "top"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"name": "bottom",
|
|
273
|
+
"prose": "For the top and bottom (horizontal) sides, draws the entire side and corner. For the left and right (vertical) sides, draws the top/bottom portion, as specified. Distances are measured as for corners.",
|
|
274
|
+
"type": "value",
|
|
275
|
+
"value": "bottom"
|
|
276
|
+
}
|
|
277
|
+
],
|
|
226
278
|
"styleDeclaration": [
|
|
227
279
|
"border-limit",
|
|
228
280
|
"borderLimit"
|
|
229
281
|
]
|
|
230
282
|
},
|
|
231
|
-
|
|
283
|
+
{
|
|
232
284
|
"name": "border-clip",
|
|
233
285
|
"value": "normal | [ <length-percentage [0,∞]> | <flex> ]+",
|
|
234
286
|
"initial": "normal",
|
|
@@ -243,7 +295,7 @@
|
|
|
243
295
|
"borderClip"
|
|
244
296
|
]
|
|
245
297
|
},
|
|
246
|
-
|
|
298
|
+
{
|
|
247
299
|
"name": "border-clip-top",
|
|
248
300
|
"value": "normal | [ <length-percentage [0,∞]> | <flex> ]+",
|
|
249
301
|
"initial": "normal",
|
|
@@ -258,7 +310,7 @@
|
|
|
258
310
|
"borderClipTop"
|
|
259
311
|
]
|
|
260
312
|
},
|
|
261
|
-
|
|
313
|
+
{
|
|
262
314
|
"name": "border-clip-right",
|
|
263
315
|
"value": "normal | [ <length-percentage [0,∞]> | <flex> ]+",
|
|
264
316
|
"initial": "normal",
|
|
@@ -273,7 +325,7 @@
|
|
|
273
325
|
"borderClipRight"
|
|
274
326
|
]
|
|
275
327
|
},
|
|
276
|
-
|
|
328
|
+
{
|
|
277
329
|
"name": "border-clip-bottom",
|
|
278
330
|
"value": "normal | [ <length-percentage [0,∞]> | <flex> ]+",
|
|
279
331
|
"initial": "normal",
|
|
@@ -288,7 +340,7 @@
|
|
|
288
340
|
"borderClipBottom"
|
|
289
341
|
]
|
|
290
342
|
},
|
|
291
|
-
|
|
343
|
+
{
|
|
292
344
|
"name": "border-clip-left",
|
|
293
345
|
"value": "normal | [ <length-percentage [0,∞]> | <flex> ]+",
|
|
294
346
|
"initial": "normal",
|
|
@@ -303,11 +355,34 @@
|
|
|
303
355
|
"borderClipLeft"
|
|
304
356
|
]
|
|
305
357
|
}
|
|
306
|
-
|
|
307
|
-
"atrules":
|
|
308
|
-
"
|
|
309
|
-
|
|
310
|
-
|
|
358
|
+
],
|
|
359
|
+
"atrules": [],
|
|
360
|
+
"selectors": [],
|
|
361
|
+
"values": [
|
|
362
|
+
{
|
|
363
|
+
"name": "<bg-clip>",
|
|
364
|
+
"type": "type",
|
|
365
|
+
"value": "<box> | border | text",
|
|
366
|
+
"values": [
|
|
367
|
+
{
|
|
368
|
+
"name": "<box>",
|
|
369
|
+
"prose": "The background is painted within (clipped to) the specified box of the element.",
|
|
370
|
+
"type": "value",
|
|
371
|
+
"value": "<box>"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"name": "text",
|
|
375
|
+
"prose": "The background is painted within (clipped to) the intersection of the border box and the geometry of the text in the element and its in-flow and floated descendants.",
|
|
376
|
+
"type": "value",
|
|
377
|
+
"value": "text"
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"name": "border",
|
|
381
|
+
"prose": "The background is clipped to the area painted by the border, taking border-width and border-style into account but ignoring any transparency introduced by border-color.",
|
|
382
|
+
"type": "value",
|
|
383
|
+
"value": "border"
|
|
384
|
+
}
|
|
385
|
+
]
|
|
311
386
|
}
|
|
312
|
-
|
|
387
|
+
]
|
|
313
388
|
}
|