@webref/css 4.2.3 → 4.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CSS.json +15 -0
- package/css-align.json +2 -2
- package/css-animations-2.json +3 -3
- package/css-animations.json +3 -3
- package/css-box.json +4 -4
- package/css-break.json +2 -2
- package/css-cascade-6.json +6 -0
- package/css-color-5.json +1 -1
- package/css-color.json +22 -0
- package/css-contain-3.json +9 -3
- package/css-content.json +9 -9
- package/css-counter-styles.json +3 -0
- package/css-easing.json +7 -7
- package/css-extensions.json +3 -0
- package/css-fonts.json +19 -37
- package/css-gcpm-4.json +1 -0
- package/css-gcpm.json +2 -0
- package/css-grid.json +7 -4
- package/css-highlight-api.json +13 -0
- package/css-images-4.json +16 -1
- package/css-images.json +13 -6
- package/css-inline.json +1 -1
- package/css-lists.json +3 -0
- package/css-masking.json +15 -6
- package/css-overflow.json +1 -1
- package/css-page.json +3 -3
- package/css-position.json +1 -8
- package/css-rhythm.json +2 -2
- package/css-scroll-snap-2.json +5 -5
- package/css-scroll-snap.json +11 -11
- package/css-shapes-2.json +14 -19
- package/css-shapes.json +9 -7
- package/css-size-adjust.json +2 -6
- package/css-sizing.json +7 -11
- package/css-syntax.json +95 -4
- package/css-text-4.json +2 -11
- package/css-text.json +1 -8
- package/css-transforms-2.json +3 -0
- package/css-transforms.json +5 -2
- package/css-transitions.json +1 -1
- package/css-ui.json +10 -4
- package/css-values-5.json +10 -0
- package/css-values.json +67 -25
- package/css-variables.json +3 -0
- package/css-writing-modes.json +1 -1
- package/fill-stroke.json +0 -3
- package/filter-effects.json +6 -6
- package/mediaqueries-5.json +6 -0
- package/mediaqueries.json +7 -0
- package/motion.json +0 -3
- package/package.json +1 -1
- package/scroll-animations.json +0 -3
- package/selectors.json +6 -0
- package/css-layout-api.json +0 -13
- package/svg-animations.json +0 -13
package/CSS.json
CHANGED
|
@@ -67,6 +67,21 @@
|
|
|
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
|
+
"<margin-width>": {
|
|
74
|
+
"prose": "The properties defined in this section refer to the <margin-width> value type, which may take one of the following values:"
|
|
75
|
+
},
|
|
76
|
+
"<padding-width>": {
|
|
77
|
+
"prose": "The properties defined in this section refer to the <padding-width> value type, which may take one of the following values:"
|
|
78
|
+
},
|
|
79
|
+
"<border-width>": {
|
|
80
|
+
"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:"
|
|
81
|
+
},
|
|
82
|
+
"<border-style>": {
|
|
83
|
+
"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:"
|
|
84
|
+
},
|
|
70
85
|
"<shape>": {
|
|
71
86
|
"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
87
|
}
|
package/css-align.json
CHANGED
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
},
|
|
142
142
|
"row-gap": {
|
|
143
143
|
"name": "row-gap",
|
|
144
|
-
"value": "normal | <length-percentage>",
|
|
144
|
+
"value": "normal | <length-percentage [0,∞]>",
|
|
145
145
|
"initial": "normal",
|
|
146
146
|
"appliesTo": "multi-column containers, flex containers, grid containers",
|
|
147
147
|
"inherited": "no",
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
},
|
|
157
157
|
"column-gap": {
|
|
158
158
|
"name": "column-gap",
|
|
159
|
-
"value": "normal | <length-percentage>",
|
|
159
|
+
"value": "normal | <length-percentage [0,∞]>",
|
|
160
160
|
"initial": "normal",
|
|
161
161
|
"appliesTo": "multi-column containers, flex containers, grid containers",
|
|
162
162
|
"inherited": "no",
|
package/css-animations-2.json
CHANGED
|
@@ -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
|
}
|
package/css-animations.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"animation-duration": {
|
|
23
23
|
"name": "animation-duration",
|
|
24
|
-
"value": "<time>#",
|
|
24
|
+
"value": "<time [0s,∞]>#",
|
|
25
25
|
"initial": "0s",
|
|
26
26
|
"appliesTo": "all elements",
|
|
27
27
|
"inherited": "no",
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
"descriptors": {},
|
|
143
143
|
"valuespaces": {
|
|
144
144
|
"<single-animation-iteration-count>": {
|
|
145
|
-
"value": "infinite | <number>"
|
|
145
|
+
"value": "infinite | <number [0,∞]>"
|
|
146
146
|
},
|
|
147
147
|
"<single-animation-direction>": {
|
|
148
148
|
"value": "normal | reverse | alternate | alternate-reverse"
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
"value": "<keyframe-selector># { <declaration-list> }"
|
|
164
164
|
},
|
|
165
165
|
"<keyframe-selector>": {
|
|
166
|
-
"value": "from | to | <percentage>"
|
|
166
|
+
"value": "from | to | <percentage [0,100]>"
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
}
|
package/css-box.json
CHANGED
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
},
|
|
96
96
|
"padding-top": {
|
|
97
97
|
"name": "padding-top",
|
|
98
|
-
"value": "<length-percentage>",
|
|
98
|
+
"value": "<length-percentage [0,∞]>",
|
|
99
99
|
"initial": "0",
|
|
100
100
|
"appliesTo": "all elements except: internal table elements other than table cells, ruby base containers, and ruby annotation containers",
|
|
101
101
|
"inherited": "no",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
},
|
|
111
111
|
"padding-right": {
|
|
112
112
|
"name": "padding-right",
|
|
113
|
-
"value": "<length-percentage>",
|
|
113
|
+
"value": "<length-percentage [0,∞]>",
|
|
114
114
|
"initial": "0",
|
|
115
115
|
"appliesTo": "all elements except: internal table elements other than table cells, ruby base containers, and ruby annotation containers",
|
|
116
116
|
"inherited": "no",
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
},
|
|
126
126
|
"padding-bottom": {
|
|
127
127
|
"name": "padding-bottom",
|
|
128
|
-
"value": "<length-percentage>",
|
|
128
|
+
"value": "<length-percentage [0,∞]>",
|
|
129
129
|
"initial": "0",
|
|
130
130
|
"appliesTo": "all elements except: internal table elements other than table cells, ruby base containers, and ruby annotation containers",
|
|
131
131
|
"inherited": "no",
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
},
|
|
141
141
|
"padding-left": {
|
|
142
142
|
"name": "padding-left",
|
|
143
|
-
"value": "<length-percentage>",
|
|
143
|
+
"value": "<length-percentage [0,∞]>",
|
|
144
144
|
"initial": "0",
|
|
145
145
|
"appliesTo": "all elements except: internal table elements other than table cells, ruby base containers, and ruby annotation containers",
|
|
146
146
|
"inherited": "no",
|
package/css-break.json
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"orphans": {
|
|
53
53
|
"name": "orphans",
|
|
54
|
-
"value": "<integer>",
|
|
54
|
+
"value": "<integer [0,∞]>",
|
|
55
55
|
"initial": "2",
|
|
56
56
|
"appliesTo": "block containers that establish an inline formatting context",
|
|
57
57
|
"inherited": "yes",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
},
|
|
66
66
|
"widows": {
|
|
67
67
|
"name": "widows",
|
|
68
|
-
"value": "<integer>",
|
|
68
|
+
"value": "<integer [0,∞]>",
|
|
69
69
|
"initial": "2",
|
|
70
70
|
"appliesTo": "block containers that establish an inline formatting context",
|
|
71
71
|
"inherited": "yes",
|
package/css-cascade-6.json
CHANGED
|
@@ -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
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"value": "color-mix( <color-interpolation-method> , [ <color> && <percentage [0,100]>? ]#{2})"
|
|
36
36
|
},
|
|
37
37
|
"<rgb()>": {
|
|
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] ]? )"
|
|
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] ]? )"
|
|
39
39
|
},
|
|
40
40
|
"<alpha-value>": {
|
|
41
41
|
"value": "<number> | <percentage>"
|
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
|
},
|
package/css-contain-3.json
CHANGED
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
},
|
|
14
14
|
"container-type": {
|
|
15
15
|
"name": "container-type",
|
|
16
|
-
"value": "
|
|
17
|
-
"initial": "
|
|
16
|
+
"value": "normal || [ size | inline-size ]",
|
|
17
|
+
"initial": "normal",
|
|
18
18
|
"appliesTo": "all elements",
|
|
19
19
|
"inherited": "no",
|
|
20
20
|
"percentages": "n/a",
|
|
21
|
-
"computedValue": "the keyword
|
|
21
|
+
"computedValue": "the keyword normal or one or more of size, inline-size",
|
|
22
22
|
"canonicalOrder": "per grammar",
|
|
23
23
|
"animationType": "not animatable",
|
|
24
24
|
"styleDeclaration": [
|
|
@@ -107,6 +107,12 @@
|
|
|
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
|
+
},
|
|
110
116
|
"<container-name>": {
|
|
111
117
|
"value": "<custom-ident>"
|
|
112
118
|
},
|
package/css-content.json
CHANGED
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"bookmark-level": {
|
|
51
51
|
"name": "bookmark-level",
|
|
52
|
-
"value": "none | <integer>",
|
|
52
|
+
"value": "none | <integer [1,∞]>",
|
|
53
53
|
"initial": "none",
|
|
54
54
|
"appliesTo": "all elements",
|
|
55
55
|
"inherited": "no",
|
|
@@ -95,12 +95,18 @@
|
|
|
95
95
|
},
|
|
96
96
|
"descriptors": {},
|
|
97
97
|
"valuespaces": {
|
|
98
|
-
"<
|
|
99
|
-
"value": "
|
|
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
|
+
"<quote>": {
|
|
108
|
+
"value": "open-quote | close-quote | no-open-quote | no-close-quote"
|
|
109
|
+
},
|
|
104
110
|
"<leader-type>": {
|
|
105
111
|
"value": "dotted | solid | space | <string>"
|
|
106
112
|
},
|
|
@@ -121,12 +127,6 @@
|
|
|
121
127
|
},
|
|
122
128
|
"<content()>": {
|
|
123
129
|
"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
130
|
}
|
|
131
131
|
}
|
|
132
132
|
}
|
package/css-counter-styles.json
CHANGED
|
@@ -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,23 @@
|
|
|
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
|
},
|
|
18
12
|
"<cubic-bezier-easing-function>": {
|
|
19
13
|
"value": "ease | ease-in | ease-out | ease-in-out | cubic-bezier(<number [0,1]>, <number>, <number [0,1]>, <number>)"
|
|
20
14
|
},
|
|
15
|
+
"<cubic-bezier()>": {
|
|
16
|
+
"value": "cubic-bezier(<number [0,1]>, <number>, <number [0,1]>, <number>)"
|
|
17
|
+
},
|
|
21
18
|
"<step-easing-function>": {
|
|
22
|
-
"value": "step-start | step-end | steps(<integer>[, <step-position>]?)"
|
|
19
|
+
"value": "step-start | step-end | steps(<integer>[, <step-position>]?) <step-position>"
|
|
23
20
|
},
|
|
24
21
|
"<step-position>": {
|
|
25
22
|
"value": "jump-start | jump-end | jump-none | jump-both | start | end"
|
|
23
|
+
},
|
|
24
|
+
"<steps()>": {
|
|
25
|
+
"value": "steps(<integer>[, <step-position> ]?)"
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}
|
package/css-extensions.json
CHANGED
|
@@ -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
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"font-stretch": {
|
|
38
38
|
"name": "font-stretch",
|
|
39
|
-
"value": "normal | <percentage> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded",
|
|
39
|
+
"value": "normal | <percentage [0,∞]> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded",
|
|
40
40
|
"initial": "normal",
|
|
41
41
|
"appliesTo": "all elements and text",
|
|
42
42
|
"inherited": "yes",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"font-style": {
|
|
53
53
|
"name": "font-style",
|
|
54
|
-
"value": "normal | italic | oblique <angle>?",
|
|
54
|
+
"value": "normal | italic | oblique <angle [-90deg,90deg]>?",
|
|
55
55
|
"initial": "normal",
|
|
56
56
|
"appliesTo": "all elements and text",
|
|
57
57
|
"inherited": "yes",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
},
|
|
67
67
|
"font-size": {
|
|
68
68
|
"name": "font-size",
|
|
69
|
-
"value": "<absolute-size> | <relative-size> | <length-percentage> | math",
|
|
69
|
+
"value": "<absolute-size> | <relative-size> | <length-percentage [0,∞]> | math",
|
|
70
70
|
"initial": "medium",
|
|
71
71
|
"appliesTo": "all elements and text",
|
|
72
72
|
"inherited": "yes",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
},
|
|
82
82
|
"font-size-adjust": {
|
|
83
83
|
"name": "font-size-adjust",
|
|
84
|
-
"value": "none | <number>",
|
|
84
|
+
"value": "none | <number [0,∞]>",
|
|
85
85
|
"initial": "none",
|
|
86
86
|
"appliesTo": "all elements and text",
|
|
87
87
|
"inherited": "yes",
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
{
|
|
487
487
|
"name": "ascent-override",
|
|
488
488
|
"for": "@font-face",
|
|
489
|
-
"value": "normal | <percentage>",
|
|
489
|
+
"value": "normal | <percentage [0,∞]>",
|
|
490
490
|
"initial": "normal"
|
|
491
491
|
}
|
|
492
492
|
],
|
|
@@ -494,7 +494,7 @@
|
|
|
494
494
|
{
|
|
495
495
|
"name": "descent-override",
|
|
496
496
|
"for": "@font-face",
|
|
497
|
-
"value": "normal | <percentage>",
|
|
497
|
+
"value": "normal | <percentage [0,∞]>",
|
|
498
498
|
"initial": "normal"
|
|
499
499
|
}
|
|
500
500
|
],
|
|
@@ -502,7 +502,7 @@
|
|
|
502
502
|
{
|
|
503
503
|
"name": "line-gap-override",
|
|
504
504
|
"for": "@font-face",
|
|
505
|
-
"value": "normal | <percentage>",
|
|
505
|
+
"value": "normal | <percentage [0,∞]>",
|
|
506
506
|
"initial": "normal"
|
|
507
507
|
}
|
|
508
508
|
],
|
|
@@ -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-gcpm-4.json
CHANGED
package/css-gcpm.json
CHANGED
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"percentages": "N/A",
|
|
35
35
|
"computedValue": "specified value",
|
|
36
36
|
"canonicalOrder": "per grammar",
|
|
37
|
+
"animationType": "discrete",
|
|
37
38
|
"styleDeclaration": [
|
|
38
39
|
"footnote-display",
|
|
39
40
|
"footnoteDisplay"
|
|
@@ -48,6 +49,7 @@
|
|
|
48
49
|
"percentages": "N/A",
|
|
49
50
|
"computedValue": "specified value",
|
|
50
51
|
"canonicalOrder": "per grammar",
|
|
52
|
+
"animationType": "discrete",
|
|
51
53
|
"styleDeclaration": [
|
|
52
54
|
"footnote-policy",
|
|
53
55
|
"footnotePolicy"
|
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
|
},
|
|
@@ -274,10 +280,7 @@
|
|
|
274
280
|
"value": "repeat( [ <integer [1,∞]> | auto-fill ], <line-names>+)"
|
|
275
281
|
},
|
|
276
282
|
"<grid-line>": {
|
|
277
|
-
"value": "auto | <custom-ident> | [ <integer> && <custom-ident>? ] | [ span && [ <integer> || <custom-ident> ] ]"
|
|
278
|
-
},
|
|
279
|
-
"<fit-content()>": {
|
|
280
|
-
"value": "fit-content( <length-percentage> )"
|
|
283
|
+
"value": "auto | <custom-ident> | [ [ <integer [-∞,-1]> | <integer [1,∞]> ] && <custom-ident>? ] | [ span && [ <integer [1,∞]> || <custom-ident> ] ]"
|
|
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
|
@@ -52,6 +52,21 @@
|
|
|
52
52
|
},
|
|
53
53
|
"descriptors": {},
|
|
54
54
|
"valuespaces": {
|
|
55
|
+
"<type()>": {
|
|
56
|
+
"value": "type( <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
|
+
},
|
|
55
70
|
"<image>": {
|
|
56
71
|
"value": "<url> | <image()> | <image-set()> | <cross-fade()> | <element()> | <gradient>"
|
|
57
72
|
},
|
|
@@ -74,7 +89,7 @@
|
|
|
74
89
|
"value": "cross-fade( <cf-image># )"
|
|
75
90
|
},
|
|
76
91
|
"<cf-image>": {
|
|
77
|
-
"value": "<percentage>? && [ <image> | <color> ]"
|
|
92
|
+
"value": "<percentage [0,100]>? && [ <image> | <color> ]"
|
|
78
93
|
},
|
|
79
94
|
"<element()>": {
|
|
80
95
|
"value": "element( <id-selector> )"
|
package/css-images.json
CHANGED
|
@@ -67,6 +67,16 @@
|
|
|
67
67
|
},
|
|
68
68
|
"descriptors": {},
|
|
69
69
|
"valuespaces": {
|
|
70
|
+
"<size>": {
|
|
71
|
+
"prose": "Both circle and ellipse gradients accept the following keywords as their <size>:",
|
|
72
|
+
"value": "<extent-keyword> | <length [0,∞]> | <length-percentage [0,∞]>{2}"
|
|
73
|
+
},
|
|
74
|
+
"<repeating-linear-gradient()>": {
|
|
75
|
+
"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."
|
|
76
|
+
},
|
|
77
|
+
"<repeating-radial-gradient()>": {
|
|
78
|
+
"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."
|
|
79
|
+
},
|
|
70
80
|
"<image>": {
|
|
71
81
|
"value": "<url> | <gradient>"
|
|
72
82
|
},
|
|
@@ -82,6 +92,9 @@
|
|
|
82
92
|
"<radial-gradient()>": {
|
|
83
93
|
"value": "radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )"
|
|
84
94
|
},
|
|
95
|
+
"<extent-keyword>": {
|
|
96
|
+
"value": "closest-corner | closest-side | farthest-corner | farthest-side"
|
|
97
|
+
},
|
|
85
98
|
"<color-stop-list>": {
|
|
86
99
|
"value": "<linear-color-stop> , [ <linear-color-hint>? , <linear-color-stop> ]#"
|
|
87
100
|
},
|
|
@@ -90,12 +103,6 @@
|
|
|
90
103
|
},
|
|
91
104
|
"<linear-color-hint>": {
|
|
92
105
|
"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
106
|
}
|
|
100
107
|
}
|
|
101
108
|
}
|
package/css-inline.json
CHANGED
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
},
|
|
138
138
|
"initial-letter": {
|
|
139
139
|
"name": "initial-letter",
|
|
140
|
-
"value": "normal | <number> <integer> | <number> && [ drop | raise ]?",
|
|
140
|
+
"value": "normal | <number [1,∞]> <integer [1,∞]> | <number [1,∞]> && [ drop | raise ]?",
|
|
141
141
|
"initial": "normal",
|
|
142
142
|
"appliesTo": "certain inline-level boxes and ::first-letter and inside ::marker boxes (see prose)",
|
|
143
143
|
"inherited": "no",
|
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
|
},
|