@webref/css 6.20.9 → 6.21.0

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.
@@ -57,14 +57,14 @@
57
57
  },
58
58
  {
59
59
  "name": "all",
60
- "prose": "Specifies that all anchor names defined by this element or its descendants—​whose scope is not already limited by a descendant using anchor-scope—​to be in scope only for this element’s descendants; and limits descendants to only match anchor names to anchor elements within this subtree.",
60
+ "prose": "Specifies that all anchor names defined by this element or its descendants—​whose scope is not already limited by a descendant using anchor-scope—​to be in scope only for this element’s descendants; and limits descendants to only match anchor names to anchor elements within this subtree. This value only affects anchor names in the same tree scope, as if it were a tree-scoped name. (That is, anchor-scope: all acts identically to anchor-scope: --foo, --bar, ..., listing all relevant anchor names.)",
61
61
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-scope-all",
62
62
  "type": "value",
63
63
  "value": "all"
64
64
  },
65
65
  {
66
66
  "name": "<dashed-ident>",
67
- "prose": "Specifies that a matching anchor name defined by this element or its descendants—​whose scope is not already limited by a descendant using anchor-scope—​to be in scope only for this element’s descendants; and limits descendants to only match these anchor names to anchor elements within this subtree.",
67
+ "prose": "Specifies that a matching anchor name defined by this element or its descendants—​whose scope is not already limited by a descendant using anchor-scope—​to be in scope only for this element’s descendants; and limits descendants to only match these anchor names to anchor elements within this subtree. The <dashed-ident> is a tree-scoped name.",
68
68
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-scope-dashed-ident",
69
69
  "type": "value",
70
70
  "value": "<dashed-ident>"
@@ -115,7 +115,7 @@
115
115
  "appliesTo": "positioned boxes with a default anchor box",
116
116
  "inherited": "no",
117
117
  "percentages": "n/a",
118
- "computedValue": "as specified",
118
+ "computedValue": "the keyword none or a pair of keywords, see § 3.1.3 Computed Value and Serialization of <position-area>",
119
119
  "canonicalOrder": "per grammar",
120
120
  "animationType": "TBD",
121
121
  "values": [
@@ -128,7 +128,7 @@
128
128
  },
129
129
  {
130
130
  "name": "<position-area>",
131
- "prose": "If the box does not have a default anchor box, or is not an absolutely positioned box, this value has no effect. Otherwise, it has the following effects: The property selects a region of the position-area grid, and makes that the box’s containing block. See § 3.1.1 Resolving <position-area>s for details. Note: This means that the inset properties specify offsets from the position-area, and some property values, like max-height: 100%, will be relative to the position-area as well. The normal value for the self-alignment properties behaves as either start, end, or anchor-center, depending on the positioning of the region, to give a good default alignment for the positioned box. Again, see § 3.1.1 Resolving <position-area>s for details. Any auto inset properties resolve to 0. The box is not considered to be in a legacy alignment mode in either axis.",
131
+ "prose": "If the box does not have a default anchor box, or is not an absolutely positioned box, this value has no effect. Otherwise, selects a region of the position-area grid, and makes that the box’s containing block.",
132
132
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-position-area",
133
133
  "type": "value",
134
134
  "value": "<position-area>"
@@ -139,34 +139,6 @@
139
139
  "positionArea"
140
140
  ]
141
141
  },
142
- {
143
- "name": "top",
144
- "newValues": "<anchor()> | <anchor-size()>",
145
- "styleDeclaration": [
146
- "top"
147
- ]
148
- },
149
- {
150
- "name": "left",
151
- "newValues": "<anchor()> | <anchor-size()>",
152
- "styleDeclaration": [
153
- "left"
154
- ]
155
- },
156
- {
157
- "name": "right",
158
- "newValues": "<anchor()> | <anchor-size()>",
159
- "styleDeclaration": [
160
- "right"
161
- ]
162
- },
163
- {
164
- "name": "bottom",
165
- "newValues": "<anchor()> | <anchor-size()>",
166
- "styleDeclaration": [
167
- "bottom"
168
- ]
169
- },
170
142
  {
171
143
  "name": "justify-self",
172
144
  "newValues": "anchor-center",
@@ -235,6 +207,34 @@
235
207
  "alignItems"
236
208
  ]
237
209
  },
