@webref/css 6.12.2 → 6.12.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.
@@ -36,6 +36,45 @@
36
36
  "anchorName"
37
37
  ]
38
38
  },
39
+ {
40
+ "name": "anchor-scope",
41
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-anchor-scope",
42
+ "value": "none | all | <dashed-ident>#",
43
+ "initial": "none",
44
+ "appliesTo": "all elements",
45
+ "inherited": "no",
46
+ "percentages": "n/a",
47
+ "computedValue": "as specified",
48
+ "canonicalOrder": "per grammar",
49
+ "animationType": "discrete",
50
+ "values": [
51
+ {
52
+ "name": "none",
53
+ "prose": "No changes in anchor name scope.",
54
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-scope-none",
55
+ "type": "value",
56
+ "value": "none"
57
+ },
58
+ {
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.",
61
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-scope-all",
62
+ "type": "value",
63
+ "value": "all"
64
+ },
65
+ {
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.",
68
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-scope-dashed-ident",
69
+ "type": "value",
70
+ "value": "<dashed-ident>"
71
+ }
72
+ ],
73
+ "styleDeclaration": [
74
+ "anchor-scope",
75
+ "anchorScope"
76
+ ]
77
+ },
39
78
  {
40
79
  "name": "anchor-default",
41
80
  "href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-anchor-default",
@@ -73,7 +112,7 @@
73
112
  },
74
113
  {
75
114
  "name": "<inset-area>",
76
- "prose": "If the element does not have a default anchor element, or is not an absolutely-positioned element, this value has no effect. Otherwise, the property selects a region of the inset-area grid, and makes that the element’s containing block. Additionally, 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 element. See § 3.1.1 Resolving <inset-area>s for details on both of these effects. If the two <inset-area-span>s do not define a valid region, this property is invalid. Also, any auto inset properties resolve to 0.",
115
+ "prose": "If the element does not have a default anchor element, or is not an absolutely-positioned element, this value has no effect. Otherwise, the property selects a region of the inset-area grid, and makes that the element’s containing block. Additionally, 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 element. See § 3.1.1 Resolving <inset-area>s for details on both of these effects. Also, any auto inset properties resolve to 0.",
77
116
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-inset-area",
78
117
  "type": "value",
79
118
  "value": "<inset-area>"
@@ -298,38 +337,6 @@
298
337
  "position-try",
299
338
  "positionTry"
300
339
  ]
301
- },
302
- {
303
- "name": "position-animation",
304
- "href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-position-animation",
305
- "value": "normal | magic",
306
- "initial": "normal",
307
- "appliesTo": "absolutely positioned elements",
308
- "inherited": "no",
309
- "percentages": "n/a",
310
- "computedValue": "normal, or an overriding position rectangle (see prose)",
311
- "canonicalOrder": "per grammar",
312
- "animationType": "(see prose)",
313
- "values": [
314
- {
315
- "name": "normal",
316
- "prose": "This value has no effect.",
317
- "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-animation-normal",
318
- "type": "value",
319
- "value": "normal"
320
- },
321
- {
322
- "name": "magic",
323
- "prose": "At computed value time, resolves to a overriding position rectangle, using interleaving. At used value time, overrides the position and size of the element’s margin box, setting it to match the computed overriding position rectangle.",
324
- "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-animation-magic",
325
- "type": "value",
326
- "value": "magic"
327
- }
328
- ],
329
- "styleDeclaration": [
330
- "position-animation",
331
- "positionAnimation"
332
- ]
333
340
  }
334
341
  ],
