@webref/css 8.5.1 → 8.5.3

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.
Files changed (3) hide show
  1. package/README.md +10 -1
  2. package/css.json +92 -67
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -4,6 +4,15 @@ This package contains a consolidated list of CSS features defined across specs,
4
4
 
5
5
  **Important:** If you're migrating from version 6, see the [changelog](https://github.com/w3c/webref/blob/main/packages/css/CHANGELOG.md) for "How to upgrade" considerations.
6
6
 
7
+ ## Table of Contents
8
+
9
+ - [Usage](#usage)
10
+ - [CSS features](#css-features)
11
+ - [Feature keys](#feature-keys)
12
+ - [Migrating from `mdn/data`](#migrating-from-mdndata)
13
+ - [Guarantees](#guarantees)
14
+
15
+
7
16
  ## Usage
8
17
 
9
18
  Two async methods are exposed: `listAll()` and `index()`. They both resolve with an object that lists CSS features by feature type: `atrules`, `functions`, `properties`, `selectors` and `types`.
@@ -354,7 +363,7 @@ When a property is extended with new values in different specs, the `syntax` key
354
363
  The `type` key is only set for properties, when value is not empty. It maps to the [Media feature type](https://www.w3.org/TR/mediaqueries/#mq-ranges) part of a CSS property definition. Value should be one of `discrete` or `range`, but data may contain additional values depending on what specs actually define.
355
364
 
356
365
 
357
- ### Migrating from `mdn/data`
366
+ ## Migrating from `mdn/data`
358
367
 
359
368
  The structure of the consolidated list of CSS features aligns with CSS data in [`mdn/data`](https://github.com/mdn/data). If you use the `index()` method, the `@webref/css` package can *almost* serve as a drop-in replacement for the `mdn/data` package **for syntaxes**, with the following structural nuances:
360
369
 
package/css.json CHANGED
@@ -1018,7 +1018,7 @@
1018
1018
  "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.",
1019
1019
  "href": "https://drafts.csswg.org/css-cascade-6/#at-ruledef-scope",
1020
1020
  "descriptors": [],
1021
- "syntax": "@scope <scope-boundaries> { <block-contents> }",
1021
+ "syntax": "@scope <scope-boundaries>? { <block-contents> }",
1022
1022
  "extended": []
1023
1023
  },
1024
1024
  {
@@ -3290,10 +3290,8 @@
3290
3290
  "align-items",
3291
3291
  "alignItems"
3292
3292
  ],
3293
- "syntax": "normal | stretch | <baseline-position> | <overflow-position>? <self-position> | anchor-center",
3294
- "extended": [
3295
- "https://drafts.csswg.org/css-anchor-position-1/#propdef-align-items"
3296
- ]
3293
+ "syntax": "normal | stretch | <baseline-position> | <overflow-position>? <self-position>",
3294
+ "extended": []
3297
3295
  },
3298
3296
  {
3299
3297
  "name": "align-self",
@@ -6206,7 +6204,7 @@
6206
6204
  "caret-color",
6207
6205
  "caretColor"
6208
6206
  ],
6209
- "syntax": "auto | <color>",
6207
+ "syntax": "auto | <color> [auto | <color>]?",
6210
6208
  "extended": []
6211
6209
  },
6212
6210
  {
@@ -6333,7 +6331,7 @@
6333
6331
  },
6334
6332
  {
6335
6333
  "name": "color-interpolation",
6336
- "href": "https://svgwg.org/svg2-draft/painting.html#ColorInterpolationProperty",
6334
+ "href": "https://w3c.github.io/svgwg/svg2-draft/painting.html#ColorInterpolationProperty",
6337
6335
  "initial": "sRGB",
6338
6336
  "appliesTo": "container elements, graphics elements, gradient elements, ‘use’ and ‘animate’",
6339
6337
  "inherited": "yes",
@@ -6702,8 +6700,8 @@
6702
6700
  {
6703
6701
  "name": "column-rule-visibility-items",
6704
6702
  "href": "https://drafts.csswg.org/css-gaps-1/#propdef-column-rule-visibility-items",
6705
- "initial": "all",
6706
- "appliesTo": "grid containers, and multicol containers",
6703
+ "initial": "normal",
6704
+ "appliesTo": "grid containers and multicol containers",
6707
6705
  "inherited": "no",
6708
6706
  "percentages": "n/a",
6709
6707
  "computedValue": "as specified",
@@ -6713,7 +6711,7 @@
6713
6711
  "column-rule-visibility-items",
6714
6712
  "columnRuleVisibilityItems"
6715
6713
  ],
6716
- "syntax": "all | around | between",
6714
+ "syntax": "all | around | between | normal",
6717
6715
  "extended": []
6718
6716
  },
6719
6717
  {
@@ -6838,7 +6836,7 @@
6838
6836
  "contain-intrinsic-block-size",
6839
6837
  "containIntrinsicBlockSize"
6840
6838
  ],
6841
- "syntax": "[ auto | from-element ]? [ none | <length [0,∞]> ]",
6839
+ "syntax": "auto? [ none | <length [0,∞]> ]",
6842
6840
  "extended": []
6843
6841
  },
6844
6842
  {
@@ -6856,7 +6854,7 @@
6856
6854
  "contain-intrinsic-height",
6857
6855
  "containIntrinsicHeight"
6858
6856
  ],
6859
- "syntax": "[ auto | from-element ]? [ none | <length [0,∞]> ]",
6857
+ "syntax": "auto? [ none | <length [0,∞]> ]",
6860
6858
  "extended": []
6861
6859
  },
6862
6860
  {
@@ -6874,7 +6872,7 @@
6874
6872
  "contain-intrinsic-inline-size",
6875
6873
  "containIntrinsicInlineSize"
6876
6874
  ],
6877
- "syntax": "[ auto | from-element ]? [ none | <length [0,∞]> ]",
6875
+ "syntax": "auto? [ none | <length [0,∞]> ]",
6878
6876
  "extended": []
6879
6877
  },
6880
6878
  {
@@ -6895,7 +6893,7 @@
6895
6893
  "contain-intrinsic-width",
6896
6894
  "contain-intrinsic-height"
6897
6895
  ],
6898
- "syntax": "[ [ auto | from-element ]? [ none | <length [0,∞]> ] ]{1,2}",
6896
+ "syntax": "[ auto? [ none | <length [0,∞]> ] ]{1,2}",
6899
6897
  "extended": []
6900
6898
  },
