@webref/css 7.0.9-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.
- package/CHANGELOG.md +2 -2
- package/css.json +55 -34
- 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.
|
|
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
|
|
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
|
@@ -104,6 +104,13 @@
|
|
|
104
104
|
"type": "range",
|
|
105
105
|
"syntax": "<length>"
|
|
106
106
|
},
|
|
107
|
+
{
|
|
108
|
+
"name": "direction",
|
|
109
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-direction",
|
|
110
|
+
"for": "@container",
|
|
111
|
+
"type": "discrete",
|
|
112
|
+
"syntax": "none | top | right | bottom | left | block-start | inline-start | block-end | inline-end | x | y | block | inline"
|
|
113
|
+
},
|
|
107
114
|
{
|
|
108
115
|
"name": "height",
|
|
109
116
|
"href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-height",
|
|
@@ -6516,7 +6523,7 @@
|
|
|
6516
6523
|
"styleDeclaration": [
|
|
6517
6524
|
"corner"
|
|
6518
6525
|
],
|
|
6519
|
-
"syntax": "
|
|
6526
|
+
"syntax": "<'border-radius'> || <'corner-shape'>",
|
|
6520
6527
|
"extended": []
|
|
6521
6528
|
},
|
|
6522
6529
|
{
|
|
@@ -6533,7 +6540,7 @@
|
|
|
6533
6540
|
"corner-block-end",
|
|
6534
6541
|
"cornerBlockEnd"
|
|
6535
6542
|
],
|
|
6536
|
-
"syntax": "
|
|
6543
|
+
"syntax": "<'border-top-radius'> || <'corner-top-shape'>",
|
|
6537
6544
|
"extended": []
|
|
6538
6545
|
},
|
|
6539
6546
|
{
|
|
@@ -6550,7 +6557,7 @@
|
|
|
6550
6557
|
"corner-block-end-shape",
|
|
6551
6558
|
"cornerBlockEndShape"
|
|
6552
6559
|
],
|
|
6553
|
-
"syntax": "<corner-shape
|
|
6560
|
+
"syntax": "<'corner-top-left-shape'>{1,2}",
|
|
6554
6561
|
"extended": []
|
|
6555
6562
|
},
|
|
6556
6563
|
{
|
|
@@ -6567,7 +6574,7 @@
|
|
|
6567
6574
|
"corner-block-start",
|
|
6568
6575
|
"cornerBlockStart"
|
|
6569
6576
|
],
|
|
6570
|
-
"syntax": "
|
|
6577
|
+
"syntax": "<'border-top-radius'> || <'corner-top-shape'>",
|
|
6571
6578
|
"extended": []
|
|
6572
6579
|
},
|
|
6573
6580
|
{
|
|
@@ -6584,7 +6591,7 @@
|
|
|
6584
6591
|
"corner-block-start-shape",
|
|
6585
6592
|
"cornerBlockStartShape"
|
|
6586
6593
|
],
|
|
6587
|
-
"syntax": "<corner-shape
|
|
6594
|
+
"syntax": "<'corner-top-left-shape'>{1,2}",
|
|
6588
6595
|
"extended": []
|
|
6589
6596
|
},
|
|
6590
6597
|
{
|
|
@@ -6601,7 +6608,7 @@
|
|
|
6601
6608
|
"corner-bottom",
|
|
6602
6609
|
"cornerBottom"
|
|
6603
6610
|
],
|
|
6604
|
-
"syntax": "
|
|
6611
|
+
"syntax": "<'border-top-radius'> || <'corner-top-shape'>",
|
|
6605
6612
|
"extended": []
|
|
6606
6613
|
},
|
|
6607
6614
|
{
|
|
@@ -6618,7 +6625,7 @@
|
|
|
6618
6625
|
"corner-bottom-left",
|
|
6619
6626
|
"cornerBottomLeft"
|
|
6620
6627
|
],
|
|
6621
|
-
"syntax": "<
|
|
6628
|
+
"syntax": "<'border-top-left-radius'>{1,2} || <'corner-top-left-shape'>",
|
|
6622
6629
|
"extended": []
|
|
6623
6630
|
},
|
|
6624
6631
|
{
|
|
@@ -6653,7 +6660,7 @@
|
|
|
6653
6660
|
"corner-bottom-right",
|
|
6654
6661
|
"cornerBottomRight"
|
|
6655
6662
|
],
|
|
6656
|
-
"syntax": "<
|
|
6663
|
+
"syntax": "<'border-top-left-radius'>{1,2} || <'corner-top-left-shape'>",
|
|
6657
6664
|
"extended": []
|
|
6658
6665
|
},
|
|
6659
6666
|
{
|
|
@@ -6688,7 +6695,7 @@
|
|
|
6688
6695
|
"corner-bottom-shape",
|
|
6689
6696
|
"cornerBottomShape"
|
|
6690
6697
|
],
|
|
6691
|
-
"syntax": "<corner-shape
|
|
6698
|
+
"syntax": "<'corner-top-left-shape'>{1,2}",
|
|
6692
6699
|
"extended": []
|
|
6693
6700
|
},
|
|
6694
6701
|
{
|
|
@@ -6705,7 +6712,7 @@
|
|
|
6705
6712
|
"corner-end-end",
|
|
6706
6713
|
"cornerEndEnd"
|
|
6707
6714
|
],
|
|
6708
|
-
"syntax": "<
|
|
6715
|
+
"syntax": "<'border-top-left-radius'>{1,2} || <'corner-top-left-shape'>",
|
|
6709
6716
|
"extended": []
|
|
6710
6717
|
},
|
|
6711
6718
|
{
|
|
@@ -6740,7 +6747,7 @@
|
|
|
6740
6747
|
"corner-end-start",
|
|
6741
6748
|
"cornerEndStart"
|
|
6742
6749
|
],
|
|
6743
|
-
"syntax": "<
|
|
6750
|
+
"syntax": "<'border-top-left-radius'>{1,2} || <'corner-top-left-shape'>",
|
|
6744
6751
|
"extended": []
|
|
6745
6752
|
},
|
|
6746
6753
|
{
|
|
@@ -6775,7 +6782,7 @@
|
|
|
6775
6782
|
"corner-inline-end",
|
|
6776
6783
|
"cornerInlineEnd"
|
|
6777
6784
|
],
|
|
6778
|
-
"syntax": "
|
|
6785
|
+
"syntax": "<'border-top-radius'> || <'corner-top-shape'>",
|
|
6779
6786
|
"extended": []
|
|
6780
6787
|
},
|
|
6781
6788
|
{
|
|
@@ -6792,7 +6799,7 @@
|
|
|
6792
6799
|
"corner-inline-end-shape",
|
|
6793
6800
|
"cornerInlineEndShape"
|
|
6794
6801
|
],
|
|
6795
|
-
"syntax": "<corner-shape
|
|
6802
|
+
"syntax": "<'corner-top-left-shape'>{1,2}",
|
|
6796
6803
|
"extended": []
|
|
6797
6804
|
},
|
|
6798
6805
|
{
|
|
@@ -6809,7 +6816,7 @@
|
|
|
6809
6816
|
"corner-inline-start",
|
|
6810
6817
|
"cornerInlineStart"
|
|
6811
6818
|
],
|
|
6812
|
-
"syntax": "
|
|
6819
|
+
"syntax": "<'border-top-radius'> || <'corner-top-shape'>",
|
|
6813
6820
|
"extended": []
|
|
6814
6821
|
},
|
|
6815
6822
|
{
|
|
@@ -6826,7 +6833,7 @@
|
|
|
6826
6833
|
"corner-inline-start-shape",
|
|
6827
6834
|
"cornerInlineStartShape"
|
|
6828
6835
|
],
|
|
6829
|
-
"syntax": "<corner-shape
|
|
6836
|
+
"syntax": "<'corner-top-left-shape'>{1,2}",
|
|
6830
6837
|
"extended": []
|
|
6831
6838
|
},
|
|
6832
6839
|
{
|
|
@@ -6843,7 +6850,7 @@
|
|
|
6843
6850
|
"corner-left",
|
|
6844
6851
|
"cornerLeft"
|
|
6845
6852
|
],
|
|
6846
|
-
"syntax": "
|
|
6853
|
+
"syntax": "<'border-top-radius'> || <'corner-top-shape'>",
|
|
6847
6854
|
"extended": []
|
|
6848
6855
|
},
|
|
6849
6856
|
{
|
|
@@ -6860,7 +6867,7 @@
|
|
|
6860
6867
|
"corner-left-shape",
|
|
6861
6868
|
"cornerLeftShape"
|
|
6862
6869
|
],
|
|
6863
|
-
"syntax": "<corner-shape
|
|
6870
|
+
"syntax": "<'corner-top-left-shape'>{1,2}",
|
|
6864
6871
|
"extended": []
|
|
6865
6872
|
},
|
|
6866
6873
|
{
|
|
@@ -6877,7 +6884,7 @@
|
|
|
6877
6884
|
"corner-right",
|
|
6878
6885
|
"cornerRight"
|
|
6879
6886
|
],
|
|
6880
|
-
"syntax": "
|
|
6887
|
+
"syntax": "<'border-top-radius'> || <'corner-top-shape'>",
|
|
6881
6888
|
"extended": []
|
|
6882
6889
|
},
|
|
6883
6890
|
{
|
|
@@ -6894,7 +6901,7 @@
|
|
|
6894
6901
|
"corner-right-shape",
|
|
6895
6902
|
"cornerRightShape"
|
|
6896
6903
|
],
|
|
6897
|
-
"syntax": "<corner-shape
|
|
6904
|
+
"syntax": "<'corner-top-left-shape'>{1,2}",
|
|
6898
6905
|
"extended": []
|
|
6899
6906
|
},
|
|
6900
6907
|
{
|
|
@@ -6911,7 +6918,7 @@
|
|
|
6911
6918
|
"corner-shape",
|
|
6912
6919
|
"cornerShape"
|
|
6913
6920
|
],
|
|
6914
|
-
"syntax": "<corner-shape
|
|
6921
|
+
"syntax": "<'corner-top-left-shape'>{1,4}",
|
|
6915
6922
|
"extended": []
|
|
6916
6923
|
},
|
|
6917
6924
|
{
|
|
@@ -6928,7 +6935,7 @@
|
|
|
6928
6935
|
"corner-start-end",
|
|
6929
6936
|
"cornerStartEnd"
|
|
6930
6937
|
],
|
|
6931
|
-
"syntax": "<
|
|
6938
|
+
"syntax": "<'border-top-left-radius'>{1,2} || <'corner-top-left-shape'>",
|
|
6932
6939
|
"extended": []
|
|
6933
6940
|
},
|
|
6934
6941
|
{
|
|
@@ -6963,7 +6970,7 @@
|
|
|
6963
6970
|
"corner-start-start",
|
|
6964
6971
|
"cornerStartStart"
|
|
6965
6972
|
],
|
|
6966
|
-
"syntax": "<
|
|
6973
|
+
"syntax": "<'border-top-left-radius'>{1,2} || <'corner-top-left-shape'>",
|
|
6967
6974
|
"extended": []
|
|
6968
6975
|
},
|
|
6969
6976
|
{
|
|
@@ -6998,7 +7005,7 @@
|
|
|
6998
7005
|
"corner-top",
|
|
6999
7006
|
"cornerTop"
|
|
7000
7007
|
],
|
|
7001
|
-
"syntax": "
|
|
7008
|
+
"syntax": "<'border-top-radius'> || <'corner-top-shape'>",
|
|
7002
7009
|
"extended": []
|
|
7003
7010
|
},
|
|
7004
7011
|
{
|
|
@@ -7015,7 +7022,7 @@
|
|
|
7015
7022
|
"corner-top-left",
|
|
7016
7023
|
"cornerTopLeft"
|
|
7017
7024
|
],
|
|
7018
|
-
"syntax": "<
|
|
7025
|
+
"syntax": "<'border-top-left-radius'>{1,2} || <'corner-top-left-shape'>",
|
|
7019
7026
|
"extended": []
|
|
7020
7027
|
},
|
|
7021
7028
|
{
|
|
@@ -7050,7 +7057,7 @@
|
|
|
7050
7057
|
"corner-top-right",
|
|
7051
7058
|
"cornerTopRight"
|
|
7052
7059
|
],
|
|
7053
|
-
"syntax": "<
|
|
7060
|
+
"syntax": "<'border-top-left-radius'>{1,2} || <'corner-top-left-shape'>",
|
|
7054
7061
|
"extended": []
|
|
7055
7062
|
},
|
|
7056
7063
|
{
|
|
@@ -7085,7 +7092,7 @@
|
|
|
7085
7092
|
"corner-top-shape",
|
|
7086
7093
|
"cornerTopShape"
|
|
7087
7094
|
],
|
|
7088
|
-
"syntax": "<corner-shape
|
|
7095
|
+
"syntax": "<'corner-top-left-shape'>{1,2}",
|
|
7089
7096
|
"extended": []
|
|
7090
7097
|
},
|
|
7091
7098
|
{
|
|
@@ -14791,7 +14798,7 @@
|
|
|
14791
14798
|
},
|
|
14792
14799
|
{
|
|
14793
14800
|
"name": "view-transition-name",
|
|
14794
|
-
"href": "https://drafts.csswg.org/css-view-transitions-
|
|
14801
|
+
"href": "https://drafts.csswg.org/css-view-transitions-2/#propdef-view-transition-name",
|
|
14795
14802
|
"initial": "none",
|
|
14796
14803
|
"appliesTo": "all elements",
|
|
14797
14804
|
"inherited": "no",
|
|
@@ -15568,7 +15575,7 @@
|
|
|
15568
15575
|
{
|
|
15569
15576
|
"name": "::view-transition",
|
|
15570
15577
|
"prose": "The ::view-transition pseudo-element is a tree-abiding pseudo-element that is also a pseudo-element root. Its originating element is the document’s document element, and its containing block is the snapshot containing block.",
|
|
15571
|
-
"href": "https://drafts.csswg.org/css-view-transitions-
|
|
15578
|
+
"href": "https://drafts.csswg.org/css-view-transitions-2/#selectordef-view-transition",
|
|
15572
15579
|
"syntax": "::view-transition",
|
|
15573
15580
|
"extended": []
|
|
15574
15581
|
},
|
|
@@ -15581,25 +15588,25 @@
|
|
|
15581
15588
|
{
|
|
15582
15589
|
"name": "::view-transition-group()",
|
|
15583
15590
|
"prose": "The ::view-transition-group() pseudo-element is a named view transition pseudo-element that represents a matching named view transition capture. A ::view-transition-group() pseudo-element is generated for each view transition name as a child of the ::view-transition pseudo-element, and contains a corresponding ::view-transition-image-pair().",
|
|
15584
|
-
"href": "https://drafts.csswg.org/css-view-transitions-
|
|
15591
|
+
"href": "https://drafts.csswg.org/css-view-transitions-2/#selectordef-view-transition-group",
|
|
15585
15592
|
"extended": []
|
|
15586
15593
|
},
|
|
15587
15594
|
{
|
|
15588
15595
|
"name": "::view-transition-image-pair()",
|
|
15589
15596
|
"prose": "The ::view-transition-image-pair() pseudo-element is a named view transition pseudo-element that represents a pair of corresponding old/new view transition captures. This pseudo-element is a child of the corresponding ::view-transition-group() pseudo-element and contains a corresponding ::view-transition-old() pseudo-element and/or a corresponding ::view-transition-new() pseudo-element (in that order).",
|
|
15590
|
-
"href": "https://drafts.csswg.org/css-view-transitions-
|
|
15597
|
+
"href": "https://drafts.csswg.org/css-view-transitions-2/#selectordef-view-transition-image-pair",
|
|
15591
15598
|
"extended": []
|
|
15592
15599
|
},
|
|
15593
15600
|
{
|
|
15594
15601
|
"name": "::view-transition-new()",
|
|
15595
15602
|
"prose": "The ::view-transition-new() pseudo-element (like the analogous ::view-transition-old() pseudo-element) is an empty named view transition pseudo-element that represents a visual snapshot of the “new” state as a replaced element; it is omitted if there’s no “new” state to represent. Each ::view-transition-new() pseudo-element is a child of the corresponding ::view-transition-image-pair() pseudo-element.",
|
|
15596
|
-
"href": "https://drafts.csswg.org/css-view-transitions-
|
|
15603
|
+
"href": "https://drafts.csswg.org/css-view-transitions-2/#selectordef-view-transition-new",
|
|
15597
15604
|
"extended": []
|
|
15598
15605
|
},
|
|
15599
15606
|
{
|
|
15600
15607
|
"name": "::view-transition-old()",
|
|
15601
15608
|
"prose": "The ::view-transition-old() pseudo-element is an empty named view transition pseudo-element that represents a visual snapshot of the “old” state as a replaced element; it is omitted if there’s no “old” state to represent. Each ::view-transition-old() pseudo-element is a child of the corresponding ::view-transition-image-pair() pseudo-element.",
|
|
15602
|
-
"href": "https://drafts.csswg.org/css-view-transitions-
|
|
15609
|
+
"href": "https://drafts.csswg.org/css-view-transitions-2/#selectordef-view-transition-old",
|
|
15603
15610
|
"extended": []
|
|
15604
15611
|
},
|
|
15605
15612
|
{
|
|
@@ -16223,6 +16230,20 @@
|
|
|
16223
16230
|
"syntax": ":target",
|
|
16224
16231
|
"extended": []
|
|
16225
16232
|
},
|
|
16233
|
+
{
|
|
16234
|
+
"name": ":target-after",
|
|
16235
|
+
"prose": "In addition to the :target-current pseudo-class, this specification introduces the :target-before and :target-after pseudo-classes for use with scroll marker elements.",
|
|
16236
|
+
"href": "https://drafts.csswg.org/css-overflow-5/#selectordef-target-after",
|
|
16237
|
+
"syntax": ":target-after",
|
|
16238
|
+
"extended": []
|
|
16239
|
+
},
|
|
16240
|
+
{
|
|
16241
|
+
"name": ":target-before",
|
|
16242
|
+
"prose": "In addition to the :target-current pseudo-class, this specification introduces the :target-before and :target-after pseudo-classes for use with scroll marker elements.",
|
|
16243
|
+
"href": "https://drafts.csswg.org/css-overflow-5/#selectordef-target-before",
|
|
16244
|
+
"syntax": ":target-before",
|
|
16245
|
+
"extended": []
|
|
16246
|
+
},
|
|
16226
16247
|
{
|
|
16227
16248
|
"name": ":target-current",
|
|
16228
16249
|
"prose": "Exactly one scroll marker within each scroll marker group is determined to be active at a time. Such \"active\" scroll markers match the :target-current pseudo-class.",
|
|
@@ -16600,7 +16621,7 @@
|
|
|
16600
16621
|
{
|
|
16601
16622
|
"name": "bg-clip",
|
|
16602
16623
|
"href": "https://drafts.csswg.org/css-backgrounds-4/#typedef-bg-clip",
|
|
16603
|
-
"syntax": "<visual-box> | border-area
|
|
16624
|
+
"syntax": "<visual-box> | [ border-area || text ]",
|
|
16604
16625
|
"extended": []
|
|
16605
16626
|
},
|
|
16606
16627
|
{
|
|
@@ -18338,7 +18359,7 @@
|
|
|
18338
18359
|
},
|
|
18339
18360
|
{
|
|
18340
18361
|
"name": "pt-name-selector",
|
|
18341
|
-
"href": "https://drafts.csswg.org/css-view-transitions-
|
|
18362
|
+
"href": "https://drafts.csswg.org/css-view-transitions-2/#typedef-pt-name-selector",
|
|
18342
18363
|
"syntax": "'*' | <custom-ident>",
|
|
18343
18364
|
"extended": []
|
|
18344
18365
|
},
|