210
+ {
211
+ "name": "top",
212
+ "newValues": "<anchor()> | <anchor-size()>",
213
+ "styleDeclaration": [
214
+ "top"
215
+ ]
216
+ },
217
+ {
218
+ "name": "left",
219
+ "newValues": "<anchor()> | <anchor-size()>",
220
+ "styleDeclaration": [
221
+ "left"
222
+ ]
223
+ },
224
+ {
225
+ "name": "right",
226
+ "newValues": "<anchor()> | <anchor-size()>",
227
+ "styleDeclaration": [
228
+ "right"
229
+ ]
230
+ },
231
+ {
232
+ "name": "bottom",
233
+ "newValues": "<anchor()> | <anchor-size()>",
234
+ "styleDeclaration": [
235
+ "bottom"
236
+ ]
237
+ },
238
238
  {
239
239
  "name": "position-visibility",
240
240
  "href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-position-visibility",
@@ -256,21 +256,21 @@
256
256
  },
257
257
  {
258
258
  "name": "anchors-valid",
259
- "prose": "If any of the box’s required anchor references do not resolve to a target anchor element, the box is strongly hidden. What is a required anchor reference? anchor() functions that don’t have a fallback value; the default anchor *sometimes*? Need more detail here. Any anchors are missing, or all anchors are missing? I can see use-cases for either, potentially. Do we want to make a decision here, or make it controllable somehow?",
259
+ "prose": "If any of the box’s required anchor references do not resolve to a target anchor element, the box’s visibility property computes to force-hidden. What is a required anchor reference? anchor() functions that don’t have a fallback value; the default anchor *sometimes*? Need more detail here. Any anchors are missing, or all anchors are missing? I can see use-cases for either, potentially. Do we want to make a decision here, or make it controllable somehow?",
260
260
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-visibility-anchors-valid",
261
261
  "type": "value",
262
262
  "value": "anchors-valid"
263
263
  },
264
264
  {
265
265
  "name": "anchors-visible",
266
- "prose": "If the box has a default anchor box but that anchor box is clipped by intervening boxes, this box is also strongly hidden.",
266
+ "prose": "If the box has a default anchor box but that anchor box is invisible or clipped by intervening boxes, the box’s visibility property computes to force-hidden.",
267
267
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-visibility-anchors-visible",
268
268
  "type": "value",
269
269
  "value": "anchors-visible"
270
270
  },
271
271
  {
272
272
  "name": "no-overflow",
273
- "prose": "If the box overflows its inset-modified containing block even after applying position-try, then the box is strongly hidden.",
273
+ "prose": "If the box overflows its inset-modified containing block even after applying position-try, the box’s visibility property computes to force-hidden.",
274
274
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-visibility-no-overflow",
275
275
  "type": "value",
276
276
  "value": "no-overflow"
@@ -652,18 +652,18 @@
652
652
  "value": "block-end"
653
653
  },
654
654
  {
655
- "name": "block-self-start",
655
+ "name": "self-block-start",
656
656
  "prose": "The single corresponding row or column, depending on which axis this keyword is specifying. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the box’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The self-* logical keywords (self-start, x-self-end, etc) are identical, but refer to the box’s own writing mode.",
657
- "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-block-self-start",
657
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-self-block-start",
658
658
  "type": "value",
659
- "value": "block-self-start"
659
+ "value": "self-block-start"
660
660
  },
661
661
  {
662
- "name": "block-self-end",
662
+ "name": "self-block-end",
663
663
  "prose": "The single corresponding row or column, depending on which axis this keyword is specifying. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the box’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The self-* logical keywords (self-start, x-self-end, etc) are identical, but refer to the box’s own writing mode.",
664
- "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-block-self-end",
664
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-self-block-end",
665
665
  "type": "value",
666
- "value": "block-self-end"
666
+ "value": "self-block-end"
667
667
  },
668
668
  {
669
669
  "name": "inline-start",
@@ -680,18 +680,18 @@
680
680
  "value": "inline-end"
681
681
  },
682
682
  {
683
- "name": "inline-self-start",
683
+ "name": "self-inline-start",
684
684
  "prose": "The single corresponding row or column, depending on which axis this keyword is specifying. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the box’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The self-* logical keywords (self-start, x-self-end, etc) are identical, but refer to the box’s own writing mode.",
685
- "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-inline-self-start",
685
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-self-inline-start",
686
686
  "type": "value",
687
- "value": "inline-self-start"
687
+ "value": "self-inline-start"
688
688
  },