6901
6899
  {
@@ -6913,7 +6911,7 @@
6913
6911
  "contain-intrinsic-width",
6914
6912
  "containIntrinsicWidth"
6915
6913
  ],
6916
- "syntax": "[ auto | from-element ]? [ none | <length [0,∞]> ]",
6914
+ "syntax": "auto? [ none | <length [0,∞]> ]",
6917
6915
  "extended": []
6918
6916
  },
6919
6917
  {
@@ -7854,7 +7852,7 @@
7854
7852
  },
7855
7853
  {
7856
7854
  "name": "cx",
7857
- "href": "https://svgwg.org/svg2-draft/geometry.html#CxProperty",
7855
+ "href": "https://w3c.github.io/svgwg/svg2-draft/geometry.html#CxProperty",
7858
7856
  "initial": "0",
7859
7857
  "appliesTo": "‘circle’ and ‘ellipse’ elements",
7860
7858
  "inherited": "no",
@@ -7870,7 +7868,7 @@
7870
7868
  },
7871
7869
  {
7872
7870
  "name": "cy",
7873
- "href": "https://svgwg.org/svg2-draft/geometry.html#CyProperty",
7871
+ "href": "https://w3c.github.io/svgwg/svg2-draft/geometry.html#CyProperty",
7874
7872
  "initial": "0",
7875
7873
  "appliesTo": "‘circle’ and ‘ellipse’ elements",
7876
7874
  "inherited": "no",
@@ -7886,7 +7884,7 @@
7886
7884
  },
