@webref/css 4.2.1 → 4.3.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.
Files changed (47) hide show
  1. package/CSS.json +27 -0
  2. package/compat.json +8 -17
  3. package/css-animations-2.json +3 -3
  4. package/css-animations.json +3 -0
  5. package/css-cascade-6.json +6 -0
  6. package/css-color-5.json +21 -6
  7. package/css-color.json +23 -1
  8. package/css-conditional-5.json +2 -2
  9. package/css-contain-3.json +9 -0
  10. package/css-content.json +9 -8
  11. package/css-counter-styles.json +3 -0
  12. package/css-easing.json +19 -7
  13. package/css-extensions.json +3 -0
  14. package/css-fonts.json +12 -30
  15. package/css-grid.json +6 -3
  16. package/css-highlight-api.json +13 -0
  17. package/css-images-4.json +15 -15
  18. package/css-images.json +8 -8
  19. package/css-lists.json +3 -0
  20. package/css-masking.json +15 -6
  21. package/css-overflow.json +4 -4
  22. package/css-page-floats.json +2 -2
  23. package/css-page.json +3 -3
  24. package/css-position.json +1 -8
  25. package/css-shapes-2.json +14 -19
  26. package/css-shapes.json +9 -7
  27. package/css-size-adjust.json +1 -5
  28. package/css-sizing.json +1 -5
  29. package/css-syntax.json +95 -4
  30. package/css-text-4.json +2 -11
  31. package/css-text.json +1 -8
  32. package/css-transforms-2.json +3 -0
  33. package/css-transforms.json +5 -2
  34. package/css-ui.json +10 -4
  35. package/css-values-5.json +10 -0
  36. package/css-values.json +121 -25
  37. package/css-variables.json +3 -0
  38. package/fill-stroke.json +0 -3
  39. package/filter-effects.json +6 -6
  40. package/mediaqueries-5.json +6 -0
  41. package/mediaqueries.json +6 -0
  42. package/motion.json +0 -3
  43. package/package.json +1 -1
  44. package/scroll-animations.json +0 -3
  45. package/selectors.json +6 -0
  46. package/css-layout-api.json +0 -13
  47. package/svg-animations.json +0 -13
package/CSS.json CHANGED
@@ -67,6 +67,33 @@
67
67
  },
68
68
  "descriptors": {},
69
69
  "valuespaces": {
70
+ "<uri>": {
71
+ "prose": "URI values (Uniform Resource Identifiers, see [RFC3986], which includes URLs, URNs, etc) in this specification are denoted by <uri>. The functional notation used to designate URIs in property values is \"url()\", as in:"
72
+ },
73
+ "<Counters>": {
74
+ "prose": "Counters are denoted by case-sensitive identifiers (see the counter-increment and counter-reset properties). To refer to the value of a counter, the notation counter(<identifier>) or 'counter(<identifier>, <'list-style-type>), with optional white space separating the tokens, is used. The default style is decimal."
75
+ },
76
+ "<counter(<identifier>)>": {
77
+ "prose": "Counters are denoted by case-sensitive identifiers (see the counter-increment and counter-reset properties). To refer to the value of a counter, the notation counter(<identifier>) or 'counter(<identifier>, <'list-style-type>), with optional white space separating the tokens, is used. The default style is decimal."
78
+ },
79
+ "<counters(<identifier>, <string>)>": {
80
+ "prose": "To refer to a sequence of nested counters of the same name, the notation is counters(<identifier>, <string>) or 'counters(<identifier>, <string>, <'list-style-type>) with optional white space separating the tokens."
81
+ },
82
+ "<Strings>": {
83
+ "prose": "Strings can either be written with double quotes or with single quotes. Double quotes cannot occur inside double quotes, unless escaped (e.g., as \\\" or as \\22). Analogously for single quotes (e.g., \"\\'\" or \"\\27\")."
84
+ },
85
+ "<margin-width>": {
86
+ "prose": "The properties defined in this section refer to the <margin-width> value type, which may take one of the following values:"
87
+ },
88
+ "<padding-width>": {
89
+ "prose": "The properties defined in this section refer to the <padding-width> value type, which may take one of the following values:"
90
+ },
91
+ "<border-width>": {
92
+ "prose": "The border width properties specify the width of the border area. The properties defined in this section refer to the <border-width> value type, which may take one of the following values:"
93
+ },
94
+ "<border-style>": {
95
+ "prose": "The border style properties specify the line style of a box’s border (solid, double, dashed, etc.). The properties defined in this section refer to the <border-style> value type, which may take one of the following values:"
96
+ },
70
97
  "<shape>": {
71
98
  "prose": "In CSS 2, the only valid <shape> value is: rect(<top>, <right>, <bottom>, <left>) where <top> and <bottom> specify offsets from the top border edge of the box, and <right>, and <left> specify offsets from the left border edge of the box. Authors should separate offset values with commas. User agents must support separation with commas, but may also support separation without commas (but not a combination), because a previous revision of this specification was ambiguous in this respect. <top>, <right>, <bottom>, and <left> may either have a <length> value or auto. Negative lengths are permitted. The value auto means that a given edge of the clipping region will be the same as the edge of the element’s generated border box (i.e., auto means the same as 0 for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four auto values result in the clipping region being the same as the element’s border box). When coordinates are rounded to pixel coordinates, care should be taken that no pixels remain visible when <left> and <right> have the same value (or <top> and <bottom> have the same value), and conversely that no pixels within the element’s border box remain hidden when these values are auto."
72
99
  }
package/compat.json CHANGED
@@ -4,23 +4,6 @@
4
4
  "url": "https://compat.spec.whatwg.org/"
5
5
  },
