@webref/css 8.7.1 → 8.7.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 (2) hide show
  1. package/css.json +103 -89
  2. package/package.json +1 -1
package/css.json CHANGED
@@ -563,10 +563,11 @@
563
563
  "extended": []
564
564
  },
565
565
  {
566
- "name": "@macro",
567
- "href": "https://drafts.csswg.org/css-mixins-1/#macro-rule",
566
+ "name": "@location",
567
+ "prose": "The @location rule is an at-rule that associates an author-defined name with a URL pattern. This name can be referenced in @navigation rules and in :link-to() pseudo-classes.",
568
+ "href": "https://drafts.csswg.org/css-navigation-1/#at-ruledef-location",
568
569
  "descriptors": [],
569
- "syntax": "@macro <dashed-ident> { <declaration-rule-list> }",
570
+ "syntax": "<location-rule>",
570
571
  "extended": []
571
572
  },
572
573
  {
@@ -883,7 +884,7 @@
883
884
  "name": "@mixin",
884
885
  "href": "https://drafts.csswg.org/css-mixins-1/#at-ruledef-mixin",
885
886
  "descriptors": [],
886
- "syntax": "@mixin [<function-token> <function-parameter>#? ) | <ident-token> ] { <declaration-rule-list> }",
887
+ "syntax": "@mixin [<function-token> <function-parameter>#? ) | <ident-token> ] { <block-contents> }",
887
888
  "extended": []
888
889
  },
889
890
  {
@@ -969,6 +970,13 @@
969
970
  "syntax": "@position-try <dashed-ident> { <declaration-list> }",
970
971
  "extended": []
971
972
  },
973
+ {
974
+ "name": "@private",
975
+ "href": "https://drafts.csswg.org/css-mixins-1/#private",
976
+ "descriptors": [],
977
+ "syntax": "@private { <declaration-rule-list> }",
978
+ "extended": []
979
+ },
972
980
  {
973
981
  "name": "@property",
974
982
  "href": "https://drafts.css-houdini.org/css-properties-values-api-1/#at-ruledef-property",
@@ -977,32 +985,25 @@
977
985
  "name": "inherits",
978
986
  "href": "https://drafts.css-houdini.org/css-properties-values-api-1/#descdef-property-inherits",
979
987
  "for": "@property",
980
- "initial": "n/a (see prose)",
988
+ "initial": "true",
981
989
  "syntax": "true | false"
982
990
  },
983
991
  {
984
992
  "name": "initial-value",
985
993
  "href": "https://drafts.css-houdini.org/css-properties-values-api-1/#descdef-property-initial-value",
986
994
  "for": "@property",
987
- "initial": "the guaranteed-invalid value (but see prose)",
995
+ "initial": "the guaranteed-invalid value",
988
996
  "syntax": "<declaration-value>?"
989
997
  },
990
998
  {
991
999
  "name": "syntax",
992
1000
  "href": "https://drafts.css-houdini.org/css-properties-values-api-1/#descdef-property-syntax",
993
1001
  "for": "@property",
994
- "initial": "n/a (see prose)",
1002
+ "initial": "\"*\"",
995
1003
  "syntax": "<string>"
996
1004
  }
997
1005
  ],
998
- "syntax": "@property <custom-property-name> { <declaration-list> }",
999
- "extended": []
1000
- },
1001
- {
1002
- "name": "@result",
1003
- "href": "https://drafts.csswg.org/css-mixins-1/#result-rule",
1004
- "descriptors": [],
1005
- "syntax": "@result { <declaration-rule-list> }",
1006
+ "syntax": "@property <custom-property-name># { <declaration-list> }",
1006
1007
  "extended": []
1007
1008
  },
1008
1009
  {
@@ -1026,14 +1027,6 @@
1026
1027
  "syntax": "@right-top { <declaration-list> };",
1027
1028
  "extended": []
1028
1029
  },
1029
- {
1030
- "name": "@route",
1031
- "prose": "The @route rule is an at-rule that associates an author-defined name with a URL pattern. This name can be referenced in @navigation rules and in :link-to() pseudo-classes.",
1032
- "href": "https://drafts.csswg.org/css-navigation-1/#at-ruledef-route",
1033
- "descriptors": [],
1034
- "syntax": "<route-rule>",
1035
- "extended": []
1036
- },
1037
1030
  {
1038
1031
  "name": "@scope",
1039
1032
  "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.",
@@ -1389,6 +1382,13 @@
1389
1382
  "syntax": "cubic-bezier( [ <number [0,1]>, <number> ]#{2} )",
1390
1383
  "extended": []
1391
1384
  },