7887
7885
  {
7888
7886
  "name": "d",
7889
- "href": "https://svgwg.org/svg2-draft/paths.html#DProperty",
7887
+ "href": "https://w3c.github.io/svgwg/svg2-draft/paths.html#DProperty",
7890
7888
  "initial": "none",
7891
7889
  "appliesTo": "‘path’",
7892
7890
  "inherited": "no",
@@ -8057,7 +8055,7 @@
8057
8055
  },
8058
8056
  {
8059
8057
  "name": "fill",
8060
- "href": "https://svgwg.org/svg2-draft/painting.html#FillProperty",
8058
+ "href": "https://w3c.github.io/svgwg/svg2-draft/painting.html#FillProperty",
8061
8059
  "initial": "black",
8062
8060
  "appliesTo": "shapes and text content elements",
8063
8061
  "inherited": "yes",
@@ -9069,6 +9067,23 @@
9069
9067
  "syntax": "auto | none | preserve-parent-color",
9070
9068
  "extended": []
9071
9069
  },
9070
+ {
9071
+ "name": "frame-sizing",
9072
+ "href": "https://drafts.csswg.org/css-sizing-4/#propdef-frame-sizing",
9073
+ "initial": "auto",
9074
+ "appliesTo": "iframe elements",
9075
+ "inherited": "no",
9076
+ "percentages": "n/a",
9077
+ "computedValue": "specified keyword",
9078
+ "canonicalOrder": "per grammar",
9079
+ "animationType": "discrete",
9080
+ "styleDeclaration": [
9081
+ "frame-sizing",
9082
+ "frameSizing"
9083
+ ],
9084
+ "syntax": "auto | content-width | content-height | content-block-size | content-inline-size",
9085
+ "extended": []
9086
+ },
9072
9087
  {
9073
9088
  "name": "gap",
9074
9089
  "href": "https://drafts.csswg.org/css-align-3/#propdef-gap",
@@ -10005,10 +10020,8 @@
10005
10020
  "justify-items",
10006
10021
  "justifyItems"
10007
10022
  ],
10008
- "syntax": "normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ] | anchor-center",
10009
- "extended": [
10010
- "https://drafts.csswg.org/css-anchor-position-1/#propdef-justify-items"
10011
- ]
10023
+ "syntax": "normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]",
10024
+ "extended": []
10012
10025
  },
10013
10026
  {
10014
10027
  "name": "justify-self",
@@ -10566,7 +10579,7 @@
10566
10579
  },
10567
10580
  {
10568
10581
  "name": "marker",
10569
- "href": "https://svgwg.org/svg2-draft/painting.html#MarkerProperty",
10582
+ "href": "https://w3c.github.io/svgwg/svg2-draft/painting.html#MarkerProperty",
10570
10583
  "initial": "not defined for shorthand properties",
10571
10584
  "appliesTo": "shapes",
10572
10585
  "inherited": "yes",
@@ -10587,7 +10600,7 @@
10587
10600
  },
10588
10601
  {
10589
10602
  "name": "marker-end",
10590
- "href": "https://svgwg.org/svg2-draft/painting.html#MarkerEndProperty",
10603
+ "href": "https://w3c.github.io/svgwg/svg2-draft/painting.html#MarkerEndProperty",
10591
10604
  "initial": "none",
10592
10605
  "appliesTo": "shapes",
10593
10606
  "inherited": "yes",
@@ -10604,7 +10617,7 @@
10604
10617
  },
10605
10618
  {
10606
10619
  "name": "marker-mid",
10607
- "href": "https://svgwg.org/svg2-draft/painting.html#MarkerMidProperty",
10620
+ "href": "https://w3c.github.io/svgwg/svg2-draft/painting.html#MarkerMidProperty",
10608
10621
  "initial": "none",
10609
10622
  "appliesTo": "shapes",
10610
10623
  "inherited": "yes",
@@ -10638,7 +10651,7 @@
10638
10651
  },