6
6
  "properties": {
7
- "-webkit-background-clip": {
8
- "name": "-webkit-background-clip",
9
- "value": "border-box | padding-box | content-box | text",
10
- "initial": "none",
11
- "appliesTo": "all elements",
12
- "inherited": "no",
13
- "percentages": "N/A",
14
- "computedValue": "\"text\"",
15
- "canonicalOrder": "per grammar",
16
- "animationType": "discrete",
17
- "media": "visual",
18
- "styleDeclaration": [
19
- "-webkit-background-clip",
20
- "WebkitBackgroundClip",
21
- "webkitBackgroundClip"
22
- ]
23
- },
24
7
  "-webkit-text-fill-color": {
25
8
  "name": "-webkit-text-fill-color",
26
9
  "value": "<color>",
@@ -209,6 +192,14 @@
209
192
  "webkitBackfaceVisibility"
210
193
  ]
211
194
  },
195
+ "-webkit-background-clip": {
196
+ "name": "-webkit-background-clip",
197
+ "styleDeclaration": [
198
+ "-webkit-background-clip",
199
+ "WebkitBackgroundClip",
200
+ "webkitBackgroundClip"
201
+ ]
202
+ },
212
203
  "-webkit-background-origin": {
213
204
  "name": "-webkit-background-origin",
214
205
  "styleDeclaration": [
@@ -40,14 +40,14 @@
40
40
  "<single-animation-composition>": {
41
41
  "value": "replace | add | accumulate"
42
42
  },
43
- "<single-animation-timeline>": {
44
- "value": "auto | none | <timeline-name>"
45
- },
46
43
  "<timeline-name>": {
47
44
  "value": "<custom-ident> | <string>"
48
45
  },
49
46
  "<single-animation>": {
50
47
  "value": "<time> || <easing-function> || <time> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ] || <single-animation-timeline>"
48
+ },
49
+ "<single-animation-timeline>": {
50
+ "value": "auto | none | <timeline-name>"
51
51
  }
52
52
  }
53
53
  }
@@ -156,6 +156,9 @@
156
156
  "<single-animation>": {
157
157
  "value": "<time> || <easing-function> || <time> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ]"
158
158
  },
159
+ "<AnimationEvent(type, animationEventInitDict)>": {
160
+ "prose": "AnimationEvent(type, animationEventInitDict) is an event constructor."
161
+ },
159
162
  "<keyframes-name>": {
160
163
  "value": "<custom-ident> | <string>"
161
164
  },
@@ -6,6 +6,12 @@
6
6
  "properties": {},
7
7
  "descriptors": {},
