@webref/css 6.6.2 → 6.7.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.
@@ -167,7 +167,7 @@
167
167
  "values": [
168
168
  {
169
169
  "name": "<counter-style-name>",
170
- "prose": "<counter-style-name> is a <custom-ident> that is not an ASCII case-insensitive match for none. When used here, to define a counter style, it also cannot be any of the non-overrideable counter-style names (in other uses that merely reference a counter style, such as the extend system, these are allowed). The <counter-style-name> is a tree-scoped name.",
170
+ "prose": "<counter-style-name> is a <custom-ident> that is not an ASCII case-insensitive match for none. When used here, to define a counter style, it also cannot be any of the non-overridable counter-style names (in other uses that merely reference a counter style, such as the extend system, these are allowed). The <counter-style-name> is a tree-scoped name.",
171
171
  "type": "type",
172
172
  "values": [
173
173
  {
package/css-display.json CHANGED
@@ -73,7 +73,7 @@
73
73
  "values": [
74
74
  {
75
75
  "name": "<integer>",
76
- "prose": "The reading-order property controls the order in which elements are rendered to speech or are navigated to when using (linear) sequention navigation methods. It takes a single <integer> value, which specifies which ordinal group the item belongs to. Sibling elements are ordered starting from the lowest numbered ordinal group and going up; elements with the same ordinal group are keep the order they appear in the source document.",
76
+ "prose": "The reading-order property controls the order in which elements are rendered to speech or are navigated to when using (linear) sequential navigation methods. It takes a single <integer> value, which specifies which ordinal group the item belongs to. Sibling elements are ordered starting from the lowest numbered ordinal group and going up; elements with the same ordinal group are keep the order they appear in the source document.",
77
77
  "type": "value",
78
78
  "value": "<integer>"
79
79
  }
package/css-fonts.json CHANGED
@@ -378,10 +378,39 @@
378
378
  "fontSynthesisSmallCaps"
379
379
  ]
380
380
  },
381
+ {
382
+ "name": "font-synthesis-position",
383
+ "value": "auto | none",
384
+ "initial": "auto",
385
+ "appliesTo": "all elements and text",
386
+ "inherited": "yes",
387
+ "percentages": "N/A",
388
+ "computedValue": "specified keyword",
389
+ "canonicalOrder": "per grammar",
390
+ "animationType": "discrete",
391
+ "values": [
392
+ {
393
+ "name": "auto",
394
+ "prose": "Synthesis of superscript and subscript forms is required",
395
+ "type": "value",
396
+ "value": "auto"
397
+ },
398
+ {
399
+ "name": "none",
400
+ "prose": "Synthesis of superscript and subscript forms is not allowed",
401
+ "type": "value",
402
+ "value": "none"
403
+ }
404
+ ],
405
+ "styleDeclaration": [
406
+ "font-synthesis-position",
407
+ "fontSynthesisPosition"
408
+ ]
409
+ },
381
410
  {
382
411
  "name": "font-synthesis",
383
- "value": "none | [ weight || style || small-caps]",
384
- "initial": "weight style small-caps",
412
+ "value": "none | [ weight || style || small-caps || position]",
413
+ "initial": "weight style small-caps position",
385
414
  "appliesTo": "all elements and text",
386
415
  "inherited": "yes",
387
416
  "percentages": "N/A",
package/css-grid.json CHANGED
@@ -29,7 +29,7 @@
29
29
  },
30
30
  {
31
31
  "name": "subgrid <line-name-list>?",
32
- "prose": "The subgrid value indicates that the grid will adopt the spanned portion of its parent grid in that axis (the subgridded axis). Rather than being specified explicitly, the sizes of the grid rows/columns will be taken from the parent grid's definition, and the subgrid’s items will participate in the intrinsic size calculations (CSS Grid Layout 1 § 11.5 Resolve Intrinsic Track Sizes) of any tracks shared with the parent grid. Essentially, subgrids provide the ability to pass grid parameters down through nested elements, and content-based sizing information back up to their parent grid. The <line-name-list> argument allows local naming of the grid lines shared with the parent grid: if a <line-name-list> is given, the specified <line-names>s are assigned to the lines of the subgrid’s explicit grid, one per line, starting with line 1. Excess <line-names> are ignored. If there is no parent grid, or if the grid container is otherwised forced to establish an independent formatting context (for example, due to layout containment [CSS-CONTAIN-2] or absolute positioning [CSS-POSITION-3]), the used value is the initial value, none, and the grid container is not a subgrid. An axis that is not subgridded is a standalone axis.",
32
+ "prose": "The subgrid value indicates that the grid will adopt the spanned portion of its parent grid in that axis (the subgridded axis). Rather than being specified explicitly, the sizes of the grid rows/columns will be taken from the parent grid's definition, and the subgrid’s items will participate in the intrinsic size calculations (CSS Grid Layout 1 § 11.5 Resolve Intrinsic Track Sizes) of any tracks shared with the parent grid. Essentially, subgrids provide the ability to pass grid parameters down through nested elements, and content-based sizing information back up to their parent grid. The <line-name-list> argument allows local naming of the grid lines shared with the parent grid: if a <line-name-list> is given, the specified <line-names>s are assigned to the lines of the subgrid’s explicit grid, one per line, starting with line 1. Excess <line-names> are ignored. If there is no parent grid, or if the grid container is otherwise forced to establish an independent formatting context (for example, due to layout containment [CSS-CONTAIN-2] or absolute positioning [CSS-POSITION-3]), the used value is the initial value, none, and the grid container is not a subgrid. An axis that is not subgridded is a standalone axis.",
33
33
  "type": "value",
34
34
  "value": "subgrid <line-name-list>?"
35
35
  },
@@ -52,8 +52,8 @@
52
52
  },
53
53
  {
54
54
  "name": "minmax()",
55
- "value": "minmax()",
56
- "type": "value"
55
+ "value": "minmax(min, max)",
56
+ "type": "function"
57
57
  },
58
58
  {
59
59
  "name": "auto",
@@ -75,8 +75,8 @@
75
75
  },
76
76
  {
77
77
  "name": "fit-content()",
78
- "value": "fit-content()",
79
- "type": "value"
78
+ "value": "fit-content( <length-percentage> )",
79
+ "type": "function"
80
80
  }
81
81
  ],
82
82
  "styleDeclaration": [
@@ -109,7 +109,7 @@
109
109
  },
110
110
  {
111
111
  "name": "subgrid <line-name-list>?",
112
- "prose": "The subgrid value indicates that the grid will adopt the spanned portion of its parent grid in that axis (the subgridded axis). Rather than being specified explicitly, the sizes of the grid rows/columns will be taken from the parent grid's definition, and the subgrid’s items will participate in the intrinsic size calculations (CSS Grid Layout 1 § 11.5 Resolve Intrinsic Track Sizes) of any tracks shared with the parent grid. Essentially, subgrids provide the ability to pass grid parameters down through nested elements, and content-based sizing information back up to their parent grid. The <line-name-list> argument allows local naming of the grid lines shared with the parent grid: if a <line-name-list> is given, the specified <line-names>s are assigned to the lines of the subgrid’s explicit grid, one per line, starting with line 1. Excess <line-names> are ignored. If there is no parent grid, or if the grid container is otherwised forced to establish an independent formatting context (for example, due to layout containment [CSS-CONTAIN-2] or absolute positioning [CSS-POSITION-3]), the used value is the initial value, none, and the grid container is not a subgrid. An axis that is not subgridded is a standalone axis.",
112
+ "prose": "The subgrid value indicates that the grid will adopt the spanned portion of its parent grid in that axis (the subgridded axis). Rather than being specified explicitly, the sizes of the grid rows/columns will be taken from the parent grid's definition, and the subgrid’s items will participate in the intrinsic size calculations (CSS Grid Layout 1 § 11.5 Resolve Intrinsic Track Sizes) of any tracks shared with the parent grid. Essentially, subgrids provide the ability to pass grid parameters down through nested elements, and content-based sizing information back up to their parent grid. The <line-name-list> argument allows local naming of the grid lines shared with the parent grid: if a <line-name-list> is given, the specified <line-names>s are assigned to the lines of the subgrid’s explicit grid, one per line, starting with line 1. Excess <line-names> are ignored. If there is no parent grid, or if the grid container is otherwise forced to establish an independent formatting context (for example, due to layout containment [CSS-CONTAIN-2] or absolute positioning [CSS-POSITION-3]), the used value is the initial value, none, and the grid container is not a subgrid. An axis that is not subgridded is a standalone axis.",
113
113
  "type": "value",
114
114
  "value": "subgrid <line-name-list>?"
115
115
  },
@@ -132,8 +132,8 @@
132
132
  },