1385
+ {
1386
+ "name": "cycle()",
1387
+ "prose": "The cycle() expression allows descendant elements to cycle over a list of values instead of inheriting the same value.",
1388
+ "href": "https://drafts.csswg.org/css-values-5/#funcdef-cycle",
1389
+ "syntax": "cycle( <whole-value># )",
1390
+ "extended": []
1391
+ },
1392
1392
  {
1393
1393
  "name": "device-cmyk()",
1394
1394
  "href": "https://drafts.csswg.org/css-color-5/#funcdef-device-cmyk",
@@ -1539,7 +1539,7 @@
1539
1539
  },
1540
1540
  {
1541
1541
  "name": "ident()",
1542
- "prose": "The ident() function represents an <ident>, and can be used to manually construct <custom-ident> values from several parts.",
1542
+ "prose": "The ident() function represents an arbitrary <ident>, built from one or more separate idents, strings, and integers. It is an arbitrary substitution function.",
1543
1543
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-ident",
1544
1544
  "syntax": "ident( <ident-arg>+ )",
1545
1545
  "extended": []
@@ -2193,13 +2193,6 @@
2193
2193
  "syntax": "target-text( [ <string> | <url> ] , [ content | before | after | first-letter ]? )",
2194
2194
  "extended": []
2195
2195
  },
2196
- {
2197
- "name": "toggle()",
2198
- "prose": "The toggle() expression allows descendant elements to cycle over a list of values instead of inheriting the same value.",
2199
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-toggle",
2200
- "syntax": "toggle( <whole-value># )",
2201
- "extended": []
2202
- },
2203
2196
  {
2204
2197
  "name": "transform-interpolate()",
2205
2198
  "prose": "The transform-interpolate() interpolation notation represents an interpolated <transform-list>, with the following syntax:",
@@ -2495,8 +2488,8 @@
2495
2488
  "WebkitAppearance",
2496
2489
  "webkitAppearance"
2497
2490
  ],
2498
- "extended": [],
2499
- "syntax": "none | auto | base | base-select | <compat-auto> | <compat-special> | base"
2491
+ "syntax": "none | auto | base | base-select | <compat-auto> | <compat-special>",
2492
+ "extended": []
2500
2493
  },
2501
2494
  {
2502
2495
  "name": "-webkit-backface-visibility",
@@ -3742,10 +3735,8 @@
3742
3735
  "styleDeclaration": [
3743
3736
  "appearance"
3744
3737
  ],
3745
- "syntax": "none | auto | base | base-select | <compat-auto> | <compat-special> | base",
3746
- "extended": [
3747
- "https://drafts.csswg.org/css-forms-1/"
3748
- ]
3738
+ "syntax": "none | auto | base | base-select | <compat-auto> | <compat-special>",
3739
+ "extended": []
3749
3740
  },
3750
3741
  {
3751
3742
  "name": "aspect-ratio",
@@ -4168,7 +4159,7 @@
4168
4159
  "name": "baseline-source",
4169
4160
  "href": "https://drafts.csswg.org/css-inline-3/#propdef-baseline-source",
4170
4161
  "initial": "auto",
4171
- "appliesTo": "inline-level boxes",
4162
+ "appliesTo": "inline-level boxes that establish an independent formatting context",
4172
4163
  "inherited": "no",
4173
4164
  "percentages": "N/A",
4174
4165
  "computedValue": "specified keyword",
@@ -9583,7 +9574,7 @@
9583
9574
  "hyphenate-limit-chars",
9584
9575
  "hyphenateLimitChars"
9585
9576
  ],
9586
- "syntax": "[ auto | <integer> ]{1,3}",
9577
+ "syntax": "[ auto | <integer [0,∞]> ]{1,3}",
9587
9578
  "extended": []
9588
9579
  },
9589
9580
  {
@@ -9617,7 +9608,7 @@
9617
9608
  "hyphenate-limit-lines",
9618
9609
  "hyphenateLimitLines"
9619
9610
  ],
9620
- "syntax": "no-limit | <integer>",
9611
+ "syntax": "no-limit | <integer [0,∞]>",
9621
9612
  "extended": []
9622
9613
  },