689
689
  {
690
- "name": "inline-self-end",
690
+ "name": "self-inline-end",
691
691
  "prose": "The single corresponding row or column, depending on which axis this keyword is specifying. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the box’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The self-* logical keywords (self-start, x-self-end, etc) are identical, but refer to the box’s own writing mode.",
692
- "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-inline-self-end",
692
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-self-inline-end",
693
693
  "type": "value",
694
- "value": "inline-self-end"
694
+ "value": "self-inline-end"
695
695
  },
696
696
  {
697
697
  "name": "center",
@@ -702,88 +702,158 @@
702
702
  },
703
703
  {
704
704
  "name": "span-start",
705
- "prose": "Two rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
705
+ "prose": "Two adjacent rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
706
706
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-span-start",
707
707
  "type": "value",
708
708
  "value": "span-start"
709
709
  },
710
710
  {
711
711
  "name": "span-end",
712
- "prose": "Two rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
712
+ "prose": "Two adjacent rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
713
713
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-span-end",
714
714
  "type": "value",
715
715
  "value": "span-end"
716
716
  },
717
+ {
718
+ "name": "span-self-start",
719
+ "prose": "Two adjacent rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
720
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-span-self-start",
721
+ "type": "value",
722
+ "value": "span-self-start"
723
+ },
724
+ {
725
+ "name": "span-self-end",
726
+ "prose": "Two adjacent rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
727
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-span-self-end",
728
+ "type": "value",
729
+ "value": "span-self-end"
730
+ },
717
731
  {
718
732
  "name": "span-top",
719
- "prose": "Two rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
733
+ "prose": "Two adjacent rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
720
734
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-span-top",
721
735
  "type": "value",
722
736
  "value": "span-top"
723
737
  },
724
738
  {
725
739
  "name": "span-bottom",
726
- "prose": "Two rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
740
+ "prose": "Two adjacent rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
727
741
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-span-bottom",
728
742
  "type": "value",
729
743
  "value": "span-bottom"
730
744
  },
731
745
  {
732
746
  "name": "span-y-start",
733
- "prose": "Two rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
747
+ "prose": "Two adjacent rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
734
748
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-span-y-start",
735
749
  "type": "value",
736
750
  "value": "span-y-start"
737
751
  },
738
752
  {
739
753
  "name": "span-y-end",
740
- "prose": "Two rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
754
+ "prose": "Two adjacent rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
741
755
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-span-y-end",
742
756
  "type": "value",
743
757
  "value": "span-y-end"
744
758
  },
759
+ {
760
+ "name": "span-y-self-start",
761
+ "prose": "Two adjacent rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
762
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-span-y-self-start",
763
+ "type": "value",
764
+ "value": "span-y-self-start"
765
+ },
766
+ {
767
+ "name": "span-y-self-end",
768
+ "prose": "Two adjacent rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
769
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-span-y-self-end",
770
+ "type": "value",
771
+ "value": "span-y-self-end"
772
+ },
745
773
  {
746
774
  "name": "span-x-start",
747
- "prose": "Two rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
775
+ "prose": "Two adjacent rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
748
776
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-span-x-start",
749
777
  "type": "value",
750
778
  "value": "span-x-start"
751
779
  },
752
780
  {
753
781
  "name": "span-x-end",
754
- "prose": "Two rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
782
+ "prose": "Two adjacent rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
755
783
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-span-x-end",
756
784
  "type": "value",
757
785
  "value": "span-x-end"
758
786
  },
787
+ {
788
+ "name": "span-x-self-start",
789
+ "prose": "Two adjacent rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
790
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-span-x-self-start",
791
+ "type": "value",
792
+ "value": "span-x-self-start"
793
+ },
794
+ {
795
+ "name": "span-x-self-end",
796
+ "prose": "Two adjacent rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
797
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-span-x-self-end",
798
+ "type": "value",
799
+ "value": "span-x-self-end"
800
+ },
759
801
  {
760
802
  "name": "span-block-start",
761
- "prose": "Two rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
803
+ "prose": "Two adjacent rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
762
804
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-span-block-start",
763
805
  "type": "value",
764
806
  "value": "span-block-start"
765
807
  },