10639
10652
  {
10640
10653
  "name": "marker-start",
10641
- "href": "https://svgwg.org/svg2-draft/painting.html#MarkerStartProperty",
10654
+ "href": "https://w3c.github.io/svgwg/svg2-draft/painting.html#MarkerStartProperty",
10642
10655
  "initial": "none",
10643
10656
  "appliesTo": "shapes",
10644
10657
  "inherited": "yes",
@@ -11685,7 +11698,7 @@
11685
11698
  "overflow-clip-margin-bottom",
11686
11699
  "overflow-clip-margin-left"
11687
11700
  ],
11688
- "syntax": "<visual-box> || <length [0,∞]>",
11701
+ "syntax": "<visual-box> || <length>",
11689
11702
  "extended": []
11690
11703
  },
11691
11704
  {
@@ -11706,7 +11719,7 @@
11706
11719
  "overflow-clip-margin-block-start",
11707
11720
  "overflow-clip-margin-block-end"
11708
11721
  ],
11709
- "syntax": "<visual-box> || <length [0,∞]>",
11722
+ "syntax": "<visual-box> || <length>",
11710
11723
  "extended": []
11711
11724
  },
11712
11725
  {
@@ -11724,7 +11737,7 @@
11724
11737
  "overflow-clip-margin-block-end",
11725
11738
  "overflowClipMarginBlockEnd"
11726
11739
  ],
11727
- "syntax": "<visual-box> || <length [0,∞]>",
11740
+ "syntax": "<visual-box> || <length>",
11728
11741
  "extended": []
11729
11742
  },
11730
11743
  {
@@ -11742,7 +11755,7 @@
11742
11755
  "overflow-clip-margin-block-start",
11743
11756
  "overflowClipMarginBlockStart"
11744
11757
  ],
11745
- "syntax": "<visual-box> || <length [0,∞]>",
11758
+ "syntax": "<visual-box> || <length>",
11746
11759
  "extended": []
11747
11760
  },
11748
11761
  {
@@ -11760,7 +11773,7 @@
11760
11773
  "overflow-clip-margin-bottom",
11761
11774
  "overflowClipMarginBottom"
11762
11775
  ],
11763
- "syntax": "<visual-box> || <length [0,∞]>",
11776
+ "syntax": "<visual-box> || <length>",
11764
11777
  "extended": []
11765
11778
  },
11766
11779
  {
@@ -11781,7 +11794,7 @@
11781
11794
  "overflow-clip-margin-inline-start",
11782
11795
  "overflow-clip-margin-inline-end"
11783
11796
  ],
11784
- "syntax": "<visual-box> || <length [0,∞]>",
11797
+ "syntax": "<visual-box> || <length>",
11785
11798
  "extended": []
11786
11799
  },
11787
11800
  {
@@ -11799,7 +11812,7 @@
11799
11812
  "overflow-clip-margin-inline-end",
11800
11813
  "overflowClipMarginInlineEnd"
11801
11814
  ],
11802
- "syntax": "<visual-box> || <length [0,∞]>",
11815
+ "syntax": "<visual-box> || <length>",
11803
11816
  "extended": []
11804
11817
  },
11805
11818
  {
@@ -11817,7 +11830,7 @@
11817
11830
  "overflow-clip-margin-inline-start",
11818
11831
  "overflowClipMarginInlineStart"
11819
11832
  ],
11820
- "syntax": "<visual-box> || <length [0,∞]>",
11833
+ "syntax": "<visual-box> || <length>",
11821
11834
  "extended": []
11822
11835
  },
11823
11836
  {
@@ -11835,7 +11848,7 @@
11835
11848
  "overflow-clip-margin-left",
11836
11849
  "overflowClipMarginLeft"
11837
11850
  ],
11838
- "syntax": "<visual-box> || <length [0,∞]>",
11851
+ "syntax": "<visual-box> || <length>",
11839
11852
  "extended": []
11840
11853
  },
11841
11854
  {
@@ -11853,7 +11866,7 @@
11853
11866
  "overflow-clip-margin-right",
11854
11867
  "overflowClipMarginRight"
11855
11868
  ],
11856
- "syntax": "<visual-box> || <length [0,∞]>",
11869
+ "syntax": "<visual-box> || <length>",
11857
11870
  "extended": []