9623
9614
  {
@@ -9657,7 +9648,7 @@
9657
9648
  "name": "image-animation",
9658
9649
  "href": "https://drafts.csswg.org/css-image-animation-1/#propdef-image-animation",
9659
9650
  "initial": "normal",
9660
- "appliesTo": "content images and elements with decorative images",
9651
+ "appliesTo": "declarative images",
9661
9652
  "inherited": "yes",
9662
9653
  "percentages": "n/a",
9663
9654
  "computedValue": "as specified",
@@ -10640,17 +10631,17 @@
10640
10631
  "name": "margin-trim",
10641
10632
  "href": "https://drafts.csswg.org/css-box-4/#propdef-margin-trim",
10642
10633
  "initial": "none",
10643
- "appliesTo": "block containers, multi-column containers, flex containers, grid containers",
10634
+ "appliesTo": "block containers, multi-column containers",
10644
10635
  "inherited": "no",
10645
10636
  "percentages": "N/A",
10646
- "computedValue": "a set of zero to four keywords indicating which sides to trim",
10637
+ "computedValue": "a set of zero to two keywords indicating which sides to trim",
10647
10638
  "canonicalOrder": "per grammar",
10648
10639
  "animationType": "discrete",
10649
10640
  "styleDeclaration": [
10650
10641
  "margin-trim",
10651
10642
  "marginTrim"
10652
10643
  ],
10653
- "syntax": "none | [ block || inline ] | [ block-start || inline-start || block-end || inline-end ]",
10644
+ "syntax": "none | block | [ block-start || block-end ]",
10654
10645
  "extended": []
10655
10646
  },
10656
10647
  {
@@ -13670,6 +13661,23 @@
13670
13661
  "syntax": "none | [ <number> | <percentage> ]{1,3}",
13671
13662
  "extended": []
13672
13663
  },
13664
+ {
13665
+ "name": "scroll-axis-lock",
13666
+ "href": "https://drafts.csswg.org/css-overflow-5/#propdef-scroll-axis-lock",
13667
+ "initial": "auto",
13668
+ "appliesTo": "scroll container elements",
13669
+ "inherited": "no",
13670
+ "percentages": "n/a",
13671
+ "computedValue": "specified value",
13672
+ "canonicalOrder": "per grammar",
13673
+ "animationType": "discrete",
13674
+ "styleDeclaration": [
13675
+ "scroll-axis-lock",
13676
+ "scrollAxisLock"
13677
+ ],
13678
+ "syntax": "auto | none",
13679
+ "extended": []
13680
+ },
13673
13681
  {
13674
13682
  "name": "scroll-behavior",
13675
13683
  "href": "https://drafts.csswg.org/css-overflow-3/#propdef-scroll-behavior",
@@ -15163,7 +15171,7 @@
15163
15171
  "initial": "0",
15164
15172
  "appliesTo": "all elements",
15165
15173
  "inherited": "no",
15166
- "percentages": "N/A",
15174
+ "percentages": "Depending on the value of box-decoration-break, either refer to the inline size of the decorating box or of each individual box fragment",
15167
15175
  "computedValue": "specified keyword or absolute length",
15168
15176
  "canonicalOrder": "per grammar",
15169
15177
  "animationType": "by computed value",
@@ -15171,7 +15179,7 @@
15171
15179
  "text-decoration-inset",
15172
15180
  "textDecorationInset"
15173
15181
  ],
15174
- "syntax": "<length>{1,2} | auto",
15182
+ "syntax": "<length-percentage>{1,2} | auto",
15175
15183
  "extended": []
15176
15184
  },
15177
15185
  {
@@ -15699,7 +15707,7 @@
15699
15707
  "text-wrap-style",
15700
15708
  "textWrapStyle"
15701
15709
  ],
15702
- "syntax": "auto | balance | stable | pretty | avoid-orphans",
15710
+ "syntax": "auto | balance | stable | pretty | avoid-short-last-line",
15703
15711
  "extended": []
15704
15712
  },
15705
15713
  {
@@ -16945,6 +16953,13 @@
16945
16953
  "syntax": "::field-component",
16946
16954
  "extended": []
16947
16955
  },
16956
+ {
16957
+ "name": "::field-content",
16958
+ "prose": "The ::field-content pseudo-element represents the portion of the input that contains the editable text.",
16959
+ "href": "https://drafts.csswg.org/css-forms-1/#selectordef-field-content",
16960
+ "syntax": "::field-content",
16961
+ "extended": []
16962
+ },
16948
16963
  {
16949
16964
  "name": "::field-separator",
16950
16965
  "prose": "The ::field-separator pseudo-element represents the portions of the control that separate the date/time component values if the user agent provides those portions.",
@@ -16952,13 +16967,6 @@
16952
16967
  "syntax": "::field-separator",
16953
16968
  "extended": []
16954
16969
  },
