@webref/css 7.0.10-alpha → 7.0.11

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/CHANGELOG.md +2 -2
  2. package/css.json +27 -27
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,7 +7,7 @@ Webref adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
7
7
  applied to data. A new major version is released whenever a breaking change is
8
8
  made to the data structure.
9
9
 
10
- ## v7.0.x - 2025-TBD
10
+ ## v7.0.11 - 2025-09-04
11
11
 
12
12
  CSS extracts are now consolidated into a single file.
13
13
 
@@ -25,7 +25,7 @@ In version 6, `listAll()` resolved with an object where the keys were spec short
25
25
  - The consolidation removes duplicates, merging extended definitions into a single feature. The definition from the latest spec level is used when a feature is defined in more than one level. If you need the definition from earlier levels, please [raise an issue](https://github.com/w3c/webref/issues) to describe your needs!
26
26
  - Some of the possible values that a CSS feature could take appeared nested under that feature definition in a `values` key in version 6. Such values are no longer reported in the new version: they were confusing in any case because they did not cover the whole range of values that a feature could take, and could contain values that were not atomic keyword values. Values could be re-introduced when CSS specs are more systematic about them. In the meantime, you will need to parse the feature's syntax (the `syntax` key) to extract keyword values.
27
27
 
28
- Additionally, the package now also exposes a new `index()` async method that resolves with an object similar to that returned by `listAll()`, except that lists of features under each category are indexed by feature names. For scoped features, the feature name is used as identifier when it is unambiguous. If a feature is defined differently for different scopes, the feature name is completed with the name of the first scoping feature to disambiguate. For example, `type() for @function`, `type() for attr()`.
28
+ Additionally, the package now also exposes a new `index()` async method that resolves with an object similar to that returned by `listAll()`, except that lists of features under each category are indexed by feature names. For scoped features, the feature name is used as identifier when it is unambiguous. If a feature is defined differently for different scopes, the feature name is completed with the name of the first scoping feature to disambiguate. For example, `type() for @function`, `type() for attr()`.
29
29
 
30
30
  ## v6.0.0 - 2022-11-28
31
31
 
package/css.json CHANGED
@@ -6523,7 +6523,7 @@
6523
6523
  "styleDeclaration": [
6524
6524
  "corner"
6525
6525
  ],
6526
- "syntax": "[ <length-percentage [0,∞]>{1,4} [ / <length-percentage [0,∞]>{1,4} ]? ] || <corner-shape-value>{1,4}",
6526
+ "syntax": "<'border-radius'> || <'corner-shape'>",
6527
6527
  "extended": []
6528
6528
  },
6529
6529
  {
@@ -6540,7 +6540,7 @@
6540
6540
  "corner-block-end",
6541
6541
  "cornerBlockEnd"
6542
6542
  ],
6543
- "syntax": "[ <length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]? ] || <corner-shape-value>{1,2}",
6543
+ "syntax": "<'border-top-radius'> || <'corner-top-shape'>",
6544
6544
  "extended": []
6545
6545
  },
6546
6546
  {
@@ -6557,7 +6557,7 @@
6557
6557
  "corner-block-end-shape",
6558
6558
  "cornerBlockEndShape"
6559
6559
  ],
6560
- "syntax": "<corner-shape-value>{1,2}",
6560
+ "syntax": "<'corner-top-left-shape'>{1,2}",
6561
6561
  "extended": []
6562
6562
  },
6563
6563
  {
@@ -6574,7 +6574,7 @@
6574
6574
  "corner-block-start",
6575
6575
  "cornerBlockStart"
6576
6576
  ],
6577
- "syntax": "[ <length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]? ] || <corner-shape-value>{1,2}",
6577
+ "syntax": "<'border-top-radius'> || <'corner-top-shape'>",
6578
6578
  "extended": []
6579
6579
  },
6580
6580
  {
@@ -6591,7 +6591,7 @@
6591
6591
  "corner-block-start-shape",
6592
6592
  "cornerBlockStartShape"
6593
6593
  ],
6594
- "syntax": "<corner-shape-value>{1,2}",
6594
+ "syntax": "<'corner-top-left-shape'>{1,2}",
6595
6595
  "extended": []
6596
6596
  },
6597
6597
  {
@@ -6608,7 +6608,7 @@
6608
6608
  "corner-bottom",
6609
6609
  "cornerBottom"
6610
6610
  ],
