@webref/css 8.7.1 → 8.7.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.
Files changed (2) hide show
  1. package/css.json +68 -51
  2. package/package.json +1 -1
package/css.json CHANGED
@@ -562,6 +562,14 @@
562
562
  "syntax": "@left-top { <declaration-list> };",
563
563
  "extended": []
564
564
  },
565
+ {
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",
569
+ "descriptors": [],
570
+ "syntax": "<location-rule>",
571
+ "extended": []
572
+ },
565
573
  {
566
574
  "name": "@macro",
567
575
  "href": "https://drafts.csswg.org/css-mixins-1/#macro-rule",
@@ -977,25 +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> }",
1006
+ "syntax": "@property <custom-property-name># { <declaration-list> }",
999
1007
  "extended": []
1000
1008
  },
1001
1009
  {
@@ -1026,14 +1034,6 @@
1026
1034
  "syntax": "@right-top { <declaration-list> };",
1027
1035
  "extended": []
1028
1036
  },
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
1037
  {
1038
1038
  "name": "@scope",
1039
1039
  "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.",
@@ -4168,7 +4168,7 @@
4168
4168
  "name": "baseline-source",
4169
4169
  "href": "https://drafts.csswg.org/css-inline-3/#propdef-baseline-source",
4170
4170
  "initial": "auto",
4171
- "appliesTo": "inline-level boxes",
4171
+ "appliesTo": "inline-level boxes that establish an independent formatting context",
4172
4172
  "inherited": "no",
4173
4173
  "percentages": "N/A",
4174
4174
  "computedValue": "specified keyword",
@@ -9583,7 +9583,7 @@
9583
9583
  "hyphenate-limit-chars",
9584
9584
  "hyphenateLimitChars"
9585
9585
  ],
9586
- "syntax": "[ auto | <integer> ]{1,3}",
9586
+ "syntax": "[ auto | <integer [0,∞]> ]{1,3}",
9587
9587
  "extended": []
9588
9588
  },
9589
9589
  {
@@ -9617,7 +9617,7 @@
9617
9617
  "hyphenate-limit-lines",
9618
9618
  "hyphenateLimitLines"
9619
9619
  ],
9620
- "syntax": "no-limit | <integer>",
9620
+ "syntax": "no-limit | <integer [0,∞]>",
9621
9621
  "extended": []
9622
9622
  },
9623
9623
  {
@@ -10640,17 +10640,17 @@
10640
10640
  "name": "margin-trim",
10641
10641
  "href": "https://drafts.csswg.org/css-box-4/#propdef-margin-trim",
10642
10642
  "initial": "none",
10643
- "appliesTo": "block containers, multi-column containers, flex containers, grid containers",
10643
+ "appliesTo": "block containers, multi-column containers",
10644
10644
  "inherited": "no",
10645
10645
  "percentages": "N/A",
10646
- "computedValue": "a set of zero to four keywords indicating which sides to trim",
10646
+ "computedValue": "a set of zero to two keywords indicating which sides to trim",
10647
10647
  "canonicalOrder": "per grammar",
10648
10648
  "animationType": "discrete",
10649
10649
  "styleDeclaration": [
10650
10650
  "margin-trim",
10651
10651
  "marginTrim"
10652
10652
  ],
10653
- "syntax": "none | [ block || inline ] | [ block-start || inline-start || block-end || inline-end ]",
10653
+ "syntax": "none | block | [ block-start || block-end ]",
10654
10654
  "extended": []
10655
10655
  },
10656
10656
  {
@@ -13670,6 +13670,23 @@
13670
13670
  "syntax": "none | [ <number> | <percentage> ]{1,3}",
13671
13671
  "extended": []
13672
13672
  },
13673
+ {
13674
+ "name": "scroll-axis-lock",
13675
+ "href": "https://drafts.csswg.org/css-overflow-5/#propdef-scroll-axis-lock",
13676
+ "initial": "auto",
13677
+ "appliesTo": "scroll container elements",
13678
+ "inherited": "no",
13679
+ "percentages": "n/a",
13680
+ "computedValue": "specified value",
13681
+ "canonicalOrder": "per grammar",
13682
+ "animationType": "discrete",
13683
+ "styleDeclaration": [
13684
+ "scroll-axis-lock",
13685
+ "scrollAxisLock"
13686
+ ],
13687
+ "syntax": "auto | none",
13688
+ "extended": []
13689
+ },
13673
13690
  {
13674
13691
  "name": "scroll-behavior",
13675
13692
  "href": "https://drafts.csswg.org/css-overflow-3/#propdef-scroll-behavior",
@@ -15163,7 +15180,7 @@
15163
15180
  "initial": "0",
15164
15181
  "appliesTo": "all elements",
15165
15182
  "inherited": "no",
15166
- "percentages": "N/A",
15183
+ "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
15184
  "computedValue": "specified keyword or absolute length",
15168
15185
  "canonicalOrder": "per grammar",
15169
15186
  "animationType": "by computed value",
@@ -15171,7 +15188,7 @@
15171
15188
  "text-decoration-inset",
15172
15189
  "textDecorationInset"
15173
15190
  ],