16955
- {
16956
- "name": "::field-text",
16957
- "prose": "The ::field-text pseudo-element represents the portion of the input that contains the editable text.",
16958
- "href": "https://drafts.csswg.org/css-forms-1/#selectordef-field-text",
16959
- "syntax": "::field-text",
16960
- "extended": []
16961
- },
16962
16970
  {
16963
16971
  "name": "::file-selector-button",
16964
16972
  "prose": "The ::file-selector-button pseudo-element represents the button used to open a file picker, if the UA renders such a button.",
@@ -17139,7 +17147,7 @@
17139
17147
  },
17140
17148
  {
17141
17149
  "name": "::view-transition",
17142
- "prose": "The ::view-transition pseudo-element is a tree-abiding pseudo-element that is also a pseudo-element root. If its originating element is the document’s document element, its containing block is the snapshot containing block.",
17150
+ "prose": "The ::view-transition pseudo-element is a fully styleable pseudo-element that is also a pseudo-element root. If its originating element is the document’s document element, its containing block is the snapshot containing block.",
17143
17151
  "href": "https://drafts.csswg.org/css-view-transitions-2/#selectordef-view-transition",
17144
17152
  "syntax": "::view-transition",
17145
17153
  "extended": []
@@ -17202,7 +17210,7 @@
17202
17210
  },
17203
17211
  {
17204
17212
  "name": ":animated-image",
17205
- "prose": "The :animated-image pseudo-class represents content image elements where a animated image has been loaded. For the animated-image pseudo-class to match, the image must not only be in a format that is capable of animation, but must also be an actually animated image.",
17213
+ "prose": "The :animated-image pseudo-class matches elements representing a declarative image where a animated image has been loaded. For the animated-image pseudo-class to match, the image must not only be in a format that is capable of animation, but must also be an actually animated image.",
17206
17214
  "href": "https://drafts.csswg.org/css-image-animation-1/#selectordef-animated-image",
17207
17215
  "syntax": ":animated-image",
17208
17216
  "extended": []
@@ -17560,10 +17568,10 @@
17560
17568
  "extended": []
17561
17569
  },
17562
17570
  {
17563
- "name": ":nav-source",
17564
- "prose": "This specification defines a :nav-source pseudo-class, matching the element that triggered the current navigation. It is a CSS reflection of the sourceElement property in the Navigation API. The trigger element can be an [^a^], [^area^], [^form^], a [^input/type/submit^] input, or a [^button^].",
17565
- "href": "https://drafts.csswg.org/css-navigation-1/#nav-source-pseudo",
17566
- "syntax": ":nav-source",
17571
+ "name": ":navigation-source",
17572
+ "prose": "This specification defines a :navigation-source pseudo-class, matching the element that triggered the current navigation. It is a CSS reflection of the sourceElement property in the Navigation API. The trigger element can be an [^a^], [^area^], [^form^], a [^input/type/submit^] input, or a [^button^].",
17573
+ "href": "https://drafts.csswg.org/css-navigation-1/#navigation-source-pseudo",
17574
+ "syntax": ":navigation-source",
17567
17575
  "extended": []
17568
17576
  },