6611
- "syntax": "[ <length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]? ] || <corner-shape-value>{1,2}",
6611
+ "syntax": "<'border-top-radius'> || <'corner-top-shape'>",
6612
6612
  "extended": []
6613
6613
  },
6614
6614
  {
@@ -6625,7 +6625,7 @@
6625
6625
  "corner-bottom-left",
6626
6626
  "cornerBottomLeft"
6627
6627
  ],
6628
- "syntax": "<length-percentage [0,∞]>{1,2} || <corner-shape-value>",
6628
+ "syntax": "<'border-top-left-radius'>{1,2} || <'corner-top-left-shape'>",
6629
6629
  "extended": []
6630
6630
  },
6631
6631
  {
@@ -6660,7 +6660,7 @@
6660
6660
  "corner-bottom-right",
6661
6661
  "cornerBottomRight"
6662
6662
  ],
6663
- "syntax": "<length-percentage [0,∞]>{1,2} || <corner-shape-value>",
6663
+ "syntax": "<'border-top-left-radius'>{1,2} || <'corner-top-left-shape'>",
6664
6664
  "extended": []
6665
6665
  },
6666
6666
  {
@@ -6695,7 +6695,7 @@
6695
6695
  "corner-bottom-shape",
6696
6696
  "cornerBottomShape"
6697
6697
  ],
6698
- "syntax": "<corner-shape-value>{1,2}",
6698
+ "syntax": "<'corner-top-left-shape'>{1,2}",
6699
6699
  "extended": []
6700
6700
  },
6701
6701
  {
@@ -6712,7 +6712,7 @@
6712
6712
  "corner-end-end",
6713
6713
  "cornerEndEnd"
6714
6714
  ],
6715
- "syntax": "<length-percentage [0,∞]>{1,2} || <corner-shape-value>",
6715
+ "syntax": "<'border-top-left-radius'>{1,2} || <'corner-top-left-shape'>",
6716
6716
  "extended": []
6717
6717
  },
6718
6718
  {
@@ -6747,7 +6747,7 @@
6747
6747
  "corner-end-start",
6748
6748
  "cornerEndStart"
6749
6749
  ],
6750
- "syntax": "<length-percentage [0,∞]>{1,2} || <corner-shape-value>",
6750
+ "syntax": "<'border-top-left-radius'>{1,2} || <'corner-top-left-shape'>",
6751
6751
  "extended": []
6752
6752
  },
6753
6753
  {
@@ -6782,7 +6782,7 @@
6782
6782
  "corner-inline-end",
6783
6783
  "cornerInlineEnd"
6784
6784
  ],
6785
- "syntax": "[ <length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]? ] || <corner-shape-value>{1,2}",
6785
+ "syntax": "<'border-top-radius'> || <'corner-top-shape'>",
6786
6786
  "extended": []
6787
6787
  },
6788
6788
  {
@@ -6799,7 +6799,7 @@
6799
6799
  "corner-inline-end-shape",
6800
6800
  "cornerInlineEndShape"
6801
6801
  ],
6802
- "syntax": "<corner-shape-value>{1,2}",
6802
+ "syntax": "<'corner-top-left-shape'>{1,2}",
6803
6803
  "extended": []
6804
6804
  },
6805
6805
  {
@@ -6816,7 +6816,7 @@
6816
6816
  "corner-inline-start",
6817
6817
  "cornerInlineStart"
6818
6818
  ],
6819
- "syntax": "[ <length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]? ] || <corner-shape-value>{1,2}",
6819
+ "syntax": "<'border-top-radius'> || <'corner-top-shape'>",
6820
6820
  "extended": []
6821
6821
  },
6822
6822
  {
@@ -6833,7 +6833,7 @@
6833
6833
  "corner-inline-start-shape",
6834
6834
  "cornerInlineStartShape"
6835
6835
  ],
6836
- "syntax": "<corner-shape-value>{1,2}",
6836
+ "syntax": "<'corner-top-left-shape'>{1,2}",
6837
6837
  "extended": []
6838
6838
  },
6839
6839
  {
@@ -6850,7 +6850,7 @@
6850
6850
  "corner-left",
6851
6851
  "cornerLeft"
6852
6852
  ],
6853
- "syntax": "[ <length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]? ] || <corner-shape-value>{1,2}",
6853
+ "syntax": "<'border-top-radius'> || <'corner-top-shape'>",
6854
6854
  "extended": []
6855
6855
  },
6856
6856
  {
@@ -6867,7 +6867,7 @@
6867
6867
  "corner-left-shape",
6868
6868
  "cornerLeftShape"
6869
6869
  ],