8
8
  "valuespaces": {
9
+ "<scope-start>": {
10
+ "prose": "The <scope-start> is a <forgiving-selector-list>. Each element matched by <scope-start> is a scoping element, creating a scope with itself as the scoping root."
11
+ },
12
+ "<scope-end>": {
13
+ "prose": "The <scope-end> is a <forgiving-selector-list> that is scoped by the <scope-start> selector, with the scoping roots as :scope elements. Each element matched by <scope-end> is a scoping limit. The scoping limit elements define the lower bounds of a scope, so that scoped selectors are not able to match any elements nested within them."
14
+ },
9
15
  "<selector-scope>": {
10
16
  "value": "( <scope-start> [/ <scope-end>]? )"
11
17
  }
package/css-color-5.json CHANGED
@@ -34,17 +34,14 @@
34
34
  "<color-mix()>": {
35
35
  "value": "color-mix( <color-interpolation-method> , [ <color> && <percentage [0,100]>? ]#{2})"
36
36
  },
37
- "<color-contrast()>": {
38
- "value": "color-contrast( <color> vs <color>#{2,} [ to [<number> | AA | AA-large | AAA | AAA-large]]? )"
39
- },
40
37
  "<rgb()>": {
41
- "value": "rgb( [<percentage> | none]{3} [ / [<alpha-value> | none] ]? ) | rgb( [<number> | none]{3} [ / [<alpha-value> | none] ]? rgb( [ from <color> ]? [ <number> | <percentage> | none]{3} [ / [<alpha-value> | none] ]? )"
38
+ "value": "rgb( [<percentage> | none]{3} [ / [<alpha-value> | none] ]? ) | rgb( [<number> | none]{3} [ / [<alpha-value> | none] ]? ) | rgb( [ from <color> ]? [ <number> | <percentage> | none]{3} [ / [<alpha-value> | none] ]? )"
42
39
  },
43
40
  "<alpha-value>": {
44
41
  "value": "<number> | <percentage>"
45
42
  },
46
43
  "<hsl()>": {
47
- "value": "hsl(([from <color>]? [<hue> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
44
+ "value": "hsl([from <color>]? [<hue> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
48
45
  },
49
46
  "<hwb()>": {
50
47
  "value": "hwb([from <color>]? [<hue> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
@@ -62,7 +59,25 @@
62
59
  "value": "oklch([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )"
63
60
  },
64
61
  "<color()>": {
65
- "value": "color( [from <color>]? <colorspace-params> [ / <alpha-value> ]? )"
62
+ "value": "color( [from <color>]? <colorspace-params> [ / [ <alpha-value> | none ] ]? )"
63
+ },
64
+ "<colorspace-params>": {
65
+ "value": "[<custom-params> | <predefined-rgb-params> | <xyz-params>]"
66
+ },
67
+ "<custom-params>": {
68
+ "value": "<dashed-ident> [ <number> | <percentage> | none ]#"
69
+ },
70
+ "<predefined-rgb-params>": {
71
+ "value": "<predefined-rgb> [ <number> | <percentage> | none ]{3}"
72
+ },
73
+ "<predefined-rgb>": {
74
+ "value": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020"
75
+ },
76
+ "<xyz-params>": {
77
+ "value": "<xyz> [ <number> | <percentage> | none ]{3}"
78
+ },
79
+ "<xyz>": {
80
+ "value": "xyz | xyz-d50 | xyz-d65"
66
81
  },
67
82
  "<device-cmyk()>": {
68
83
  "value": "device-cmyk( <cmyk-component>{4} [ / <alpha-value> ]? )"
package/css-color.json CHANGED
@@ -36,8 +36,30 @@
36
36
  "descriptors": {},
37
37
  "valuespaces": {
38
38
  "<color>": {
39
+ "prose": "Colors in CSS are represented by the <color> type:",
39
40
  "value": "<absolute-color-base> | currentcolor | <system-color> | <device-cmyk()>"
40
41
  },
42
+ "<rgba()>": {
43
+ "prose": "Also, an rgba() legacy color syntax also exists, with an identical grammar and behavior to rgb()."
44
+ },
45
+ "<hex-color>": {
46
+ "prose": "The syntax of a <hex-color> is a <hash-token> token whose value consists of 3, 4, 6, or 8 hexadecimal digits. In other words, a hex color is written as a hash character, \"#\", followed by some number of digits 0-9 or letters a-f (the case of the letters doesn’t matter - #00ff00 is identical to #00FF00)."
47
+ },
48
+ "<named-color>": {
49
+ "prose": "CSS defines a large set of named colors, so that common colors can be written and read more easily. A <named-color> is written as an <ident>, accepted anywhere a <color> is. As usual for CSS-defined <ident>s, all of these keywords are ASCII case-insensitive."
50
+ },
51
+ "<system-color>": {
52
+ "prose": "However, in forced colors mode, most colors on the page are forced into a restricted, user-chosen palette. The <system-color> keywords expose these user-chosen colors so that the rest of the page can integrate with this restricted palette."
53
+ },
54
+ "<hsla()>": {
55
+ "prose": "Also, an hsla() legacy color syntax also exists, with an identical grammar and behavior to hsl()."
56
+ },
57
+ "<deprecated-color>": {
58
+ "prose": "The deprecated system colors are represented as the <deprecated-color> sub-type, and are defined as:"
59
+ },
60
+ "<quirky-color>": {
61
+ "prose": "When CSS is being parsed in quirks mode, <quirky-color> is a type of <color> that is only valid in certain properties:"
62
+ },
41
63
  "<absolute-color-base>": {
42
64
  "value": "<hex-color> | <named-color> | transparent | <rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <color()>"
43
65
  },
@@ -71,7 +93,7 @@
71
93
  "value": "oklch( [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ <hue> | none] [ / [<alpha-value> | none] ]? )"
72
94
  },
73
95
  "<color()>": {
74
- "value": "color( <colorspace-params> [ / <alpha-value> ]? )"
96
+ "value": "color( <colorspace-params> [ / [ <alpha-value> | none ] ]? )"
75
97
  },
76
98
  "<colorspace-params>": {
77
99
  "value": "[ <predefined-rgb-params> | <xyz-params>]"
@@ -10,13 +10,13 @@
10
10
  "value": "<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-decl>"
11
11
  },
12
12
  "<supports-font-tech-fn>": {
13
- "value": "font-tech ( <font-tech> )"
13
+ "value": "font-tech( <font-tech> )"
14
14
  },
15
15
  "<font-tech>": {
16
16
  "value": "[ features-opentype | features-aat | features-graphite | color-colrv0 | color-colrv1 | color-svg | color-sbix | color-cbdt | variations | palettes | incremental ]"
17
17
  },
18
18
  "<supports-font-format-fn>": {
19
- "value": "font-format ( <font-format> )"
19
+ "value": "font-format( <font-format> )"
20
20
  },
21
21
  "<media()>": {
22
22
  "value": "media( [ <mf-plain> | <mf-boolean> | <mf-range> ] )"
@@ -107,6 +107,15 @@
107
107
  ]
108
108
  },
109
109
  "valuespaces": {
110
+ "<size-feature>": {
111
+ "prose": "A container size query allows querying the size of the query container’s principal box. It is a boolean combination of individual size features (<size-feature>) that each query a single, specific dimensional feature of the query container. The syntax of a <size-feature> is the same as for a media feature: a feature name, a comparator, and a value. [mediaqueries-5] The boolean syntax and logic combining size features into a size query is the same as for CSS feature queries. (See @supports. [CSS-CONDITIONAL-3])"
112
+ },
113
+ "<style-feature>": {
114
+ "prose": "A container style query allows querying the computed values of the query container. It is a boolean combination of individual style features (<style-feature>) that each query a single, specific property of the query container. The syntax of a <style-feature> is the same as for a declaration [CSS-SYNTAX-3], and its query is true if the computed value of the given property on the query container matches the given value (which is also computed with respect to the query container), unknown if the property or its value is invalid or unsupported, and false otherwise. The boolean syntax and logic combining style features into a style query is the same as for CSS feature queries. (See @supports. [CSS-CONDITIONAL-3])"
115
+ },
116
+ "<container-name>": {
117
+ "value": "<custom-ident>"
118
+ },
110
119
  "<container-condition>": {
111
120
  "value": "not <query-in-parens> | <query-in-parens> [ [ and <query-in-parens> ]* | [ or <query-in-parens> ]* ]"
112
121
  },
package/css-content.json CHANGED
@@ -95,12 +95,19 @@
95
95
  },
96
96
  "descriptors": {},
97
97
  "valuespaces": {
98
- "<quote>": {
99
- "value": "open-quote | close-quote | no-open-quote | no-close-quote"
98
+ "<content-replacement>": {
99
+ "value": "<image>"
100
+ },
101
+ "<content-list>": {
102
+ "value": "[ <string> | contents | <image> | <counter> | <quote> | <target> | <leader()> ]+"
100
103
  },
101
104
  "<leader()>": {
102
105
  "value": "leader( <leader-type> )"
103
106
  },
107
+ "<image>": {},
108
+ "<quote>": {
109
+ "value": "open-quote | close-quote | no-open-quote | no-close-quote"
110
+ },
104
111
  "<leader-type>": {
105
112
  "value": "dotted | solid | space | <string>"
106
113
  },
@@ -121,12 +128,6 @@
121
128
  },
122
129
  "<content()>": {
123
130
  "value": "content( [ text | before | after | first-letter | marker ]? )"
124
- },
125
- "<content-replacement>": {
126
- "value": "<image>"
127
- },
128
- "<content-list>": {
129
- "value": "[ <string> | contents | <image> | <counter> | <quote> | <target> | <leader()> ]+"
130
131
  }
131
132
  }
132
133
  }