766
808
  {
767
809
  "name": "span-block-end",
768
- "prose": "Two rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
810
+ "prose": "Two adjacent rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
769
811
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-span-block-end",
770
812
  "type": "value",
771
813
  "value": "span-block-end"
772
814
  },
815
+ {
816
+ "name": "span-self-block-start",
817
+ "prose": "Two adjacent rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
818
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-span-self-block-start",
819
+ "type": "value",
820
+ "value": "span-self-block-start"
821
+ },
822
+ {
823
+ "name": "span-self-block-end",
824
+ "prose": "Two adjacent rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
825
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-span-self-block-end",
826
+ "type": "value",
827
+ "value": "span-self-block-end"
828
+ },
773
829
  {
774
830
  "name": "span-inline-start",
775
- "prose": "Two rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
831
+ "prose": "Two adjacent rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
776
832
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-span-inline-start",
777
833
  "type": "value",
778
834
  "value": "span-inline-start"
779
835
  },
780
836
  {
781
837
  "name": "span-inline-end",
782
- "prose": "Two rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
838
+ "prose": "Two adjacent rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
783
839
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-span-inline-end",
784
840
  "type": "value",
785
841
  "value": "span-inline-end"
786
842
  },
843
+ {
844
+ "name": "span-self-inline-start",
845
+ "prose": "Two adjacent rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
846
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-span-self-inline-start",
847
+ "type": "value",
848
+ "value": "span-self-inline-start"
849
+ },
850
+ {
851
+ "name": "span-self-inline-end",
852
+ "prose": "Two adjacent rows or columns, depending on which axis this keyword is specifying: the center row/column, and the row/column corresponding to the other half of the keyword as per the single-track keywords. (For example, span-top spans the first two rows—​the center row and the top row.)",
853
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-area-span-self-inline-end",
854
+ "type": "value",
855
+ "value": "span-self-inline-end"
856
+ },
787
857
  {
788
858
  "name": "span-all",
789
859
  "prose": "All three rows or columns, depending on which axis this keyword is specifying.",
@@ -795,7 +865,7 @@
795
865
  },
796
866
  {
797
867
  "name": "anchor()",
798
- "prose": "An absolutely positioned box can use the anchor() function as a value in its inset properties to refer to the position of one or more anchor boxes. The anchor() function resolves to a <length>. It is only valid to be used in the inset properties.",
868
+ "prose": "An absolutely positioned box can use the anchor() function as a value in its inset properties to refer to the position of one or more anchor boxes. The anchor() function resolves to a <length>. It is only allowed in the inset properties (and is otherwise invalid).",
799
869
  "href": "https://drafts.csswg.org/css-anchor-position-1/#funcdef-anchor",
800
870
  "type": "function",
801
871
  "value": "anchor( <anchor-name>? && <anchor-side>, <length-percentage>? )",
@@ -907,7 +977,7 @@
907
977
  },