15174
- "syntax": "<length>{1,2} | auto",
15191
+ "syntax": "<length-percentage>{1,2} | auto",
15175
15192
  "extended": []
15176
15193
  },
15177
15194
  {
@@ -15699,7 +15716,7 @@
15699
15716
  "text-wrap-style",
15700
15717
  "textWrapStyle"
15701
15718
  ],
15702
- "syntax": "auto | balance | stable | pretty | avoid-orphans",
15719
+ "syntax": "auto | balance | stable | pretty | avoid-short-last-line",
15703
15720
  "extended": []
15704
15721
  },
15705
15722
  {
@@ -17139,7 +17156,7 @@
17139
17156
  },
17140
17157
  {
17141
17158
  "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.",
17159
+ "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
17160
  "href": "https://drafts.csswg.org/css-view-transitions-2/#selectordef-view-transition",
17144
17161
  "syntax": "::view-transition",
17145
17162
  "extended": []
@@ -18280,7 +18297,7 @@
18280
18297
  {
18281
18298
  "name": "bg-layer",
18282
18299
  "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>",
18300
+ "syntax": "<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <visual-box> || <bg-clip>",
18284
18301
  "extended": []
18285
18302
  },
18286
18303
  {
@@ -19014,7 +19031,7 @@
19014
19031
  {
19015
19032
  "name": "final-bg-layer",
19016
19033
  "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'>",
19034
+ "syntax": "<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <visual-box> || <bg-clip> || <'background-color'>",
19018
19035
  "extended": []
19019
19036
  },
19020
19037
  {
@@ -19682,6 +19699,24 @@
19682
19699
  "syntax": "[ [ <angle> | <zero> | to <side-or-corner> ] || <color-interpolation-method> ]? , <color-stop-list>",
19683
19700
  "extended": []
19684
19701
  },
19702
+ {
19703
+ "name": "location-descriptor",
19704
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-location-descriptor",
19705
+ "syntax": "<pattern-descriptor> | <init-descriptor> | <base-descriptor>",
19706
+ "extended": []
19707
+ },
19708
+ {
19709
+ "name": "location-name",
19710
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-location-name",
19711
+ "syntax": "<dashed-ident>",
19712
+ "extended": []
19713
+ },
19714
+ {
19715
+ "name": "location-rule",
19716
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-location-rule",
19717
+ "syntax": "@location <dashed-ident> { <declaration-list> }",
19718
+ "extended": []
19719
+ },
19685
19720
  {
19686
19721
  "name": "margin-width",
19687
19722
  "prose": "The properties defined in this section refer to the <margin-width> value type, which may take one of the following values:",
@@ -19920,16 +19955,22 @@
19920
19955
  "syntax": "( <navigation-condition> ) | ( <navigation-test> ) | <general-enclosed>",
19921
19956
  "extended": []
19922
19957
  },
19958
+ {
19959
+ "name": "navigation-location",
19960
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-location",
19961
+ "syntax": "<url> | [ <location-name> | <url-pattern()> ]",
19962
+ "extended": []
19963
+ },
19923
19964
  {
19924
19965
  "name": "navigation-location-between-test",
19925
19966
  "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-location-between-test",
19926
- "syntax": "between : <route-location> and <route-location>",
19967
+ "syntax": "between : <navigation-location> and <navigation-location>",
19927
19968
  "extended": []
19928
19969
  },
19929
19970
  {
19930
19971
  "name": "navigation-location-test",
19931
19972
  "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-location-test",
19932
- "syntax": "<navigation-relation> : <route-location>",
19973
+ "syntax": "<navigation-relation> : <navigation-location>",
19933
19974
  "extended": []
19934
19975
  },
19935
19976
  {
@@ -19947,7 +19988,7 @@
19947
19988
  {
19948
19989
  "name": "navigation-relation",
19949
19990
  "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-relation",
19950
- "syntax": "at | with | from | to",
19991
+ "syntax": "at | from | to",
19951
19992
  "extended": []
19952
19993
  },
19953
19994
  {
@@ -20466,30 +20507,6 @@
20466
20507
  "syntax": "nearest | up | down | to-zero | line-width",
20467
20508
  "extended": []
20468
20509
  },
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
20510
  {
20494
20511
  "name": "rule-list",
20495
20512
  "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.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"