@@ -87,6 +87,9 @@
87
87
  ]
88
88
  },
89
89
  "valuespaces": {
90
+ "<counter-style-name>": {
91
+ "prose": "<counter-style-name> is a <custom-ident> that is not an ASCII case-insensitive match for none. The <counter-style-name> is a tree-scoped name."
92
+ },
90
93
  "<symbol>": {
91
94
  "value": "<string> | <image> | <custom-ident>"
92
95
  },
package/css-easing.json CHANGED
@@ -6,23 +6,35 @@
6
6
  "properties": {},
7
7
  "descriptors": {},
8
8
  "valuespaces": {
9
- "<cubic-bezier()>": {
10
- "value": "cubic-bezier(<number [0,1]>, <number>, <number [0,1]>, <number>)"
11
- },
12
- "<steps()>": {
13
- "value": "steps(<integer>[, <step-position> ]?)"
14
- },
15
9
  "<easing-function>": {
16
10
  "value": "linear | <cubic-bezier-easing-function> | <step-easing-function>"
17
11
  },
12
+ "<linear-spline()>": {
13
+ "value": "linear-spline(<linear-spline-stop-list>)"
14
+ },
18
15
  "<cubic-bezier-easing-function>": {
19
16
  "value": "ease | ease-in | ease-out | ease-in-out | cubic-bezier(<number [0,1]>, <number>, <number [0,1]>, <number>)"
20
17
  },
18
+ "<cubic-bezier()>": {
19
+ "value": "cubic-bezier(<number [0,1]>, <number>, <number [0,1]>, <number>)"
20
+ },
21
21
  "<step-easing-function>": {
22
- "value": "step-start | step-end | steps(<integer>[, <step-position>]?)"
22
+ "value": "step-start | step-end | steps(<integer>[, <step-position>]?) <step-position>"
23
23
  },
24
24
  "<step-position>": {
25
25
  "value": "jump-start | jump-end | jump-none | jump-both | start | end"
26
+ },
27
+ "<steps()>": {
28
+ "value": "steps(<integer>[, <step-position> ]?)"
29
+ },
30
+ "<linear-spline-stop-list>": {
31
+ "value": "[ <linear-spline-stop> ]#"
32
+ },
33
+ "<linear-spline-stop>": {
34
+ "value": "<number> && <linear-spline-stop-length>?"
35
+ },
36
+ "<linear-spline-stop-length>": {
37
+ "value": "<percentage>{1,2}"
26
38
  }
27
39
  }
28
40
  }