6870
- "syntax": "<corner-shape-value>{1,2}",
6870
+ "syntax": "<'corner-top-left-shape'>{1,2}",
6871
6871
  "extended": []
6872
6872
  },
6873
6873
  {
@@ -6884,7 +6884,7 @@
6884
6884
  "corner-right",
6885
6885
  "cornerRight"
6886
6886
  ],
6887
- "syntax": "[ <length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]? ] || <corner-shape-value>{1,2}",
6887
+ "syntax": "<'border-top-radius'> || <'corner-top-shape'>",
6888
6888
  "extended": []
6889
6889
  },
6890
6890
  {
@@ -6901,7 +6901,7 @@
6901
6901
  "corner-right-shape",
6902
6902
  "cornerRightShape"
6903
6903
  ],
6904
- "syntax": "<corner-shape-value>{1,2}",
6904
+ "syntax": "<'corner-top-left-shape'>{1,2}",
6905
6905
  "extended": []
6906
6906
  },
6907
6907
  {
@@ -6918,7 +6918,7 @@
6918
6918
  "corner-shape",
6919
6919
  "cornerShape"
6920
6920
  ],
6921
- "syntax": "<corner-shape-value>{1,4}",
6921
+ "syntax": "<'corner-top-left-shape'>{1,4}",
6922
6922
  "extended": []
6923
6923
  },
6924
6924
  {
@@ -6935,7 +6935,7 @@
6935
6935
  "corner-start-end",
6936
6936
  "cornerStartEnd"
6937
6937
  ],
6938
- "syntax": "<length-percentage [0,∞]>{1,2} || <corner-shape-value>",
6938
+ "syntax": "<'border-top-left-radius'>{1,2} || <'corner-top-left-shape'>",
6939
6939
  "extended": []
6940
6940
  },
6941
6941
  {
@@ -6970,7 +6970,7 @@
6970
6970
  "corner-start-start",
6971
6971
  "cornerStartStart"
6972
6972
  ],
6973
- "syntax": "<length-percentage [0,∞]>{1,2} || <corner-shape-value>",
6973
+ "syntax": "<'border-top-left-radius'>{1,2} || <'corner-top-left-shape'>",
6974
6974
  "extended": []
6975
6975
  },
6976
6976
  {
@@ -7005,7 +7005,7 @@
7005
7005
  "corner-top",
7006
7006
  "cornerTop"
7007
7007
  ],
7008
- "syntax": "[ <length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]? ] || <corner-shape-value>{1,2}",
7008
+ "syntax": "<'border-top-radius'> || <'corner-top-shape'>",
7009
7009
  "extended": []
7010
7010
  },
7011
7011
  {
@@ -7022,7 +7022,7 @@
7022
7022
  "corner-top-left",
7023
7023
  "cornerTopLeft"
7024
7024
  ],
7025
- "syntax": "<length-percentage [0,∞]>{1,2} || <corner-shape-value>",
7025
+ "syntax": "<'border-top-left-radius'>{1,2} || <'corner-top-left-shape'>",
7026
7026
  "extended": []
7027
7027
  },
7028
7028
  {
@@ -7057,7 +7057,7 @@
7057
7057
  "corner-top-right",
7058
7058
  "cornerTopRight"
7059
7059
  ],
7060
- "syntax": "<length-percentage [0,∞]>{1,2} || <corner-shape-value>",
7060
+ "syntax": "<'border-top-left-radius'>{1,2} || <'corner-top-left-shape'>",
7061
7061
  "extended": []
7062
7062
  },
7063
7063
  {
@@ -7092,7 +7092,7 @@
7092
7092
  "corner-top-shape",
7093
7093
  "cornerTopShape"
7094
7094
  ],
7095
- "syntax": "<corner-shape-value>{1,2}",
7095
+ "syntax": "<'corner-top-left-shape'>{1,2}",
7096
7096
  "extended": []
7097
7097
  },
7098
7098
  {
@@ -16621,7 +16621,7 @@
16621
16621
  {
16622
16622
  "name": "bg-clip",
16623
16623
  "href": "https://drafts.csswg.org/css-backgrounds-4/#typedef-bg-clip",
16624
- "syntax": "<visual-box> | border-area| text",
16624
+ "syntax": "<visual-box> | [ border-area || text ]",
16625
16625
  "extended": []
16626
16626
  },
16627
16627
  {
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": "7.0.10-alpha",
4
+ "version": "7.0.11",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"