11858
11871
  },
11859
11872
  {
@@ -11871,7 +11884,7 @@
11871
11884
  "overflow-clip-margin-top",
11872
11885
  "overflowClipMarginTop"
11873
11886
  ],
11874
- "syntax": "<visual-box> || <length [0,∞]>",
11887
+ "syntax": "<visual-box> || <length>",
11875
11888
  "extended": []
11876
11889
  },
11877
11890
  {
@@ -12339,7 +12352,7 @@
12339
12352
  },
12340
12353
  {
12341
12354
  "name": "paint-order",
12342
- "href": "https://svgwg.org/svg2-draft/painting.html#PaintOrderProperty",
12355
+ "href": "https://w3c.github.io/svgwg/svg2-draft/painting.html#PaintOrderProperty",
12343
12356
  "initial": "normal",
12344
12357
  "appliesTo": "shapes and text content elements",
12345
12358
  "inherited": "yes",
@@ -12506,7 +12519,7 @@
12506
12519
  },
12507
12520
  {
12508
12521
  "name": "pointer-events",
12509
- "href": "https://svgwg.org/svg2-draft/interact.html#PointerEventsProperty",
12522
+ "href": "https://w3c.github.io/svgwg/svg2-draft/interact.html#PointerEventsProperty",
12510
12523
  "initial": "auto",
12511
12524
  "appliesTo": "container elements, graphics elements and ‘use’",
12512
12525
  "inherited": "yes",
@@ -12608,7 +12621,7 @@
12608
12621
  "position-anchor",
12609
12622
  "positionAnchor"
12610
12623
  ],
12611
- "syntax": "normal | none | auto | <anchor-name>",
12624
+ "syntax": "normal | none | auto | <anchor-name> | match-parent",
12612
12625
  "extended": []
12613
12626
  },
12614
12627
  {
@@ -12620,7 +12633,7 @@
12620
12633
  "percentages": "n/a",
12621
12634
  "computedValue": "the keyword none or a pair of keywords, see § 3.1.3 Computed Value and Serialization of <position-area>",
12622
12635
  "canonicalOrder": "per grammar",
12623
- "animationType": "TBD",
12636
+ "animationType": "discrete",
12624
12637
  "styleDeclaration": [
12625
12638
  "position-area",
12626
12639
  "positionArea"
@@ -12735,7 +12748,7 @@
12735
12748
  },
12736
12749
  {
12737
12750
  "name": "r",
12738
- "href": "https://svgwg.org/svg2-draft/geometry.html#RProperty",
12751
+ "href": "https://w3c.github.io/svgwg/svg2-draft/geometry.html#RProperty",
12739
12752
  "initial": "0",
12740
12753
  "appliesTo": "‘circle’ element",
12741
12754
  "inherited": "no",
@@ -13173,8 +13186,8 @@
13173
13186
  {
13174
13187
  "name": "row-rule-visibility-items",
13175
13188
  "href": "https://drafts.csswg.org/css-gaps-1/#propdef-row-rule-visibility-items",
13176
- "initial": "all",
13177
- "appliesTo": "grid containers, and multicol containers",
13189
+ "initial": "normal",
13190
+ "appliesTo": "grid containers and multicol containers",
13178
13191
  "inherited": "no",
13179
13192
  "percentages": "n/a",
13180
13193
  "computedValue": "as specified",
@@ -13184,7 +13197,7 @@
13184
13197
  "row-rule-visibility-items",
13185
13198
  "rowRuleVisibilityItems"
13186
13199
  ],
13187
- "syntax": "all | around | between",
13200
+ "syntax": "all | around | between | normal",
13188
13201
  "extended": []
13189
13202
  },
13190
13203
  {
@@ -13252,7 +13265,7 @@
13252
13265
  "ruby-overhang",
13253
13266
  "rubyOverhang"
13254
13267
  ],
13255
- "syntax": "auto | none",
13268
+ "syntax": "auto | spaces",
13256
13269
  "extended": []
13257
13270
  },