133
133
  {
134
134
  "name": "minmax()",
135
- "value": "minmax()",
136
- "type": "value"
135
+ "value": "minmax(min, max)",
136
+ "type": "function"
137
137
  },
138
138
  {
139
139
  "name": "auto",
@@ -155,8 +155,8 @@
155
155
  },
156
156
  {
157
157
  "name": "fit-content()",
158
- "value": "fit-content()",
159
- "type": "value"
158
+ "value": "fit-content( <length-percentage> )",
159
+ "type": "function"
160
160
  }
161
161
  ],
162
162
  "styleDeclaration": [
package/css-images-4.json CHANGED
@@ -227,7 +227,7 @@
227
227
  {
228
228
  "name": "<linear-color-stop>",
229
229
  "type": "type",
230
- "value": "<color> && <color-stop-length>?"
230
+ "value": "<color> <color-stop-length>?"
231
231
  },
232
232
  {
233
233
  "name": "<linear-color-hint>",
@@ -247,7 +247,7 @@
247
247
  {
248
248
  "name": "<angular-color-stop>",
249
249
  "type": "type",
250
- "value": "<color> && <color-stop-angle>?"
250
+ "value": "<color> <color-stop-angle>?"
251
251
  },
252
252
  {
253
253
  "name": "<angular-color-hint>",
@@ -298,7 +298,7 @@
298
298
  },
299
299
  {
300
300
  "name": "<color-stripe>",
301
- "prose": "Each <color-stripe> entry defines a solid-color stripe with the specified <color> and thickness. If the thickness is omitted, it defaults to 1fr. Thickness values are intepreted as follows:",
301
+ "prose": "Each <color-stripe> entry defines a solid-color stripe with the specified <color> and thickness. If the thickness is omitted, it defaults to 1fr. Thickness values are interpreted as follows:",
302
302
  "type": "type",
303
303
  "value": "<color> && [ <length-percentage> | <flex> ]?"
304
304
  },
package/css-masking.json CHANGED
@@ -592,7 +592,7 @@
592
592
  {
593
593
  "name": "<mask-layer>",
594
594
  "type": "type",
595
- "value": "<mask-reference> || <position> [ / <bg-size> ]? ||<repeat-style> || <geometry-box> || [ <geometry-box> | no-clip ] || <compositing-operator> || <masking-mode>"
595
+ "value": "<mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || <geometry-box> || [ <geometry-box> | no-clip ] || <compositing-operator> || <masking-mode>"
596
596
  }
597
597
  ],
598
598
  "warnings": [
@@ -23,7 +23,7 @@
23
23
  {
24
24
  "name": "initial-value",
25
25
  "for": "@property",
26
- "value": "<declaration-value>",
26
+ "value": "<declaration-value>?",
27
27
  "initial": "the guaranteed-invalid value (but see prose)"
28
28
  }
29
29
  ],
package/css-regions.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "properties": [
7
7
  {
8
8
  "name": "flow-into",
9
- "value": "none | <ident> [element|content]?",
9
+ "value": "none | <ident> [element | content]?",
10
10
  "initial": "none",
11
11
  "appliesTo": "All elements, but not pseudo-elements such as ::first-line, ::first-letter, ::before or ::after.",
12
12
  "inherited": "no",
package/css-sizing.json CHANGED
@@ -42,8 +42,8 @@
42
42
  },
43
43
  {
44
44
  "name": "fit-content()",
45
- "value": "fit-content()",
46
- "type": "value"
45
+ "value": "fit-content(<length-percentage [0,∞]>)",
46
+ "type": "function"
47
47
  }
48
48
  ],
49
49
  "styleDeclaration": [
@@ -88,8 +88,8 @@
88
88
  },
89
89
  {
90
90
  "name": "fit-content()",
91
- "value": "fit-content()",
92
- "type": "value"
91
+ "value": "fit-content(<length-percentage [0,∞]>)",
92
+ "type": "function"
93
93
  }
94
94
  ],