@@ -6,6 +6,9 @@
6
6
  "properties": {},
7
7
  "descriptors": {},
8
8
  "valuespaces": {
9
+ "<extension-name>": {
10
+ "prose": "All extensions defined in this specification use a common syntax for defining their ”names”: the <extension-name> production. An <extension-name> is any identifier that starts with two dashes (U+002D HYPHEN-MINUS), like --foo, or even exotic names like -- or ------. The CSS language will never use identifiers of this form for any language-defined purpose, so it’s safe to use them for author-defined purposes without ever having to worry about colliding with CSS-defined names."
11
+ },
9
12
  "<custom-selector>": {
10
13
  "value": "<custom-arg>? : <extension-name> [ ( <custom-arg>+#? ) ]? ;"
11
14
  },
package/css-fonts.json CHANGED
@@ -524,6 +524,18 @@
524
524
  ]
525
525
  },
526
526
  "valuespaces": {
527
+ "<family-name>": {
528
+ "prose": "The name of a font family, such as Helvetica or Verdana in the previous example."
529
+ },
530
+ "<generic-family>": {
531
+ "prose": "Each <generic-family> keyword represents a generic font choice, and behaves as an alias for one or more locally-installed fonts belonging to the specified generic font category. A <generic-family> can thus be used as a reliable fallback for when an author’s more specific font choices are not available. Authors are encouraged to append a generic font family as a last alternative for improved robustness. Note that <generic-family> keywords cannot be quoted (otherwise they are interpreted as a <family-name>). The set of generic family keywords is defined in § 2.1.3 Generic font families."
532
+ },
533
+ "<palette-identifier>": {
534
+ "prose": "This value identifies an CSS-defined palette to use. Users can define a palette by using the @font-palette-values rule. If no applicable @font-palette-values rule is present, this value behaves as normal. <palette-identifier> is parsed as a <dashed-ident>."
535
+ },
536
+ "<integer>": {
537
+ "prose": "Identifies a (zero-based) numerical palette index within the font."
538
+ },
527
539
  "<font-weight-absolute>": {
528
540
  "value": "[normal | bold | <number [1,1000]>]"
529
541
  },
@@ -583,36 +595,6 @@
583
595
  },