13258
13271
  {
@@ -13520,7 +13533,7 @@
13520
13533
  },
13521
13534
  {
13522
13535
  "name": "rx",
13523
- "href": "https://svgwg.org/svg2-draft/geometry.html#RxProperty",
13536
+ "href": "https://w3c.github.io/svgwg/svg2-draft/geometry.html#RxProperty",
13524
13537
  "initial": "auto",
13525
13538
  "appliesTo": "‘ellipse’, ‘rect’ elements",
13526
13539
  "inherited": "no",
@@ -13536,7 +13549,7 @@
13536
13549
  },
13537
13550
  {
13538
13551
  "name": "ry",
13539
- "href": "https://svgwg.org/svg2-draft/geometry.html#RyProperty",
13552
+ "href": "https://w3c.github.io/svgwg/svg2-draft/geometry.html#RyProperty",
13540
13553
  "initial": "auto",
13541
13554
  "appliesTo": "‘ellipse’, ‘rect’",
13542
13555
  "inherited": "no",
@@ -14296,7 +14309,7 @@
14296
14309
  },
14297
14310
  {
14298
14311
  "name": "shape-rendering",
14299
- "href": "https://svgwg.org/svg2-draft/painting.html#ShapeRenderingProperty",
14312
+ "href": "https://w3c.github.io/svgwg/svg2-draft/painting.html#ShapeRenderingProperty",
14300
14313
  "initial": "auto",
14301
14314
  "appliesTo": "shapes",
14302
14315
  "inherited": "yes",
@@ -14313,7 +14326,7 @@
14313
14326
  },
14314
14327
  {
14315
14328
  "name": "shape-subtract",
14316
- "href": "https://svgwg.org/svg2-draft/text.html#ShapesubtractProperty",
14329
+ "href": "https://w3c.github.io/svgwg/svg2-draft/text.html#ShapesubtractProperty",
14317
14330
  "initial": "none",
14318
14331
  "appliesTo": "‘text’ elements",
14319
14332
  "inherited": "no",
@@ -14431,7 +14444,7 @@
14431
14444
  },