95
95
  "styleDeclaration": [
@@ -134,8 +134,8 @@
134
134
  },
135
135
  {
136
136
  "name": "fit-content()",
137
- "value": "fit-content()",
138
- "type": "value"
137
+ "value": "fit-content(<length-percentage [0,∞]>)",
138
+ "type": "function"
139
139
  }
140
140
  ],
141
141
  "styleDeclaration": [
@@ -181,8 +181,8 @@
181
181
  },
182
182
  {
183
183
  "name": "fit-content()",
184
- "value": "fit-content()",
185
- "type": "value"
184
+ "value": "fit-content(<length-percentage [0,∞]>)",
185
+ "type": "function"
186
186
  }
187
187
  ],
188
188
  "styleDeclaration": [
@@ -228,8 +228,8 @@
228
228
  },
229
229
  {
230
230
  "name": "fit-content()",
231
- "value": "fit-content()",
232
- "type": "value"
231
+ "value": "fit-content(<length-percentage [0,∞]>)",
232
+ "type": "function"
233
233
  }
234
234
  ],
235
235
  "styleDeclaration": [
@@ -275,8 +275,8 @@
275
275
  },
276
276
  {
277
277
  "name": "fit-content()",
278
- "value": "fit-content()",
279
- "type": "value"
278
+ "value": "fit-content(<length-percentage [0,∞]>)",
279
+ "type": "function"
280
280
  }