908
978
  {
909
979
  "name": "anchor-size()",
910
- "prose": "An absolutely positioned box can use the anchor-size() function in its sizing properties to refer to the size of one or more anchor boxes. The anchor-size() function resolves to a <length>. It is only valid to be used in the accepted @position-try properties.",
980
+ "prose": "An absolutely positioned box can use the anchor-size() function in its sizing properties to refer to the size of one or more anchor boxes. The anchor-size() function resolves to a <length>. It is only allowed in the accepted @position-try properties (and is otherwise invalid).",
911
981
  "href": "https://drafts.csswg.org/css-anchor-position-1/#funcdef-anchor-size",
912
982
  "type": "function",
913
983
  "value": "anchor-size( [ <anchor-name> || <anchor-size> ]? , <length-percentage>? )",
package/css-borders.json CHANGED
@@ -1574,46 +1574,46 @@
1574
1574
  "name": "<corner-shape-value>",
1575
1575
  "href": "https://drafts.csswg.org/css-borders-4/#typedef-corner-shape-value",
1576
1576
  "type": "type",
1577
- "value": "round | scoop | bevel | notch | straight | squircle | superellipse(<number [0,∞]> | infinity)",
1577
+ "value": "round | scoop | bevel | notch | square | squircle | superellipse(<number [-∞,∞]> | infinity | -infinity)",
1578
1578
  "values": [
1579
1579
  {
1580
1580
  "name": "round",
1581
- "prose": "Border radii define a convex elliptical curve at the corner. Equivalent to superellipse(2).",
1581
+ "prose": "Border radii define a convex elliptical curve at the corner. Equivalent to superellipse(1).",
1582
1582
  "href": "https://drafts.csswg.org/css-borders-4/#valdef-corner-shape-value-round",
1583
1583
  "type": "value",
1584
1584
  "value": "round"
1585
1585
  },
1586
1586
  {
1587
1587
  "name": "scoop",
1588
- "prose": "Border radii define a concave elliptical curve at the corner. Equivalent to superellipse(0.5).",
1588
+ "prose": "Border radii define a concave elliptical curve at the corner. Equivalent to superellipse(-1).",
1589
1589
  "href": "https://drafts.csswg.org/css-borders-4/#valdef-corner-shape-value-scoop",
1590
1590
  "type": "value",
1591
1591
  "value": "scoop"
1592
1592
  },
1593
1593
  {
1594
1594
  "name": "bevel",
1595
- "prose": "Border radii define a diagonal slice at the corner. Equivalent to superellipse(1).",
1595
+ "prose": "Border radii define a diagonal slice at the corner. Equivalent to superellipse(0).",
1596
1596
  "href": "https://drafts.csswg.org/css-borders-4/#valdef-corner-shape-value-bevel",
1597
1597
  "type": "value",
1598
1598
  "value": "bevel"
1599
1599
  },
1600
1600
  {
1601
1601
  "name": "notch",
1602
- "prose": "Border radii define a concave 90deg angle at the corner. Equivalent to superellipse(0).",
1602
+ "prose": "Border radii define a concave 90deg angle at the corner. Equivalent to superellipse(-infinity).",
1603
1603
  "href": "https://drafts.csswg.org/css-borders-4/#valdef-corner-shape-value-notch",
1604
1604
  "type": "value",
1605
1605
  "value": "notch"
1606
1606
  },
1607
1607
  {
1608
- "name": "straight",
1608
+ "name": "square",
1609
1609
  "prose": "Border radii define a convex 90deg angle at the corner. This would have the same visual effect as a border-radius of 0. This is different from having a border-radius of 0 when animating. Equivalent to superellipse(infinity).",
1610
- "href": "https://drafts.csswg.org/css-borders-4/#valdef-corner-shape-value-straight",
1610
+ "href": "https://drafts.csswg.org/css-borders-4/#valdef-corner-shape-value-square",
1611
1611
  "type": "value",
1612
- "value": "straight"
1612
+ "value": "square"
1613
1613
  },
1614
1614
  {
1615
1615
  "name": "squircle",
1616
- "prose": "Border radii define a convex curve between an ellipse and an convex angle, equivalent to superellipse(4).",
1616
+ "prose": "Border radii define a convex curve between an ellipse and an convex angle, equivalent to superellipse(2).",
1617
1617
  "href": "https://drafts.csswg.org/css-borders-4/#valdef-corner-shape-value-squircle",
1618
1618
  "type": "value",
1619
1619
  "value": "squircle"
@@ -1622,7 +1622,7 @@
1622
1622
  },
1623
1623
  {
1624
1624
  "name": "superellipse()",
1625
- "value": "superellipse( <number> | infinity )",
1625
+ "value": "superellipse( <number> | infinity | -infinity )",
1626
1626
  "href": "https://drafts.csswg.org/css-borders-4/#funcdef-superellipse",
1627
1627
  "type": "function"
1628
1628
  },
@@ -7,7 +7,7 @@
7
7
  {
8
8
  "name": "dynamic-range-limit",
9
9
  "href": "https://drafts.csswg.org/css-color-hdr-1/#propdef-dynamic-range-limit",
10
- "value": "standard | no-limit | constrained-high | <dynamic-range-limit-mix()>",
10
+ "value": "standard | no-limit | constrained | <dynamic-range-limit-mix()>",
11
11
  "initial": "no-limit",
12
12
  "appliesTo": "all elements",
13
13
  "inherited": "yes",
@@ -31,11 +31,11 @@
31
31
  "value": "no-limit"
32
32
  },
33
33
  {
34
- "name": "constrained-high",
34
+ "name": "constrained",
35
35
  "prose": "The highest peak luminance that is displayed is somewhat greater than HDR reference white, i.e. the CSS color white, such that a mix of SDR and HDR content can be comfortably viewed together.",
36
- "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-dynamic-range-limit-constrained-high",
36
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-dynamic-range-limit-constrained",
37
37
  "type": "value",
38
- "value": "constrained-high"
38
+ "value": "constrained"
39
39
  }
40
40
  ],
41
41
  "styleDeclaration": [
package/css-display.json CHANGED
@@ -147,7 +147,7 @@
147
147
  {
148
148
  "name": "visibility",
149
149
  "href": "https://drafts.csswg.org/css-display-4/#propdef-visibility",
150
- "value": "visible | hidden | collapse",
150
+ "value": "visible | hidden | force-hidden | collapse",
151
151
  "initial": "visible",
152
152
  "appliesTo": "all elements",
153
153
  "inherited": "yes",
@@ -171,6 +171,13 @@
171
171
  "type": "value",
172
172
  "value": "hidden"
173
173
  },
174
+ {
175
+ "name": "force-hidden",
176
+ "prose": "Any boxes generated by the element and its descendants are invisible (regardless of their visibility value).",
177
+ "href": "https://drafts.csswg.org/css-display-4/#valdef-visibility-force-hidden",
178
+ "type": "value",
179
+ "value": "force-hidden"
180
+ },
174
181
  {
175
182
  "name": "collapse",
176
183
  "prose": "Indicates that the box is collapsed, which can cause it to take up less space than otherwise in a formatting-context–specific way. See dynamic row and column effects in tables [CSS2] and collapsed flex items in flex layout [CSS-FLEXBOX-1]. In all other cases, however, (i.e. unless otherwise specified) this simply makes the box invisible, just like hidden.",
package/css-env.json CHANGED
@@ -96,6 +96,12 @@
96
96
  "href": "https://drafts.csswg.org/css-env-1/#valdef-env-viewport-segment-right",
97
97
  "type": "value",
98
98
  "value": "viewport-segment-right"
99
+ },
100
+ {
101
+ "name": "preferred-text-scale",
102
+ "href": "https://drafts.csswg.org/css-env-1/#valdef-env-preferred-text-scale",
103
+ "type": "value",
104
+ "value": "preferred-text-scale"
99
105
  }
100
106
  ]
101
107
  }