14432
14445
  {
14433
14446
  "name": "stop-color",
14434
- "href": "https://svgwg.org/svg2-draft/pservers.html#StopColorProperty",
14447
+ "href": "https://w3c.github.io/svgwg/svg2-draft/pservers.html#StopColorProperty",
14435
14448
  "styleDeclaration": [
14436
14449
  "stop-color",
14437
14450
  "stopColor"
@@ -14441,7 +14454,7 @@
14441
14454
  },
14442
14455
  {
14443
14456
  "name": "stop-opacity",
14444
- "href": "https://svgwg.org/svg2-draft/pservers.html#StopOpacityProperty",
14457
+ "href": "https://w3c.github.io/svgwg/svg2-draft/pservers.html#StopOpacityProperty",
14445
14458
  "styleDeclaration": [
14446
14459
  "stop-opacity",
14447
14460
  "stopOpacity"
@@ -14468,7 +14481,7 @@
14468
14481
  },
14469
14482
  {
14470
14483
  "name": "stroke",
14471
- "href": "https://svgwg.org/svg2-draft/painting.html#StrokeProperty",
14484
+ "href": "https://w3c.github.io/svgwg/svg2-draft/painting.html#StrokeProperty",
14472
14485
  "initial": "none",
14473
14486
  "appliesTo": "shapes and text content elements",
14474
14487
  "inherited": "yes",
@@ -14836,7 +14849,7 @@
14836
14849
  "stroke-width",
14837
14850
  "strokeWidth"
14838
14851
  ],
14839
- "syntax": "[<length-percentage> | <number>]#",
14852
+ "syntax": "[ <length-percentage> | <line-width> | <number> ]#",
14840
14853
  "extended": []
14841
14854
  },
14842
14855
  {
@@ -14930,7 +14943,7 @@
14930
14943
  },
14931
14944
  {
14932
14945
  "name": "text-anchor",
14933
- "href": "https://svgwg.org/svg2-draft/text.html#TextAnchorProperty",
14946
+ "href": "https://w3c.github.io/svgwg/svg2-draft/text.html#TextAnchorProperty",
14934
14947
  "initial": "start",
14935
14948
  "appliesTo": "text content elements",
14936
14949
  "inherited": "yes",
@@ -15405,7 +15418,7 @@
15405
15418
  },
15406
15419
  {
15407
15420
  "name": "text-rendering",
15408
- "href": "https://svgwg.org/svg2-draft/painting.html#TextRenderingProperty",
15421
+ "href": "https://w3c.github.io/svgwg/svg2-draft/painting.html#TextRenderingProperty",
15409
15422
  "initial": "auto",
15410
15423
  "appliesTo": "‘text’",
15411
15424
  "inherited": "yes",
@@ -16064,7 +16077,7 @@
16064
16077
  },
16065
16078
  {
16066
16079
  "name": "vector-effect",
16067
- "href": "https://svgwg.org/svg2-draft/coords.html#VectorEffectProperty",
16080
+ "href": "https://w3c.github.io/svgwg/svg2-draft/coords.html#VectorEffectProperty",
16068
16081
  "initial": "none",
16069
16082
  "appliesTo": "graphics elements and ‘use’",
16070
16083
  "inherited": "no",
@@ -16674,7 +16687,7 @@
16674
16687
  },
16675
16688
  {
16676
16689
  "name": "x",
16677
- "href": "https://svgwg.org/svg2-draft/geometry.html#XProperty",
16690
+ "href": "https://w3c.github.io/svgwg/svg2-draft/geometry.html#XProperty",
16678
16691
  "initial": "0",
16679
16692
  "appliesTo": "‘svg’, ‘rect’, ‘image’, ‘foreignObject’ elements",
16680
16693
  "inherited": "no",
@@ -16690,7 +16703,7 @@
16690
16703
  },
16691
16704
  {
16692
16705
  "name": "y",
16693
- "href": "https://svgwg.org/svg2-draft/geometry.html#YProperty",
16706
+ "href": "https://w3c.github.io/svgwg/svg2-draft/geometry.html#YProperty",
16694
16707
  "initial": "0",
16695
16708
  "appliesTo": "‘svg’, ‘rect’, ‘image’, ‘foreignObject’ elements",
16696
16709
  "inherited": "no",
@@ -17365,7 +17378,7 @@
17365
17378
  },
17366
17379
  {
17367
17380
  "name": ":lang()",
17368
- "prose": "If the document language specifies how the (human) content language of an element is determined, it is possible to write selectors that represent an element based on its content language. The :lang() pseudo-class, which accepts a comma-separated list of one or more language ranges, represents an element whose content language is one of the languages listed in its argument. Each language range in :lang() must be a valid CSS <ident> or <string>. (Thus language ranges containing asterisks, for example, must be either correctly escaped or quoted as strings, e.g. :lang(\\*-Latn) or :lang(\"*-Latn\").)",
17381
+ "prose": "If the document language specifies how the (human) content language of an element is determined, it is possible to write selectors that represent an element based on its content language. The :lang() pseudo-class, which accepts a comma-separated list of one or more language ranges, represents an element whose content language is one of the languages listed in its argument. Each language range in :lang() is an extended language range, as defined in BCP 47, and must be a valid CSS <ident> or <string>. (Thus language ranges containing asterisks, for example, must be either correctly escaped or quoted as strings, e.g. :lang(\\*-Latn) or :lang(\"*-Latn\").)",
17369
17382
  "href": "https://drafts.csswg.org/selectors-4/#lang-pseudo",
17370
17383
  "extended": []
17371
17384
  },
@@ -18680,7 +18693,7 @@
18680
18693
  },
18681
18694
  {
18682
18695
  "name": "dasharray",
18683
- "href": "https://svgwg.org/svg2-draft/painting.html#DataTypeDasharray",
18696
+ "href": "https://w3c.github.io/svgwg/svg2-draft/painting.html#DataTypeDasharray",
18684
18697
  "syntax": "[ [ <length-percentage> | <number> ]+ ]#",
18685
18698
  "extended": []
18686
18699
  },