584
596
  "<feature-tag-value>": {
585
597
  "value": "<string> [ <integer> | on | off ]?"
586
- },
587
- "<stylistic()>": {
588
- "value": "stylistic(<feature-value-name>)"
589
- },
590
- "<styleset()>": {
591
- "value": "styleset(<feature-value-name>#)"
592
- },
593
- "<character-variant()>": {
594
- "value": "character-variant(<feature-value-name>#)"
595
- },
596
- "<swash()>": {
597
- "value": "swash(<feature-value-name>)"
598
- },
599
- "<ornaments()>": {
600
- "value": "ornaments(<feature-value-name>)"
601
- },
602
- "<annotation()>": {
603
- "value": "annotation(<feature-value-name>)"
604
- },
605
- "<family-name>": {
606
- "prose": "The name of a font family, such as Helvetica or Verdana in the previous example."
607
- },
608
- "<generic-family>": {
609
- "prose": "Each <generic-family> keyword represents a generic font choice, and behaves as an alias for one or more locally-installed fonts belonging to the specified generic font category. A <generic-family> can thus be used as a reliable fallback for when an author’s more specific font choices are not available. Authors are encouraged to append a generic font family as a last alternative for improved robustness. Note that <generic-family> keywords cannot be quoted (otherwise they are interpreted as a <family-name>). The set of generic family keywords is defined in § 2.1.3 Generic font families."
610
- },
611
- "<palette-identifier>": {
612
- "prose": "This value identifies an CSS-defined palette to use. Users can define a palette by using the @font-palette-values rule. If no applicable @font-palette-values rule is present, this value behaves as normal. <palette-identifier> is parsed as a <dashed-ident>."
613
- },
614
- "<integer>": {
615
- "prose": "Identifies a (zero-based) numerical palette index within the font."
616
598
  }
617
599
  }
618
600
  }
package/css-grid.json CHANGED
@@ -231,6 +231,12 @@
231
231
  },
232
232
  "descriptors": {},
233
233
  "valuespaces": {
234
+ "<repeat()>": {
235
+ "prose": "The repeat() notation represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."
236
+ },
237
+ "<flex>": {
238
+ "prose": "A flexible length or <flex> is a dimension with the fr unit, which represents a fraction of the leftover space in the grid container. Tracks sized with fr units are called flexible tracks as they flex in response to leftover space similar to how flex items with a zero base size fill space in a flex container."
239
+ },
234
240
  "<track-list>": {
235
241
  "value": "[ <line-names>? [ <track-size> | <track-repeat> ] ]+ <line-names>?"
236
242
  },
@@ -275,9 +281,6 @@
275
281
  },
276
282
  "<grid-line>": {
277
283
  "value": "auto | <custom-ident> | [ <integer> && <custom-ident>? ] | [ span && [ <integer> || <custom-ident> ] ]"
278
- },
279
- "<fit-content()>": {
280
- "value": "fit-content( <length-percentage> )"
281
284
  }
282
285
  }
283
286
  }
@@ -0,0 +1,13 @@
1
+ {
2
+ "spec": {
3
+ "title": "CSS Custom Highlight API Module Level 1",
4
+ "url": "https://drafts.csswg.org/css-highlight-api-1/"
5
+ },
6
+ "properties": {},
7
+ "descriptors": {},
8
+ "valuespaces": {
9
+ "<custom-highlight-name>": {
10
+ "prose": "The ::highlight(<custom-highlight-name>) pseudo-element (also known as the custom highlight pseudo-element) represents the portion of a document that is being contained or partially contained in all the ranges of the registered custom highlight with the custom highlight name <custom-highlight-name>, if any. <custom-highlight-name> must be a valid CSS <ident-token>."
11
+ }
12
+ }
13
+ }
package/css-images-4.json CHANGED
@@ -34,21 +34,6 @@
34
34
  "objectFit"
35
35
  ]
36
36
  },
37
- "object-overflow": {
38
- "name": "object-overflow",
39
- "value": "clip | visible",
40
- "initial": "clip",
41
- "appliesTo": "replaced elements",
42
- "inherited": "no",
43
- "percentages": "n/a",
44
- "computedValue": "as specified",
45
- "canonicalOrder": "per grammar",
46
- "animationType": "discrete",
47
- "styleDeclaration": [
48
- "object-overflow",
49
- "objectOverflow"
50
- ]
51
- },
52
37
  "image-resolution": {
53
38
  "name": "image-resolution",
54
39
  "value": "[ from-image || <resolution> ] && snap?",
@@ -67,6 +52,21 @@
67
52
  },
68
53
  "descriptors": {},
