@webref/css 6.25.1 → 6.25.2
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/css-anchor-position.json +9 -38
- package/css-cascade-6.json +2 -2
- package/css-color-5.json +1 -1
- package/css-color.json +1 -1
- package/css-conditional-5.json +48 -3
- package/css-sizing-4.json +21 -40
- package/fill-stroke.json +1 -1
- package/package.json +1 -1
package/css-anchor-position.json
CHANGED
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
{
|
|
79
79
|
"name": "position-anchor",
|
|
80
80
|
"href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-position-anchor",
|
|
81
|
-
"value": "normal | none | auto | <anchor-name>",
|
|
81
|
+
"value": "normal | none | auto | <anchor-name> | match-parent",
|
|
82
82
|
"initial": "normal",
|
|
83
83
|
"appliesTo": "absolutely positioned boxes",
|
|
84
84
|
"inherited": "no",
|
|
@@ -114,6 +114,13 @@
|
|
|
114
114
|
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-anchor-anchor-name",
|
|
115
115
|
"type": "value",
|
|
116
116
|
"value": "<anchor-name>"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "match-parent",
|
|
120
|
+
"prose": "Uses the same default anchor element as the parent—or originating element, if this is a pseudo-element—if any, and if that would be an acceptable anchor element. Otherwise, the box has no default anchor element.",
|
|
121
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-anchor-match-parent",
|
|
122
|
+
"type": "value",
|
|
123
|
+
"value": "match-parent"
|
|
117
124
|
}
|
|
118
125
|
],
|
|
119
126
|
"styleDeclaration": [
|
|
@@ -131,7 +138,7 @@
|
|
|
131
138
|
"percentages": "n/a",
|
|
132
139
|
"computedValue": "the keyword none or a pair of keywords, see § 3.1.3 Computed Value and Serialization of <position-area>",
|
|
133
140
|
"canonicalOrder": "per grammar",
|
|
134
|
-
"animationType": "
|
|
141
|
+
"animationType": "discrete",
|
|
135
142
|
"values": [
|
|
136
143
|
{
|
|
137
144
|
"name": "none",
|
|
@@ -217,42 +224,6 @@
|
|
|
217
224
|
"alignSelf"
|
|
218
225
|
]
|
|
219
226
|
},
|
|
220
|
-
{
|
|
221
|
-
"name": "justify-items",
|
|
222
|
-
"href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-justify-items",
|
|
223
|
-
"newValues": "anchor-center",
|
|
224
|
-
"values": [
|
|
225
|
-
{
|
|
226
|
-
"name": "anchor-center",
|
|
227
|
-
"prose": "The new anchor-center value makes this case extremely simple: if the positioned box has a default anchor box, then it is centered (insofar as possible) over the default anchor box in the relevant axis. Additionally:",
|
|
228
|
-
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-justify-self-anchor-center",
|
|
229
|
-
"type": "value",
|
|
230
|
-
"value": "anchor-center"
|
|
231
|
-
}
|
|
232
|
-
],
|
|
233
|
-
"styleDeclaration": [
|
|
234
|
-
"justify-items",
|
|
235
|
-
"justifyItems"
|
|
236
|
-
]
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
"name": "align-items",
|
|
240
|
-
"href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-align-items",
|
|
241
|
-
"newValues": "anchor-center",
|
|
242
|
-
"values": [
|
|
243
|
-
{
|
|
244
|
-
"name": "anchor-center",
|
|
245
|
-
"prose": "The new anchor-center value makes this case extremely simple: if the positioned box has a default anchor box, then it is centered (insofar as possible) over the default anchor box in the relevant axis. Additionally:",
|
|
246
|
-
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-justify-self-anchor-center",
|
|
247
|
-
"type": "value",
|
|
248
|
-
"value": "anchor-center"
|
|
249
|
-
}
|
|
250
|
-
],
|
|
251
|
-
"styleDeclaration": [
|
|
252
|
-
"align-items",
|
|
253
|
-
"alignItems"
|
|
254
|
-
]
|
|
255
|
-
},
|
|
256
227
|
{
|
|
257
228
|
"name": "width",
|
|
258
229
|
"newValues": "<anchor-size()>",
|
package/css-cascade-6.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"prose": "Scoped styles are described in CSS using the @scope block at-rule, which declares a scoping root and optional scoping limits associated with a set of style rules.",
|
|
18
18
|
"href": "https://drafts.csswg.org/css-cascade-6/#at-ruledef-scope",
|
|
19
19
|
"descriptors": [],
|
|
20
|
-
"value": "@scope <scope-boundaries
|
|
20
|
+
"value": "@scope <scope-boundaries>? { <block-contents> }"
|
|
21
21
|
}
|
|
22
22
|
],
|
|
23
23
|
"selectors": [],
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"name": "<scope-boundaries>",
|
|
39
39
|
"href": "https://drafts.csswg.org/css-cascade-6/#typedef-scope-boundaries",
|
|
40
40
|
"type": "type",
|
|
41
|
-
"value": "[ ( <scope-start> ) ]? [ to ( <scope-end> ) ]?"
|
|
41
|
+
"value": "[ [ ( <scope-start> ) ]? [ to ( <scope-end> ) ]? ]!"
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
"name": "<scope-start>",
|
package/css-color-5.json
CHANGED
|
@@ -426,7 +426,7 @@
|
|
|
426
426
|
"name": "<light-dark-image>",
|
|
427
427
|
"href": "https://drafts.csswg.org/css-color-5/#typedef-light-dark-image",
|
|
428
428
|
"type": "type",
|
|
429
|
-
"value": "light-dark(<image> | none, <image> | none)"
|
|
429
|
+
"value": "light-dark( [ <image> | none ] , [ <image> | none ] )"
|
|
430
430
|
},
|
|
431
431
|
{
|
|
432
432
|
"name": "contrast-color()",
|
package/css-color.json
CHANGED
|
@@ -1197,7 +1197,7 @@
|
|
|
1197
1197
|
},
|
|
1198
1198
|
{
|
|
1199
1199
|
"name": "<system-color>",
|
|
1200
|
-
"prose": "However, in forced colors mode, most colors on the page are forced into a restricted, user-chosen palette. The <system-color> keywords expose these user-chosen colors so that the rest of the page can integrate with this restricted palette.",
|
|
1200
|
+
"prose": "However, in forced colors mode, most colors on the page are forced into a restricted, user-chosen palette, see CSS Color Adjustment 1 § 5.2 Forced Colors Mode Color Palettes. The <system-color> keywords expose these user-chosen colors so that the rest of the page can integrate with this restricted palette.",
|
|
1201
1201
|
"href": "https://drafts.csswg.org/css-color-4/#typedef-system-color",
|
|
1202
1202
|
"type": "type",
|
|
1203
1203
|
"values": [
|
package/css-conditional-5.json
CHANGED
|
@@ -552,6 +552,18 @@
|
|
|
552
552
|
"type": "type",
|
|
553
553
|
"value": "named-feature( <ident> )"
|
|
554
554
|
},
|
|
555
|
+
{
|
|
556
|
+
"name": "<supports-env-fn>",
|
|
557
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#typedef-supports-env-fn",
|
|
558
|
+
"type": "type",
|
|
559
|
+
"value": "env( <ident> )"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"name": "<declaration>",
|
|
563
|
+
"prose": "<declaration> here matches anything that would be successfully parsed by consume a declaration, ignoring the context-validation check at the end of that algorithm. Notably, this includes a trailing !important, which is valid but ignored for the purpose of @supports.",
|
|
564
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#typedef-declaration",
|
|
565
|
+
"type": "type"
|
|
566
|
+
},
|
|
555
567
|
{
|
|
556
568
|
"name": "<boolean-condition>",
|
|
557
569
|
"prose": "Where <boolean-condition> is a boolean algebra a la Media Queries 4 § 3 Syntax, but with media() and supports() functions as leaves.",
|
|
@@ -681,13 +693,46 @@
|
|
|
681
693
|
],
|
|
682
694
|
"warnings": [
|
|
683
695
|
{
|
|
684
|
-
"msg": "
|
|
685
|
-
"name": "
|
|
686
|
-
"value": "
|
|
696
|
+
"msg": "Dangling value",
|
|
697
|
+
"name": "font-tech()",
|
|
698
|
+
"value": "font-tech( <font-tech> )",
|
|
699
|
+
"pureSyntax": false,
|
|
700
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#funcdef-supports-font-tech",
|
|
701
|
+
"type": "function",
|
|
702
|
+
"for": "@supports"
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"msg": "Dangling value",
|
|
706
|
+
"name": "font-format()",
|
|
707
|
+
"value": "font-format( <font-format> )",
|
|
708
|
+
"pureSyntax": false,
|
|
709
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#funcdef-supports-font-format",
|
|
710
|
+
"type": "function",
|
|
711
|
+
"for": "@supports"
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"msg": "Dangling value",
|
|
715
|
+
"name": "at-rule()",
|
|
716
|
+
"value": "at-rule( <at-keyword-token> )",
|
|
717
|
+
"pureSyntax": false,
|
|
718
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#funcdef-supports-at-rule",
|
|
719
|
+
"type": "function",
|
|
720
|
+
"for": "@supports"
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"msg": "Dangling value",
|
|
724
|
+
"name": "named-feature()",
|
|
725
|
+
"value": "named-feature( <ident> )",
|
|
726
|
+
"pureSyntax": false,
|
|
727
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#funcdef-supports-named-feature",
|
|
728
|
+
"type": "function",
|
|
729
|
+
"for": "@supports"
|
|
687
730
|
},
|
|
688
731
|
{
|
|
689
732
|
"msg": "Dangling value",
|
|
690
733
|
"name": "env()",
|
|
734
|
+
"value": "env( <ident> )",
|
|
735
|
+
"pureSyntax": false,
|
|
691
736
|
"href": "https://drafts.csswg.org/css-conditional-5/#funcdef-supports-env",
|
|
692
737
|
"type": "function",
|
|
693
738
|
"for": "@supports"
|
package/css-sizing-4.json
CHANGED
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
{
|
|
231
231
|
"name": "contain-intrinsic-width",
|
|
232
232
|
"href": "https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-width",
|
|
233
|
-
"value": "
|
|
233
|
+
"value": "auto? [ none | <length [0,∞]> ]",
|
|
234
234
|
"initial": "none",
|
|
235
235
|
"appliesTo": "elements with size containment",
|
|
236
236
|
"inherited": "no",
|
|
@@ -260,13 +260,6 @@
|
|
|
260
260
|
"href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-auto",
|
|
261
261
|
"type": "value",
|
|
262
262
|
"value": "auto"
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
"name": "from-element",
|
|
266
|
-
"prose": "If from-element is specified and the element is a replaced element with an internal layout intrinsic size, its explicit intrinsic inner size in the corresponding axis is that size. Should this apply even when contain:layout isn’t specified? The name needs further discussion.",
|
|
267
|
-
"href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-from-element",
|
|
268
|
-
"type": "value",
|
|
269
|
-
"value": "from-element"
|
|
270
263
|
}
|
|
271
264
|
],
|
|
272
265
|
"styleDeclaration": [
|
|
@@ -277,7 +270,7 @@
|
|
|
277
270
|
{
|
|
278
271
|
"name": "contain-intrinsic-height",
|
|
279
272
|
"href": "https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-height",
|
|
280
|
-
"value": "
|
|
273
|
+
"value": "auto? [ none | <length [0,∞]> ]",
|
|
281
274
|
"initial": "none",
|
|
282
275
|
"appliesTo": "elements with size containment",
|
|
283
276
|
"inherited": "no",
|
|
@@ -307,13 +300,6 @@
|
|
|
307
300
|
"href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-auto",
|
|
308
301
|
"type": "value",
|
|
309
302
|
"value": "auto"
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
"name": "from-element",
|
|
313
|
-
"prose": "If from-element is specified and the element is a replaced element with an internal layout intrinsic size, its explicit intrinsic inner size in the corresponding axis is that size. Should this apply even when contain:layout isn’t specified? The name needs further discussion.",
|
|
314
|
-
"href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-from-element",
|
|
315
|
-
"type": "value",
|
|
316
|
-
"value": "from-element"
|
|
317
303
|
}
|
|
318
304
|
],
|
|
319
305
|
"styleDeclaration": [
|
|
@@ -324,7 +310,7 @@
|
|
|
324
310
|
{
|
|
325
311
|
"name": "contain-intrinsic-block-size",
|
|
326
312
|
"href": "https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-block-size",
|
|
327
|
-
"value": "
|
|
313
|
+
"value": "auto? [ none | <length [0,∞]> ]",
|
|
328
314
|
"initial": "none",
|
|
329
315
|
"appliesTo": "elements with size containment",
|
|
330
316
|
"inherited": "no",
|
|
@@ -354,13 +340,6 @@
|
|
|
354
340
|
"href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-auto",
|
|
355
341
|
"type": "value",
|
|
356
342
|
"value": "auto"
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"name": "from-element",
|
|
360
|
-
"prose": "If from-element is specified and the element is a replaced element with an internal layout intrinsic size, its explicit intrinsic inner size in the corresponding axis is that size. Should this apply even when contain:layout isn’t specified? The name needs further discussion.",
|
|
361
|
-
"href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-from-element",
|
|
362
|
-
"type": "value",
|
|
363
|
-
"value": "from-element"
|
|
364
343
|
}
|
|
365
344
|
],
|
|
366
345
|
"styleDeclaration": [
|
|
@@ -371,7 +350,7 @@
|
|
|
371
350
|
{
|
|
372
351
|
"name": "contain-intrinsic-inline-size",
|
|
373
352
|
"href": "https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-inline-size",
|
|
374
|
-
"value": "
|
|
353
|
+
"value": "auto? [ none | <length [0,∞]> ]",
|
|
375
354
|
"initial": "none",
|
|
376
355
|
"appliesTo": "elements with size containment",
|
|
377
356
|
"inherited": "no",
|
|
@@ -401,13 +380,6 @@
|
|
|
401
380
|
"href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-auto",
|
|
402
381
|
"type": "value",
|
|
403
382
|
"value": "auto"
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
"name": "from-element",
|
|
407
|
-
"prose": "If from-element is specified and the element is a replaced element with an internal layout intrinsic size, its explicit intrinsic inner size in the corresponding axis is that size. Should this apply even when contain:layout isn’t specified? The name needs further discussion.",
|
|
408
|
-
"href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-from-element",
|
|
409
|
-
"type": "value",
|
|
410
|
-
"value": "from-element"
|
|
411
383
|
}
|
|
412
384
|
],
|
|
413
385
|
"styleDeclaration": [
|
|
@@ -418,7 +390,7 @@
|
|
|
418
390
|
{
|
|
419
391
|
"name": "contain-intrinsic-size",
|
|
420
392
|
"href": "https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-size",
|
|
421
|
-
"value": "[
|
|
393
|
+
"value": "[ auto? [ none | <length [0,∞]> ] ]{1,2}",
|
|
422
394
|
"initial": "see individual properties",
|
|
423
395
|
"appliesTo": "see individual properties",
|
|
424
396
|
"inherited": "see individual properties",
|
|
@@ -447,13 +419,6 @@
|
|
|
447
419
|
"href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-auto",
|
|
448
420
|
"type": "value",
|
|
449
421
|
"value": "auto"
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
"name": "from-element",
|
|
453
|
-
"prose": "If from-element is specified and the element is a replaced element with an internal layout intrinsic size, its explicit intrinsic inner size in the corresponding axis is that size. Should this apply even when contain:layout isn’t specified? The name needs further discussion.",
|
|
454
|
-
"href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-from-element",
|
|
455
|
-
"type": "value",
|
|
456
|
-
"value": "from-element"
|
|
457
422
|
}
|
|
458
423
|
],
|
|
459
424
|
"styleDeclaration": [
|
|
@@ -465,6 +430,22 @@
|
|
|
465
430
|
"contain-intrinsic-height"
|
|
466
431
|
]
|
|
467
432
|
},
|
|
433
|
+
{
|
|
434
|
+
"name": "frame-sizing",
|
|
435
|
+
"href": "https://drafts.csswg.org/css-sizing-4/#propdef-frame-sizing",
|
|
436
|
+
"value": "auto | content-width | content-height | content-block-size | content-inline-size",
|
|
437
|
+
"initial": "auto",
|
|
438
|
+
"appliesTo": "iframe elements",
|
|
439
|
+
"inherited": "no",
|
|
440
|
+
"percentages": "n/a",
|
|
441
|
+
"computedValue": "specified keyword",
|
|
442
|
+
"canonicalOrder": "per grammar",
|
|
443
|
+
"animationType": "discrete",
|
|
444
|
+
"styleDeclaration": [
|
|
445
|
+
"frame-sizing",
|
|
446
|
+
"frameSizing"
|
|
447
|
+
]
|
|
448
|
+
},
|
|
468
449
|
{
|
|
469
450
|
"name": "min-intrinsic-sizing",
|
|
470
451
|
"href": "https://drafts.csswg.org/css-sizing-4/#propdef-min-intrinsic-sizing",
|
package/fill-stroke.json
CHANGED
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
{
|
|
221
221
|
"name": "stroke-width",
|
|
222
222
|
"href": "https://drafts.csswg.org/fill-stroke-3/#propdef-stroke-width",
|
|
223
|
-
"value": "[<length-percentage> | <number>]#",
|
|
223
|
+
"value": "[ <length-percentage> | <line-width> | <number> ]#",
|
|
224
224
|
"initial": "1px",
|
|
225
225
|
"appliesTo": "text and SVG shapes",
|
|
226
226
|
"inherited": "yes",
|