17569
17577
  {
@@ -18280,7 +18288,7 @@
18280
18288
  {
18281
18289
  "name": "bg-layer",
18282
18290
  "href": "https://drafts.csswg.org/css-backgrounds-4/#typedef-bg-layer",
18283
- "syntax": "<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <bg-clip> || <visual-box>",
18291
+ "syntax": "<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <visual-box> || <bg-clip>",
18284
18292
  "extended": []
18285
18293
  },
18286
18294
  {
@@ -19014,7 +19022,7 @@
19014
19022
  {
19015
19023
  "name": "final-bg-layer",
19016
19024
  "href": "https://drafts.csswg.org/css-backgrounds-4/#typedef-final-bg-layer",
19017
- "syntax": "<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <bg-clip> || <visual-box> || <'background-color'>",
19025
+ "syntax": "<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <visual-box> || <bg-clip> || <'background-color'>",
19018
19026
  "extended": []
19019
19027
  },
19020
19028
  {
@@ -19329,6 +19337,12 @@
19329
19337
  "syntax": "<string> | <integer> | <ident>",
19330
19338
  "extended": []
19331
19339
  },
19340
+ {
19341
+ "name": "ident-args",
19342
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-ident-args",
19343
+ "syntax": "ident( <declaration-value> )",
19344
+ "extended": []
19345
+ },
19332
19346
  {
19333
19347
  "name": "ident-token",
19334
19348
  "prose": "The output of tokenization step is a stream of zero or more of the following tokens: <ident-token>, <function-token>, <at-keyword-token>, <hash-token>, <string-token>, <bad-string-token>, <url-token>, <bad-url-token>, <delim-token>, <number-token>, <percentage-token>, <dimension-token>, <unicode-range-token>, <whitespace-token>, <CDO-token>, <CDC-token>, <colon-token>, <semicolon-token>, <comma-token>, <[-token>, <]-token>, <(-token>, <)-token>, <{-token>, and <}-token>.",
@@ -19682,6 +19696,24 @@
19682
19696
  "syntax": "[ [ <angle> | <zero> | to <side-or-corner> ] || <color-interpolation-method> ]? , <color-stop-list>",
19683
19697
  "extended": []
19684
19698
  },
19699
+ {
19700
+ "name": "location-descriptor",
19701
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-location-descriptor",
19702
+ "syntax": "<pattern-descriptor> | <init-descriptor> | <base-descriptor>",
19703
+ "extended": []
19704
+ },
19705
+ {
19706
+ "name": "location-name",
19707
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-location-name",
19708
+ "syntax": "<dashed-ident>",
19709
+ "extended": []
19710
+ },
19711
+ {
19712
+ "name": "location-rule",
19713
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-location-rule",
19714
+ "syntax": "@location <dashed-ident> { <declaration-list> }",
19715
+ "extended": []
19716
+ },
19685
19717
  {
19686
19718
  "name": "margin-width",
19687
19719
  "prose": "The properties defined in this section refer to the <margin-width> value type, which may take one of the following values:",
@@ -19920,16 +19952,22 @@
19920
19952
  "syntax": "( <navigation-condition> ) | ( <navigation-test> ) | <general-enclosed>",
19921
19953
  "extended": []
19922
19954
  },
19955
+ {
19956
+ "name": "navigation-location",
19957
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-location",
19958
+ "syntax": "<url> | [ <location-name> | <url-pattern()> ]",
19959
+ "extended": []
19960
+ },
19923
19961
  {
19924
19962
  "name": "navigation-location-between-test",
19925
19963
  "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-location-between-test",
19926
- "syntax": "between : <route-location> and <route-location>",
19964
+ "syntax": "between : <navigation-location> and <navigation-location>",
19927
19965
  "extended": []
19928
19966
  },
19929
19967
  {
19930
19968
  "name": "navigation-location-test",
19931
19969
  "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-location-test",
19932
- "syntax": "<navigation-relation> : <route-location>",
19970
+ "syntax": "<navigation-relation> : <navigation-location>",
19933
19971
  "extended": []
19934
19972
  },
19935
19973
  {
@@ -19947,7 +19985,7 @@
19947
19985
  {
19948
19986
  "name": "navigation-relation",
19949
19987
  "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-relation",
19950
- "syntax": "at | with | from | to",
19988
+ "syntax": "at | from | to",
19951
19989
  "extended": []
19952
19990
  },
19953
19991
  {
@@ -20466,30 +20504,6 @@
20466
20504
  "syntax": "nearest | up | down | to-zero | line-width",
20467
20505
  "extended": []
20468
20506
  },
20469
- {
20470
- "name": "route-descriptor",
20471
- "href": "https://drafts.csswg.org/css-navigation-1/#typedef-route-descriptor",
20472
- "syntax": "<pattern-descriptor> | <init-descriptor> | <base-descriptor>",
20473
- "extended": []
20474
- },
20475
- {
20476
- "name": "route-location",
20477
- "href": "https://drafts.csswg.org/css-navigation-1/#typedef-route-location",
20478
- "syntax": "<url> | [ <route-name> | <url-pattern()> ]",
20479
- "extended": []
20480
- },
20481
- {
20482
- "name": "route-name",
20483
- "href": "https://drafts.csswg.org/css-navigation-1/#typedef-route-name",
20484
- "syntax": "<dashed-ident>",
20485
- "extended": []
20486
- },
20487
- {
20488
- "name": "route-rule",
20489
- "href": "https://drafts.csswg.org/css-navigation-1/#typedef-route-rule",
20490
- "syntax": "@route <dashed-ident> { <declaration-list> }",
20491
- "extended": []
20492
- },
20493
20507
  {
20494
20508
  "name": "rule-list",
20495
20509
  "prose": "<rule-list>: qualified rules and at-rules are allowed; declarations are automatically invalid.",
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.7.1",
4
+ "version": "8.7.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"