@@ -18711,6 +18724,12 @@
18711
18724
  "href": "https://drafts.csswg.org/css-speech-1/#typedef-voice-volume-decibel",
18712
18725
  "extended": []
18713
18726
  },
18727
+ {
18728
+ "name": "declaration",
18729
+ "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.",
18730
+ "href": "https://drafts.csswg.org/css-conditional-5/#typedef-declaration",
18731
+ "extended": []
18732
+ },
18714
18733
  {
18715
18734
  "name": "declaration-list",
18716
18735
  "prose": "<declaration-list>: only declarations are allowed; at-rules and qualified rules are automatically invalid.",
@@ -19440,7 +19459,7 @@
19440
19459
  {
19441
19460
  "name": "light-dark-image",
19442
19461
  "href": "https://drafts.csswg.org/css-color-5/#typedef-light-dark-image",
19443
- "syntax": "light-dark(<image> | none, <image> | none)",
19462
+ "syntax": "light-dark( [ <image> | none ] , [ <image> | none ] )",
19444
19463
  "extended": []
19445
19464
  },
19446
19465
  {
@@ -19556,7 +19575,7 @@
19556
19575
  },
19557
19576
  {
19558
19577
  "name": "marker-ref",
19559
- "href": "https://svgwg.org/svg2-draft/painting.html#DataTypeMarkerRef",
19578
+ "href": "https://w3c.github.io/svgwg/svg2-draft/painting.html#DataTypeMarkerRef",
19560
19579
  "syntax": "<url>",
19561
19580
  "extended": []
19562
19581
  },
@@ -20041,7 +20060,7 @@
20041
20060
  },
20042
20061
  {
20043
20062
  "name": "points",
20044
- "href": "https://svgwg.org/svg2-draft/shapes.html#DataTypePoints",
20063
+ "href": "https://w3c.github.io/svgwg/svg2-draft/shapes.html#DataTypePoints",
20045
20064
  "syntax": "[ <number>+ ]#",
20046
20065
  "extended": []
20047
20066
  },
@@ -20377,7 +20396,7 @@
20377
20396
  {
20378
20397
  "name": "scope-boundaries",
20379
20398
  "href": "https://drafts.csswg.org/css-cascade-6/#typedef-scope-boundaries",
20380
- "syntax": "[ ( <scope-start> ) ]? [ to ( <scope-end> ) ]?",
20399
+ "syntax": "[ [ ( <scope-start> ) ]? [ to ( <scope-end> ) ]? ]!",
20381
20400
  "extended": []
20382
20401
  },
20383
20402
  {
@@ -20738,6 +20757,12 @@
20738
20757
  "syntax": "( [ <declaration> | <supports-condition-name> ] )",
20739
20758
  "extended": []
20740
20759
  },
20760
+ {
20761
+ "name": "supports-env-fn",
20762
+ "href": "https://drafts.csswg.org/css-conditional-5/#typedef-supports-env-fn",
20763
+ "syntax": "env( <ident> )",
20764
+ "extended": []
20765
+ },
20741
20766
  {
20742
20767
  "name": "supports-feature",
20743
20768
  "href": "https://drafts.csswg.org/css-conditional-5/#typedef-supports-feature",
@@ -20842,7 +20867,7 @@
20842
20867
  },
20843
20868
  {
20844
20869
  "name": "system-color",
20845
- "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.",
20870
+ "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.",
20846
20871
  "href": "https://drafts.csswg.org/css-color-4/#typedef-system-color",
20847
20872
  "syntax": "AccentColor | AccentColorText | ActiveText | ButtonBorder | ButtonFace | ButtonText | Canvas | CanvasText | Field | FieldText | GrayText | Highlight | HighlightText | LinkText | Mark | MarkText | SelectedItem | SelectedItemText | VisitedText | <deprecated-color>",
20848
20873
  "extended": []
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/css",
3
3
  "description": "CSS definitions of the web platform",
4
- "version": "8.5.1",
4
+ "version": "8.5.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"