69
54
  "valuespaces": {
55
+ "<type( <string> )>": {
56
+ "prose": "A type( <string> ) function (optional), specifying the image’s MIME type in the <string>."
57
+ },
58
+ "<repeating-linear-gradient()>": {
59
+ "prose": "In addition to linear-gradient(), radial-gradient(), and conic-gradient(), this specification defines repeating-linear-gradient(), repeating-radial-gradient(), and repeating-conic-gradient() values. These notations take the same values and are interpreted the same as their respective non-repeating siblings defined previously."
60
+ },
61
+ "<repeating-radial-gradient()>": {
62
+ "prose": "In addition to linear-gradient(), radial-gradient(), and conic-gradient(), this specification defines repeating-linear-gradient(), repeating-radial-gradient(), and repeating-conic-gradient() values. These notations take the same values and are interpreted the same as their respective non-repeating siblings defined previously."
63
+ },
64
+ "<repeating-conic-gradient()>": {
65
+ "prose": "In addition to linear-gradient(), radial-gradient(), and conic-gradient(), this specification defines repeating-linear-gradient(), repeating-radial-gradient(), and repeating-conic-gradient() values. These notations take the same values and are interpreted the same as their respective non-repeating siblings defined previously."
66
+ },
67
+ "<-webkit-image-set()>": {
68
+ "prose": "Implementations must accept -webkit-image-set() as a parse-time alias of image-set(). (It’s a valid value, with identical arguments to image-set(), and is turned into image-set() during parsing.)"
69
+ },
70
70
  "<image>": {
71
71
  "value": "<url> | <image()> | <image-set()> | <cross-fade()> | <element()> | <gradient>"
72
72
  },
package/css-images.json CHANGED
@@ -67,8 +67,14 @@
67
67
  },
68
68
  "descriptors": {},
69
69
  "valuespaces": {
70
- "<image>": {
71
- "value": "<url> | <gradient>"
70
+ "<size>": {
71
+ "prose": "Both circle and ellipse gradients accept the following keywords as their <size>:"
72
+ },
73
+ "<repeating-linear-gradient()>": {
74
+ "prose": "In addition to linear-gradient() and radial-gradient(), this specification defines repeating-linear-gradient() and repeating-radial-gradient() values. These notations take the same values and are interpreted the same as their respective non-repeating siblings defined previously."
75
+ },
76
+ "<repeating-radial-gradient()>": {
77
+ "prose": "In addition to linear-gradient() and radial-gradient(), this specification defines repeating-linear-gradient() and repeating-radial-gradient() values. These notations take the same values and are interpreted the same as their respective non-repeating siblings defined previously."
72
78
  },
73
79
  "<gradient>": {
74
80
  "value": "<linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()>"
@@ -90,12 +96,6 @@
90
96
  },
91
97
  "<linear-color-hint>": {
92
98
  "value": "<length-percentage>"
93
- },
94
- "<ending-shape>": {
95
- "prose": "Can be either circle or ellipse; determines whether the gradient’s ending shape is a circle or an ellipse, respectively. If <ending-shape> is omitted, the ending shape defaults to a circle if the <size> is a single <length>, and to an ellipse otherwise."
96
- },
97
- "<length>": {
98
- "prose": "Gives the radius of the circle explicitly. Negative values are invalid."
99
99
  }
100
100
  }
101
101
  }
package/css-lists.json CHANGED
@@ -127,6 +127,9 @@
127
127
  },
128
128
  "descriptors": {},
129
129
  "valuespaces": {
130
+ "<counter-name>": {
131
+ "prose": "Counters are referred to in CSS syntax using the <counter-name> type, which represents their name as a <custom-ident>. A <counter-name> name cannot match the keyword none; such an identifier is invalid as a <counter-name>."
132
+ },
130
133
  "<reversed-counter-name>": {
131
134
  "value": "reversed( <counter-name> )"
132
135
  },
package/css-masking.json CHANGED
@@ -325,6 +325,21 @@
325
325
  },
326
326
  "descriptors": {},
327
327
  "valuespaces": {
328
+ "<rect()>": {
329
+ "value": "rect( <top>, <right>, <bottom>, <left> )"
330
+ },
331
+ "<top>": {
332
+ "prose": "<top>, <right>, <bottom>, and <left> may either have a <length> value or auto. Negative lengths are permitted. The value auto means that a given edge of the clipping region will be the same as the edge of the element’s generated border box (i.e., auto means the same as 0 for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four auto values result in the clipping region being the same as the element’s border box)."
333
+ },
334
+ "<right>": {
335
+ "prose": "<top>, <right>, <bottom>, and <left> may either have a <length> value or auto. Negative lengths are permitted. The value auto means that a given edge of the clipping region will be the same as the edge of the element’s generated border box (i.e., auto means the same as 0 for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four auto values result in the clipping region being the same as the element’s border box)."
336
+ },
337
+ "<bottom>": {
338
+ "prose": "<top>, <right>, <bottom>, and <left> may either have a <length> value or auto. Negative lengths are permitted. The value auto means that a given edge of the clipping region will be the same as the edge of the element’s generated border box (i.e., auto means the same as 0 for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four auto values result in the clipping region being the same as the element’s border box)."
339
+ },
340
+ "<left>": {
341
+ "prose": "<top>, <right>, <bottom>, and <left> may either have a <length> value or auto. Negative lengths are permitted. The value auto means that a given edge of the clipping region will be the same as the edge of the element’s generated border box (i.e., auto means the same as 0 for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four auto values result in the clipping region being the same as the element’s border box)."
342
+ },
328
343
  "<clip-source>": {
329
344
  "value": "<url>"
330
345
  },
@@ -345,12 +360,6 @@
345
360
  },