281
281
  ],
282
282
  "styleDeclaration": [
package/css-text-4.json CHANGED
@@ -76,7 +76,7 @@
76
76
  },
77
77
  {
78
78
  "name": "normal",
79
- "prose": "The user agent must not insert virtual word boundaries, except within runs of characters belonging to Southeast Asian languages, where content analysis must be performed to determine where to insert virtual word boundaries. As with manual, typographic character units with class SA in [UAX14] must be treated as if they had class AL; however, the user agent must additionally analyse the content of a run of such characters and insert virtual word boundaries where appropriate. Within the constraints set by this specification, the specific algorithm used is UA-dependent. As various languages can be written in scripts which use the characters with class SA, if the content language is known, the user agent should use this information to tailor its analysis. In order to avoid unexpected overflow, if the user agent is unable to perform this analysis for any subset of the characters with class SA—for example due to lacking a dictionary for certain languages—there must be a soft wrap opportunity between pairs of typographic letter units in that subset.",
79
+ "prose": "The user agent must not insert virtual word boundaries, except within runs of characters belonging to Southeast Asian languages, where content analysis must be performed to determine where to insert virtual word boundaries. As with manual, typographic character units with class SA in [UAX14] must be treated as if they had class AL; however, the user agent must additionally analyze the content of a run of such characters and insert virtual word boundaries where appropriate. Within the constraints set by this specification, the specific algorithm used is UA-dependent. As various languages can be written in scripts which use the characters with class SA, if the content language is known, the user agent should use this information to tailor its analysis. In order to avoid unexpected overflow, if the user agent is unable to perform this analysis for any subset of the characters with class SA—for example due to lacking a dictionary for certain languages—there must be a soft wrap opportunity between pairs of typographic letter units in that subset.",
80
80
  "type": "value",
81
81
  "value": "normal"
82
82
  },
@@ -3,7 +3,23 @@
3
3
  "title": "CSS Transitions Level 2",
4
4
  "url": "https://drafts.csswg.org/css-transitions-2/"
5
5
  },
6
- "properties": [],
6
+ "properties": [
7
+ {
8
+ "name": "transition-behavior",
9
+ "value": "<transition-behavior-value>#",
10
+ "initial": "normal",
11
+ "appliesTo": "all elements",
12
+ "inherited": "no",
13
+ "percentages": "N/A",
14
+ "computedValue": "as specified",
15
+ "canonicalOrder": "per grammar",
16
+ "animationType": "not animatable",
17
+ "styleDeclaration": [
18
+ "transition-behavior",
19
+ "transitionBehavior"
20
+ ]
21
+ }
22
+ ],
7
23
  "atrules": [
8
24
  {
9
25
  "name": "@starting-style",
@@ -12,5 +28,16 @@
12
28
  }
13
29
  ],
14
30
  "selectors": [],
15
- "values": []
31
+ "values": [
32
+ {
33
+ "name": "<transition-behavior-value>",
34
+ "value": "normal | allow-discrete",
35
+ "type": "type"
36
+ },
37
+ {
38
+ "name": "<single-transition>",
39
+ "value": "[ none | <single-transition-property> ] || <time> || <easing-function> || <time> || <transition-behavior-value>",
40
+ "type": "type"
41
+ }
42
+ ]
16
43
  }
package/css-ui.json CHANGED
@@ -50,20 +50,26 @@
50
50
  },