package/css-masking.json CHANGED
@@ -446,7 +446,7 @@
446
446
  "percentages": "refer to size of the mask border image",
447
447
  "computedValue": "as specified",
448
448
  "canonicalOrder": "per grammar",
449
- "animationType": "discrete",
449
+ "animationType": "by computed value",
450
450
  "media": "visual",
451
451
  "values": [
452
452
  {
@@ -472,7 +472,7 @@
472
472
  "percentages": "relative to width/height of the mask border image area",
473
473
  "computedValue": "all <length>s made absolute, otherwise as specified",
474
474
  "canonicalOrder": "per grammar",
475
- "animationType": "discrete",
475
+ "animationType": "by computed value",
476
476
  "media": "visual",
477
477
  "styleDeclaration": [
478
478
  "mask-border-width",
@@ -489,7 +489,7 @@
489
489
  "percentages": "n/a",
490
490
  "computedValue": "all <length>s made absolute, otherwise as specified",
491
491
  "canonicalOrder": "per grammar",
492
- "animationType": "discrete",
492
+ "animationType": "by computed value",
493
493
  "media": "visual",
494
494
  "styleDeclaration": [
495
495
  "mask-border-outset",
package/css-mixins.json CHANGED
@@ -44,7 +44,7 @@
44
44
  },
45
45
  {
46
46
  "name": "<dashed-function>",
47
- "prose": "A <dashed-function> is a functional notation whose function name starts with two dashes (U+002D HYPHEN-MINUS). Its syntax is:",
47
+ "prose": "A <dashed-function> is a functional notation whose function name starts with two dashes (U+002D HYPHEN-MINUS). Its argument grammar is:",
48
48
  "href": "https://drafts.csswg.org/css-mixins-1/#typedef-dashed-function",
49
49
  "type": "type"
50
50
  }
@@ -25,14 +25,14 @@
25
25
  },
26
26
  {
27
27
  "name": "before",
28
- "prose": "The scroll container generates a ::scroll-marker-group pseudo-element whose box is an immediate preceding sibling to its originating element.",
28
+ "prose": "The scroll container generates a ::scroll-marker-group pseudo-element. When originating from the root element, the generated pseudo-element’s box is the first child of the originating element. Otherwise, its box is an immediate preceding sibling to its originating element.",
29
29
  "href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-marker-group-before",
30
30
  "type": "value",
31
31
  "value": "before"
32
32
  },
33
33
  {
34
34
  "name": "after",
35
- "prose": "The scroll container generates a ::scroll-marker-group pseudo-element whose box is an immediate following sibling to its originating element.",
35
+ "prose": "The scroll container generates a ::scroll-marker-group pseudo-element. When originating from the root element, the generated pseudo-element’s box is the last child of the originating element. Otherwise, its box is an immediate following sibling to its originating element.",
36
36
  "href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-marker-group-after",
37
37
  "type": "value",
38
38
  "value": "after"
package/css-values-5.json CHANGED
@@ -332,36 +332,21 @@
332
332
  "name": "progress()",
333
333
  "prose": "The progress() functional notation returns a <number> value representing the position of one calculation (the progress value) between two other calculations (the progress start value and progress end value). progress() is a math function.",
334
334
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-progress",
335
- "type": "function"
336
- },
337
- {
338
- "name": "<progress()>",
339
- "href": "https://drafts.csswg.org/css-values-5/#typedef-progress-fn",
340
- "type": "type",
335
+ "type": "function",
341
336
  "value": "progress(<calc-sum>, <calc-sum>, <calc-sum>)"
342
337
  },
343
338
  {
344
339
  "name": "media-progress()",
345
340
  "prose": "Similar to the progress() notation, the media-progress() functional notation returns a <number> value representing current value of the specified media query [MEDIAQUERIES-4] as a progress value between two explicit values of the media query (as the progress start value and progress end value).",
346
341
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-media-progress",
347
- "type": "function"
348
- },
349
- {
350
- "name": "<media-progress()>",
351
- "href": "https://drafts.csswg.org/css-values-5/#typedef-media-progress",
352
- "type": "type",
342
+ "type": "function",
353
343
  "value": "media-progress(<mf-name>, <calc-sum>, <calc-sum>)"
354
344
  },
355
345
  {
356
346
  "name": "container-progress()",
357
347
  "prose": "The container-progress() functional notation is identical to the media-progress() functional notation, except that it accepts container features [CSS-CONTAIN-3] in place of media features.",
358
348
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-container-progress",
359
- "type": "function"
360
- },
361
- {
362
- "name": "<container-progress()>",
363
- "href": "https://drafts.csswg.org/css-values-5/#typedef-container-progress",
364
- "type": "type",
349
+ "type": "function",
365
350
  "value": "container-progress(<mf-name> [ of <container-name> ]?, <calc-sum>, <calc-sum>)"
366
351
  },
367
352
  {
@@ -405,48 +390,28 @@
405
390
  "name": "calc-mix()",
406
391
  "prose": "The calc-mix() mix notation represents an interpolated numeric or dimensional value. Like calc(), it is a math function, with the following syntactic form:",
407
392
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-calc-mix",
408
- "type": "function"
409
- },
410
- {
411
- "name": "<calc-mix()>",
412
- "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-mix",
413
- "type": "type",
393
+ "type": "function",
414
394
  "value": "calc-mix( <progress>, <calc-sum>, <calc-sum> )"
415
395
  },
416
396
  {
417
397
  "name": "transform-mix()",
418
398
  "prose": "The transform-mix() mix notation represents an interpolated <transform-list>, with the following syntactic form:",
419
399
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-transform-mix",
420
- "type": "function"
421
- },
422
- {
423
- "name": "<transform-mix()>",
424
- "href": "https://drafts.csswg.org/css-values-5/#typedef-transform-mix",
425
- "type": "type",
400
+ "type": "function",
426
401
  "value": "transform-mix( <progress>, <transform-list>, <transform-list> )"
427
402
  },
428
403
  {
429
404
  "name": "mix()",
430
405
  "prose": "Interpolation of any two property values can be represented by the mix() mix notation, which supports two alternative syntax patterns:",
431
406
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-mix",
432
- "type": "function"
433
- },
434
- {
435
- "name": "<mix()>",
436
- "href": "https://drafts.csswg.org/css-values-5/#typedef-mix",
437
- "type": "type",
407
+ "type": "function",
438
408
  "value": "mix( <progress> , <whole-value> , <whole-value> ) | mix( <progress> && of <keyframes-name> )"
439
409
  },
440
410
  {
441
411
  "name": "first-valid()",
442
412
  "prose": "The first-valid() functional notation inlines the fallback behavior intrinsic to parsing declarations. Unlike most notations, it can accept any valid or invalid syntax in its arguments, and represents the first value among its arguments that is supported (parsed as valid) by the UA as the whole value of the property it’s used in.",
443
413
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-first-valid",
444
- "type": "function"
445
- },
446
- {
447
- "name": "<first-valid()>",
448
- "href": "https://drafts.csswg.org/css-values-5/#typedef-first-valid",
449
- "type": "type",
414
+ "type": "function",
450
415
  "value": "first-valid( <declaration-value># )"
451
416
  },
452
417
  {
@@ -454,6 +419,7 @@
454
419
  "prose": "The if() function is an arbitrary substitution function that represents conditional values. Its argument consists of an ordered semi-colon–separated list of statements, each consisting of a condition followed by a colon followed by a value. An if() function represents the value corresponding to the first condition in its argument list to be true; if no condition matches, then the if() function represents an empty token stream.",
455
420
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-if",
456
421
  "type": "function",
422
+ "value": "if( [ <if-branch> ; ]* <if-branch> ;? )",
457
423
  "values": [
458
424
  {
459
425
  "name": "else",
@@ -464,12 +430,6 @@
464
430
  }
465
431
  ]
466
432
  },
467
- {
468
- "name": "<if()>",
469
- "href": "https://drafts.csswg.org/css-values-5/#typedef-if",
470
- "type": "type",
471
- "value": "if( [ <if-branch> ; ]* <if-branch> ;? )"
472
- },
473
433
  {
474
434
  "name": "<if-branch>",
475
435
  "href": "https://drafts.csswg.org/css-values-5/#typedef-if-branch",
@@ -504,24 +464,14 @@
504
464
  "name": "toggle()",
505
465
  "prose": "The toggle() expression allows descendant elements to cycle over a list of values instead of inheriting the same value.",
506
466
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-toggle",
507
- "type": "function"
508
- },
509
- {
510
- "name": "<toggle()>",
511
- "href": "https://drafts.csswg.org/css-values-5/#typedef-toggle",
512
- "type": "type",
467
+ "type": "function",
513
468
  "value": "toggle( <whole-value># )"
514
469
  },
515
470
  {
516
471
  "name": "inherit()",
517
472
  "prose": "Like the inherit keyword, the inherit() functional notation resolves to the computed value of a property on the parent. Rather than resolving to the value of the same property, however, it resolves to a sequence of component values representing the computed value of the property specified as its first argument. Its second argument, if present, is used as a fallback in case the first argument resolves to the guaranteed-invalid value.",
518
473
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-inherit",
519
- "type": "function"
520
- },
521
- {
522
- "name": "<inherit()>",
523
- "href": "https://drafts.csswg.org/css-values-5/#typedef-inherit",
524
- "type": "type",
474
+ "type": "function",
525
475
  "value": "inherit( <custom-property-name>, <declaration-value>? )"
526
476
  },
527
477
  {
@@ -646,7 +596,7 @@
646
596
  },
647
597
  {
648
598
  "name": "sibling-index()",
649
- "prose": "The sibling-index() functional notation represents, as an <integer>, the index of the element on which the notation is used among the children of its parent. Like :nth-child(), sibling-index() is 1-indexed.",
599
+ "prose": "The sibling-index() functional notation represents, as an <integer>, the index of the element on which the notation is used among its inclusive siblings. Like :nth-child(), sibling-index() is 1-indexed.",
650
600
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-sibling-index",
651
601
  "type": "function"
652
602
  },
@@ -18,6 +18,12 @@
18
18
  "href": "https://drafts.csswg.org/css-variables-2/#funcdef-var",
19
19
  "type": "function",
20
20
  "value": "var( <custom-property-name> , <declaration-value>? )"
21
+ },
22
+ {
23
+ "name": "<var-args>",
24
+ "href": "https://drafts.csswg.org/css-variables-2/#typedef-var-args",
25
+ "type": "type",
26
+ "value": "var( <declaration-value> , <declaration-value>? )"
21
27
  }
22
28
  ]
23
29
  }
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": "6.20.9",
4
+ "version": "6.21.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"