346
361
  "<mask-layer>": {
347
362
  "value": "<mask-reference> || <position> [ / <bg-size> ]? ||<repeat-style> || <geometry-box> || [ <geometry-box> | no-clip ] || <compositing-operator> || <masking-mode>"
348
- },
349
- "<rect()>": {
350
- "value": "rect( <top>, <right>, <bottom>, <left> )"
351
- },
352
- "<url>": {
353
- "prose": "A URL reference to a mask element (for example url(commonmasks.svg#mask)) or to a CSS image."
354
363
  }
355
364
  }
356
365
  }
package/css-overflow.json CHANGED
@@ -8,10 +8,10 @@
8
8
  "name": "overflow-x",
9
9
  "value": "visible | hidden | clip | scroll | auto",
10
10
  "initial": "visible",
11
- "appliesTo": "block containers [CSS2], flex containers [CSS3-FLEXBOX], and grid containers [CSS3-GRID-LAYOUT]",
11
+ "appliesTo": "block containers [CSS2], flex containers [CSS3-FLEXBOX], grid containers [CSS3-GRID-LAYOUT], and replaced elements",
12
12
  "inherited": "no",
13
13
  "percentages": "N/A",
14
- "computedValue": "as specified, except with visible/clip computing to auto/hidden (respectively) if one of overflow-x or overflow-y is neither visible nor clip",
14
+ "computedValue": "usually specified value, but see text",
15
15
  "canonicalOrder": "per grammar",
16
16
  "animationType": "discrete",
17
17
  "styleDeclaration": [
@@ -23,10 +23,10 @@
23
23
  "name": "overflow-y",
24
24
  "value": "visible | hidden | clip | scroll | auto",
25
25
  "initial": "visible",
26
- "appliesTo": "block containers [CSS2], flex containers [CSS3-FLEXBOX], and grid containers [CSS3-GRID-LAYOUT]",
26
+ "appliesTo": "block containers [CSS2], flex containers [CSS3-FLEXBOX], grid containers [CSS3-GRID-LAYOUT], and replaced elements",
27
27
  "inherited": "no",
28
28
  "percentages": "N/A",
29
- "computedValue": "as specified, except with visible/clip computing to auto/hidden (respectively) if one of overflow-x or overflow-y is neither visible nor clip",
29
+ "computedValue": "usually specified value, but see text",
30
30
  "canonicalOrder": "per grammar",
31
31
  "animationType": "discrete",
32
32
  "styleDeclaration": [
@@ -81,10 +81,10 @@
81
81
  "descriptors": {},
82
82
  "valuespaces": {
83
83
  "<snap-block()>": {
84
- "value": "snap-block( <length> , [ start | end | near ]? )"
84
+ "value": "snap-block()"
85
85
  },
86
86
  "<snap-inline()>": {
87
- "value": "snap-inline( <length> , [ left | right | near ]? )"
87
+ "value": "snap-inline()"
88
88
  }
89
89
  }
90
90
  }
package/css-page.json CHANGED
@@ -58,6 +58,9 @@
58
58
  ]
59
59
  },
60
60
  "valuespaces": {
61
+ "<page-size>": {
62
+ "prose": "A page size can be specified using one of the following media names. This is the equivalent of specifying size using length values. The definition of the media names comes from Media Standardized Names [PWGMSN]."
63
+ },
61
64
  "<page-selector-list>": {
62
65
  "value": "<page-selector>#"
63
66
  },
@@ -66,9 +69,6 @@
66
69
  },
67
70
  "<pseudo-page>": {
68
71
  "value": "':' [ left | right | first | blank ]"
69
- },
70
- "<page-size>": {
71
- "prose": "A page size can be specified using one of the following media names. This is the equivalent of specifying size using length values. The definition of the media names comes from Media Standardized Names [PWGMSN]."
72
72
  }
73
73
  }
74
74
  }