51
51
  {
52
52
  "name": "outline-color",
53
- "value": "[ <color> | <image-1D> ] | invert",
54
- "initial": "invert",
53
+ "value": "auto | [ <color> | <image-1D> ] | invert",
54
+ "initial": "auto",
55
55
  "appliesTo": "all elements",
56
56
  "inherited": "no",
57
57
  "percentages": "N/A",
58
- "computedValue": "The computed value for invert is invert. For <color> values, see CSS Color 4 § 14. Resolving <color> Values in [CSS-COLOR-4]. For <image-1D> values, see CSS Images 4 § 4 1D Image Values: the <image-1D> type and stripes() notation in [CSS-IMAGES-4].",
58
+ "computedValue": "see below",
59
59
  "canonicalOrder": "per grammar",
60
60
  "animationType": "by computed value",
61
61
  "values": [
62
62
  {
63
63
  "name": "invert",
64
- "prose": "The outline-color property accepts all values of <border-color>, as well as the keyword invert. invert is expected to perform a color inversion on the pixels on the screen. This is a common trick to ensure the focus border is visible, regardless of color background.",
64
+ "prose": "the user agent is expected to perform a color inversion on the pixels on the screen. This is a common trick to ensure the focus border is visible, regardless of color background. Conformant UAs may ignore the invert value on platforms that do not support color inversion of the pixels on the screen. If the UA does not support the invert value, then it must reject that value at parse-time, and the initial value of the outline-color property is the currentColor keyword.",
65
65
  "type": "value",
66
66
  "value": "invert"
67
+ },
68
+ {
69
+ "name": "auto",
70
+ "prose": "When outline-style is auto, outline-color: auto represents the accent color. When outline-style is not auto, outline-color: auto computes to another value (see below).",
71
+ "type": "value",
72
+ "value": "auto"
67
73
  }
68
74
  ],
69
75
  "styleDeclaration": [
@@ -673,7 +679,7 @@
673
679
  "values": [
674
680
  {
675
681
  "name": "<outline-line-style>",
676
- "prose": "<outline-line-style> accepts the same values as <line-style> (CSS Backgrounds 3 § 3.2 Line Patterns: the border-style properties) with the same meaning, except that hidden is not a legal outline style. In addition, the outline-style property accepts the value auto. The auto value permits the user agent to render a custom outline style, typically a style which is either a user interface default for the platform, or perhaps a style that is richer than can be described in detail in CSS, e.g. a rounded edge outline with semi-translucent outer pixels that appears to glow. As such, this specification does not define how the outline-color and outline-width are incorporated or used (if at all) when rendering auto style outlines. User agents may treat auto as solid.",
682
+ "prose": "<outline-line-style> accepts the same values as <line-style> (CSS Backgrounds 3 § 3.2 Line Patterns: the border-style properties) with the same meaning, except that hidden is not a legal outline style. In addition, the outline-style property accepts the value auto.",
677
683
  "type": "type"
678
684
  },
679
685
  {
package/motion.json CHANGED
@@ -42,7 +42,7 @@
42
42
  },
43
43
  {
44
44
  "name": "<basic-shape>",
45
- "prose": "The offset path is the equivalent path of the <basic-shape> function. For all <basic-shape>s, if they accept an ''at <position>'' argument but that argument is omitted, and the element defines an offset starting position via offset-position, it uses the specified offset starting position for that argument. Otherwise it defaults as specified for each function. The <coord-box> provides the [=/reference box=] for the <basic-shape>.",
45
+ "prose": "The offset path is the equivalent path of the <basic-shape> function. For all <basic-shape>s, if they accept an at <position> argument but that argument is omitted, and the element defines an offset starting position via offset-position, it uses the specified offset starting position for that argument. Otherwise it defaults as specified for each function. The <coord-box> provides the [=/reference box=] for the <basic-shape>.",
46
46
  "type": "value",
47
47
  "value": "<basic-shape>"
48
48
  },
@@ -77,7 +77,7 @@
77
77
  {
78
78
  "name": "offset-position",
79
79
  "value": "normal | auto | <position>",
80
- "initial": "auto",
80
+ "initial": "normal",
81
81
  "appliesTo": "transformable elements",
82
82
  "inherited": "no",
83
83
  "percentages": "Refer to the size of containing block",
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.6.2",
4
+ "version": "6.7.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -198,7 +198,7 @@
198
198
  },
199
199
  {
200
200
  "name": "view-timeline",
201
- "value": "[ <'view-timeline-name'> <'view-timeline-axis'>? ]#",
201
+ "value": "[ <'view-timeline-name'> [ <'view-timeline-axis'> || <'view-timeline-inset'> ]? ]#",
202
202
  "initial": "see individual properties",
203
203
  "appliesTo": "all elements",
204
204
  "inherited": "see individual properties",