335
342
  "atrules": [
@@ -34,7 +34,7 @@
34
34
  "values": [
35
35
  {
36
36
  "name": "none",
37
- "prose": "A value of none counts as an image layer but draws nothing. An image that is empty (zero width or zero height), that fails to download, or that cannot be displayed (e.g., because it is not in a supported image format) likewise counts as a layer but draws nothing.",
37
+ "prose": "A value of none counts as a background image layer but draws nothing. An image that is empty (zero width or zero height), that fails to download, or that cannot be displayed (e.g., because it is not in a supported image format) likewise counts as a layer but draws nothing.",
38
38
  "href": "https://drafts.csswg.org/css-backgrounds-3/#valdef-background-image-none",
39
39
  "type": "value",
40
40
  "value": "none"
@@ -80,7 +80,7 @@
80
80
  },
81
81
  {
82
82
  "name": "space",
83
- "prose": "The image is repeated as often as will fit within the background positioning area without being clipped and then the images are spaced out to fill the area. The first and last images touch the edges of the area. If the background painting area is larger than the background positioning area, then the pattern repeats to fill the background painting area. The value of background-position for this direction is ignored, unless there is not enough space for two copies of the image in this direction, in which case only one image is placed and background-position determines its position in this direction.",
83
+ "prose": "The image is repeated as often as will fit within the background positioning area without being clipped, and then the images are spaced out to fill the area. The first and last images touch the edges of the area. If the background painting area is larger than the background positioning area, then the pattern repeats to fill the background painting area. The value of background-position for this direction is ignored unless there is not enough space for two copies of the image in this axis, in which case only one image is placed, and background-position determines its position in this axis.",
84
84
  "href": "https://drafts.csswg.org/css-backgrounds-3/#valdef-background-repeat-space",
85
85
  "type": "value",
86
86
  "value": "space"
@@ -126,14 +126,14 @@
126
126
  },
127
127
  {
128
128
  "name": "local",
129
- "prose": "The background is fixed with regard to the element’s contents: if the element has a scrolling mechanism, the background scrolls with the element’s contents, and the background painting area and background positioning area are relative to the scrollable area of the element rather than to the border framing them. Because the scrollable area does not include the border area, for scrollable elements the border-box value of background-clip may be treated the same as padding-box.",
129
+ "prose": "The background is fixed with regard to the box’s contents: if the box has a scrolling mechanism, the background scrolls with the box’s contents, and the background painting area and background positioning area are relative to the scrollable overflow area of the box rather than to the border framing them. Because the scrollable overflow area does not include the border area, for scroll containers the border-box value of background-clip may be treated the same as padding-box.",
130
130
  "href": "https://drafts.csswg.org/css-backgrounds-3/#valdef-background-attachment-local",
131
131
  "type": "value",
132
132
  "value": "local"
133
133
  },
134
134
  {
135
135
  "name": "scroll",
136
- "prose": "The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element’s border.)",
136
+ "prose": "The background is fixed with regard to the box itself and does not scroll with its contents. (It is effectively attached to the box’s border.)",
137
137
  "href": "https://drafts.csswg.org/css-backgrounds-3/#valdef-background-attachment-scroll",
138
138
  "type": "value",
139
139
  "value": "scroll"
@@ -317,14 +317,14 @@
317
317
  },
318
318
  {
319
319
  "name": "<length-percentage [0,∞]>",
320
- "prose": "The first value gives the width of the corresponding image, the second value its height. If only one value is given the second is assumed to be auto. A percentage is relative to the background positioning area. An auto value for one dimension is resolved by using the image’s natural aspect ratio and the size of the other dimension, or failing that, using the image’s natural size, or failing that, treating it as 100%. If both values are auto then the natural width and/or height of the image should be used, if any, the missing dimension (if any) behaving as auto as described above. If the image has neither natural size, its size is determined as for contain. Negative values are invalid.",
320
+ "prose": "The first value gives the width of the corresponding image, the second value its height. If only one value is given the second is assumed to be auto. A <percentage> is relative to the background positioning area. An auto value for one dimension is resolved by using the image’s natural aspect ratio and the size of the other dimension, or failing that, using the image’s natural size, or failing that, treating it as 100%. If both values are auto then the natural width and/or height of the image should be used, if any, the missing dimension (if any) behaving as auto as described above. If the image has neither natural size, its size is determined as for contain. Negative values are invalid.",
321
321
  "href": "https://drafts.csswg.org/css-backgrounds-3/#valdef-background-size-length-percentage-0",
322
322
  "type": "value",
323
323
  "value": "<length-percentage [0,∞]>"
324
324
  },
325
325
  {
326
326
  "name": "auto",
327
- "prose": "The first value gives the width of the corresponding image, the second value its height. If only one value is given the second is assumed to be auto. A percentage is relative to the background positioning area. An auto value for one dimension is resolved by using the image’s natural aspect ratio and the size of the other dimension, or failing that, using the image’s natural size, or failing that, treating it as 100%. If both values are auto then the natural width and/or height of the image should be used, if any, the missing dimension (if any) behaving as auto as described above. If the image has neither natural size, its size is determined as for contain. Negative values are invalid.",
327
+ "prose": "The first value gives the width of the corresponding image, the second value its height. If only one value is given the second is assumed to be auto. A <percentage> is relative to the background positioning area. An auto value for one dimension is resolved by using the image’s natural aspect ratio and the size of the other dimension, or failing that, using the image’s natural size, or failing that, treating it as 100%. If both values are auto then the natural width and/or height of the image should be used, if any, the missing dimension (if any) behaving as auto as described above. If the image has neither natural size, its size is determined as for contain. Negative values are invalid.",
328
328
  "href": "https://drafts.csswg.org/css-backgrounds-3/#valdef-background-size-auto",
329
329
  "type": "value",
330
330
  "value": "auto"
@@ -480,7 +480,7 @@
480
480
  },
481
481
  {
482
482
  "name": "auto",
483
- "prose": "If auto is specified then the border image width is the natural width or height (whichever is applicable) of the corresponding image slice (see border-image-slice). If the image does not have the required natural dimension then the corresponding computed border-width is used instead.",
483
+ "prose": "If auto is specified then the used border-image-width is the natural width or height (whichever is applicable) of the corresponding image slice (see border-image-slice). If the image does not have the required natural dimension then the corresponding computed border-width is used instead.",
484
484
  "href": "https://drafts.csswg.org/css-backgrounds-3/#valdef-border-image-width-auto",
485
485
  "type": "value",
486
486
  "value": "auto"
@@ -521,28 +521,28 @@
521
521
  "values": [
522
522
  {
523
523
  "name": "stretch",
524
- "prose": "The image is stretched to fill the area.",
524
+ "prose": "The image is stretched to fill its corresponding region.",
525
525
  "href": "https://drafts.csswg.org/css-backgrounds-3/#valdef-border-image-repeat-stretch",
526
526
  "type": "value",
527
527
  "value": "stretch"
528
528
  },
529
529
  {
530
530
  "name": "repeat",
531
- "prose": "The image is tiled (repeated) to fill the area.",
531
+ "prose": "The image is tiled (repeated) to fill its corresponding region.",
532
532
  "href": "https://drafts.csswg.org/css-backgrounds-3/#valdef-border-image-repeat-repeat",
533
533
  "type": "value",
534
534
  "value": "repeat"
535
535
  },
536
536
  {
537
537
  "name": "round",
538
- "prose": "The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does.",
538
+ "prose": "The image is tiled (repeated) to fill its corresponding region. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does.",
539
539
  "href": "https://drafts.csswg.org/css-backgrounds-3/#valdef-border-image-repeat-round",
540
540
  "type": "value",
541
541
  "value": "round"
542
542
  },
543
543
  {
544
544
  "name": "space",
545
- "prose": "The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles.",
545
+ "prose": "The image is tiled (repeated) to fill its corresponding region. If it does not fill the region with a whole number of tiles, the extra space is distributed around the tiles.",
546
546
  "href": "https://drafts.csswg.org/css-backgrounds-3/#valdef-border-image-repeat-space",
547
547
  "type": "value",
548
548
  "value": "space"
@@ -665,7 +665,7 @@
665
665
  },
666
666
  {
667
667
  "name": "groove",
668
- "prose": "Looks as if it were carved in the canvas. (This is typically achieved by creating a “shadow” from two colors that are slightly lighter and darker than the border-color.)",
668
+ "prose": "Looks as if it were carved in the canvas. (This is typically achieved by creating a “shadow” from two colors that are slightly lighter and darker than the specified border-color.)",
669
669
  "href": "https://drafts.csswg.org/css-backgrounds-3/#valdef-line-style-groove",
670
670
  "type": "value",
671
671
  "value": "groove"
@@ -686,7 +686,7 @@
686
686
  },
687
687
  {
688
688
  "name": "outset",
689
- "prose": "Looks as if the content on the inside of the border is coming out of the canvas. Treated as groove in the collapsing border model. [CSS2]",
689
+ "prose": "Looks as if the content on the inside of the border is raised out of the canvas. Treated as groove in the collapsing border model. [CSS2]",
690
690
  "href": "https://drafts.csswg.org/css-backgrounds-3/#valdef-line-style-outset",
691
691
  "type": "value",
692
692
  "value": "outset"
package/css-box.json CHANGED
@@ -108,28 +108,28 @@
108
108
  },
109
109
  {
110
110
  "name": "block-start",
111
- "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any descendant margins collapsed with such a margin (but not its own, its siblings’, or its ancestors’).",
111
+ "prose": "For in-flow boxes contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any descendant margins collapsed with such a margin (but not its own, its siblings’, or its ancestors’).",
112
112
  "href": "https://drafts.csswg.org/css-box-4/#valdef-margin-trim-block-start",
113
113
  "type": "value",
114
114
  "value": "block-start"
115
115
  },
116
116
  {
117
117
  "name": "inline-start",
118
- "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any descendant margins collapsed with such a margin (but not its own, its siblings’, or its ancestors’).",
118
+ "prose": "For in-flow boxes contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any descendant margins collapsed with such a margin (but not its own, its siblings’, or its ancestors’).",
119
119
  "href": "https://drafts.csswg.org/css-box-4/#valdef-margin-trim-inline-start",
120
120
  "type": "value",
121
121
  "value": "inline-start"
122
122
  },
123
123
  {
124
124
  "name": "inline-end",
125
- "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any descendant margins collapsed with such a margin (but not its own, its siblings’, or its ancestors’).",
125
+ "prose": "For in-flow boxes contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any descendant margins collapsed with such a margin (but not its own, its siblings’, or its ancestors’).",
126
126
  "href": "https://drafts.csswg.org/css-box-4/#valdef-margin-trim-inline-end",
127
127
  "type": "value",
128
128
  "value": "inline-end"
129
129
  },
130
130
  {
131
131
  "name": "block-end",
132
- "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any descendant margins collapsed with such a margin (but not its own, its siblings’, or its ancestors’).",
132
+ "prose": "For in-flow boxes contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any descendant margins collapsed with such a margin (but not its own, its siblings’, or its ancestors’).",
133
133
  "href": "https://drafts.csswg.org/css-box-4/#valdef-margin-trim-block-end",
134
134
  "type": "value",
135
135
  "value": "block-end"
package/css-text-4.json CHANGED
@@ -454,7 +454,7 @@
454
454
  {
455
455
  "name": "text-wrap-style",
456
456
  "href": "https://drafts.csswg.org/css-text-4/#propdef-text-wrap-style",
457
- "value": "auto| balance | stable | pretty",
457
+ "value": "auto | balance | stable | pretty",
458
458
  "initial": "auto",
459
459
  "appliesTo": "block containers hat establish an inline formatting context",
460
460
  "inherited": "yes",
@@ -120,7 +120,7 @@
120
120
  "appliesTo": "all elements",
121
121
  "inherited": "no",
122
122
  "percentages": "N/A",
123
- "computedValue": "specified keyword or absolute length",
123
+ "computedValue": "as specified, with <length-percentage> values computed",
124
124
  "canonicalOrder": "per grammar",
125
125
  "animationType": "by computed value",
126
126
  "values": [
@@ -235,7 +235,7 @@
235
235
  "appliesTo": "all elements",
236
236
  "inherited": "yes",
237
237
  "percentages": "N/A",
238
- "computedValue": "specified keyword or absolute length",
238
+ "computedValue": "as specified, with <length-percentage> values computed",
239
239
  "canonicalOrder": "per grammar",
240
240
  "animationType": "by computed value",
241
241
  "values": [
package/css-values.json CHANGED
@@ -538,7 +538,7 @@
538
538
  },
539
539
  {
540
540
  "name": "<position>",
541
- "prose": "The <position> value specifies the position of a object area (e.g. background image) inside a positioning area (e.g. background positioning area). It is interpreted as specified for background-position. [CSS3-BACKGROUND]",
541
+ "prose": "The <position> value specifies the position of a object area (e.g. background image) inside a positioning area (e.g. background positioning area). It is computed and interpreted as specified for background-position. [CSS3-BACKGROUND]",
542
542
  "href": "https://drafts.csswg.org/css-values-4/#typedef-position",
543
543
  "type": "type",
544
544
  "value": "[ [ left | center | right | top | bottom | <length-percentage> ] | [ left | center | right ] && [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ] | [ [ left | right ] <length-percentage> ] && [ [ top | bottom ] <length-percentage> ] ]"
@@ -606,11 +606,20 @@
606
606
  "prose": "The clamp() function takes three calculations—​a minimum value, a central value, and a maximum value—​and represents its central calculation, clamped according to its min and max calculations, favoring the min calculation if it conflicts with the max. (That is, given clamp(MIN, VAL, MAX), it represents exactly the same value as max(MIN, min(VAL, MAX))).",
607
607
  "href": "https://drafts.csswg.org/css-values-4/#funcdef-clamp",
608
608
  "type": "function",
609
- "value": "clamp( <calc-sum>#{3} )"
609
+ "value": "clamp( [ <calc-sum> | none ], <calc-sum>, [ <calc-sum> | none ] )",
610
+ "values": [
611
+ {
612
+ "name": "none",
613
+ "prose": "Either the min or max calculations (or even both) can instead be the keyword none, which indicates the value is not clamped from that side. (That is, clamp(MIN, VAL, none) is equivalent to max(MIN, VAL), clamp(none, VAL, MAX) is equivalent to min(VAL, MAX), and clamp(none, VAL, none) is equivalent to just calc(VAL).)",
614
+ "href": "https://drafts.csswg.org/css-values-4/#valdef-clamp-none",
615
+ "type": "value",
616
+ "value": "none"
617
+ }
618
+ ]
610
619
  },
611
620
  {
612
621
  "name": "round()",
613
- "value": "round( <rounding-strategy>?, <calc-sum>, <calc-sum> )",
622
+ "value": "round( <rounding-strategy>?, <calc-sum>, <calc-sum>? )",
614
623
  "href": "https://drafts.csswg.org/css-values-4/#funcdef-round",
615
624
  "type": "function"
616
625
  },
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.12.2",
4
+ "version": "6.12.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"