@webref/css 6.10.3 → 6.11.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.
- package/CSS.json +83 -8
- package/README.md +1 -0
- package/SVG.json +27 -0
- package/compat.json +75 -0
- package/compositing.json +22 -0
- package/css-align.json +59 -0
- package/css-anchor-position.json +214 -19
- package/css-animations-2.json +13 -0
- package/css-animations.json +34 -0
- package/css-backgrounds-4.json +12 -0
- package/css-backgrounds.json +78 -0
- package/css-borders.json +91 -0
- package/css-box.json +48 -0
- package/css-break.json +50 -0
- package/css-cascade-6.json +3 -0
- package/css-cascade.json +10 -0
- package/css-color-5.json +74 -0
- package/css-color-6.json +6 -0
- package/css-color-adjust.json +14 -0
- package/css-color.json +273 -1
- package/css-conditional-4.json +2 -0
- package/css-conditional-5.json +7 -0
- package/css-conditional.json +6 -0
- package/css-contain-3.json +27 -0
- package/css-contain.json +12 -0
- package/css-content.json +53 -0
- package/css-counter-styles.json +85 -0
- package/css-display.json +48 -0
- package/css-easing.json +24 -0
- package/css-env.json +11 -0
- package/css-exclusions.json +11 -0
- package/css-extensions.json +4 -0
- package/css-flexbox.json +24 -0
- package/css-fonts-5.json +46 -0
- package/css-fonts.json +221 -9
- package/css-gcpm-4.json +10 -4
- package/css-gcpm.json +13 -1
- package/css-grid-3.json +1 -0
- package/css-grid.json +88 -0
- package/css-highlight-api.json +3 -1
- package/css-images-4.json +49 -0
- package/css-images-5.json +3 -0
- package/css-images.json +46 -0
- package/css-inline.json +93 -0
- package/css-layout-api.json +1 -0
- package/css-line-grid.json +14 -0
- package/css-link-params.json +2 -0
- package/css-lists.json +34 -0
- package/css-logical.json +27 -0
- package/css-masking.json +69 -0
- package/css-multicol-2.json +5 -0
- package/css-multicol.json +19 -0
- package/css-namespaces.json +2 -0
- package/css-nav.json +10 -0
- package/css-nesting.json +2 -1
- package/css-overflow-4.json +37 -1
- package/css-overflow.json +38 -0
- package/css-overscroll.json +20 -0
- package/css-page-floats.json +34 -0
- package/css-page.json +52 -0
- package/css-paint-api.json +1 -0
- package/css-position-4.json +5 -1
- package/css-position.json +50 -0
- package/css-properties-values-api.json +4 -0
- package/css-pseudo.json +23 -10
- package/css-regions.json +3 -0
- package/css-rhythm.json +15 -0
- package/css-round-display.json +8 -0
- package/css-ruby.json +22 -0
- package/css-scoping.json +8 -4
- package/css-scroll-anchoring.json +3 -0
- package/css-scroll-snap-2.json +55 -5
- package/css-scroll-snap.json +53 -0
- package/css-scrollbars.json +7 -0
- package/css-shadow-parts.json +1 -0
- package/css-shapes-2.json +34 -0
- package/css-shapes.json +22 -0
- package/css-size-adjust.json +4 -0
- package/css-sizing-4.json +59 -0
- package/css-sizing.json +42 -0
- package/css-speech.json +115 -0
- package/css-syntax.json +43 -0
- package/css-tables.json +5 -0
- package/css-text-4.json +161 -0
- package/css-text-decor-4.json +75 -0
- package/css-text-decor.json +32 -0
- package/css-text.json +70 -0
- package/css-transforms-2.json +37 -0
- package/css-transforms.json +26 -0
- package/css-transitions-2.json +4 -0
- package/css-transitions.json +9 -0
- package/css-ui.json +92 -0
- package/css-values-5.json +59 -0
- package/css-values.json +115 -0
- package/css-variables.json +2 -0
- package/css-view-transitions-2.json +8 -1
- package/css-view-transitions.json +15 -5
- package/css-viewport.json +43 -0
- package/css-will-change.json +6 -0
- package/css-writing-modes.json +26 -0
- package/fill-stroke.json +66 -0
- package/filter-effects-2.json +1 -0
- package/filter-effects.json +24 -0
- package/html.json +3 -0
- package/mathml-core.json +3 -0
- package/mediaqueries-5.json +121 -0
- package/mediaqueries.json +77 -0
- package/motion.json +32 -0
- package/package.json +1 -1
- package/scroll-animations.json +54 -0
- package/selectors.json +173 -72
- package/svg-strokes.json +3 -0
- package/upgrade-insecure-requests.json +2 -0
- package/webvtt.json +8 -4
package/css-values-5.json
CHANGED
|
@@ -10,96 +10,113 @@
|
|
|
10
10
|
{
|
|
11
11
|
"name": "<request-url-modifier>",
|
|
12
12
|
"prose": "<request-url-modifier>s are <url-modifier>s that affect the <url>’s resource request by applying associated URL request modifier steps. See CSS Values 4 § 4.5.4 URL Processing Model.",
|
|
13
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-request-url-modifier",
|
|
13
14
|
"type": "type",
|
|
14
15
|
"value": "<crossorigin-modifier> | <integrity-modifier> | <referrerpolicy-modifier>",
|
|
15
16
|
"values": [
|
|
16
17
|
{
|
|
17
18
|
"name": "<crossorigin-modifier>",
|
|
18
19
|
"value": "crossorigin(anonymous | use-credentials)",
|
|
20
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-request-url-modifier-crossorigin-modifier",
|
|
19
21
|
"type": "type"
|
|
20
22
|
},
|
|
21
23
|
{
|
|
22
24
|
"name": "crossorigin()",
|
|
23
25
|
"prose": "<crossorigin-modifier> = crossorigin(anonymous | use-credentials)",
|
|
26
|
+
"href": "https://drafts.csswg.org/css-values-5/#funcdef-request-url-modifier-crossorigin",
|
|
24
27
|
"type": "function"
|
|
25
28
|
},
|
|
26
29
|
{
|
|
27
30
|
"name": "anonymous",
|
|
28
31
|
"prose": "<crossorigin-modifier> = crossorigin(anonymous | use-credentials)",
|
|
32
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-anonymous",
|
|
29
33
|
"type": "value",
|
|
30
34
|
"value": "anonymous"
|
|
31
35
|
},
|
|
32
36
|
{
|
|
33
37
|
"name": "use-credentials",
|
|
34
38
|
"prose": "<crossorigin-modifier> = crossorigin(anonymous | use-credentials)",
|
|
39
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-use-credentials",
|
|
35
40
|
"type": "value",
|
|
36
41
|
"value": "use-credentials"
|
|
37
42
|
},
|
|
38
43
|
{
|
|
39
44
|
"name": "<integrity-modifier>",
|
|
40
45
|
"value": "integrity(<string>)",
|
|
46
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-request-url-modifier-integrity-modifier",
|
|
41
47
|
"type": "type"
|
|
42
48
|
},
|
|
43
49
|
{
|
|
44
50
|
"name": "integrity()",
|
|
45
51
|
"prose": "<integrity-modifier> = integrity(<string>)",
|
|
52
|
+
"href": "https://drafts.csswg.org/css-values-5/#funcdef-request-url-modifier-integrity",
|
|
46
53
|
"type": "function"
|
|
47
54
|
},
|
|
48
55
|
{
|
|
49
56
|
"name": "<referrerpolicy-modifier>",
|
|
50
57
|
"value": "referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
|
|
58
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-request-url-modifier-referrerpolicy-modifier",
|
|
51
59
|
"type": "type"
|
|
52
60
|
},
|
|
53
61
|
{
|
|
54
62
|
"name": "referrerpolicy()",
|
|
55
63
|
"prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
|
|
64
|
+
"href": "https://drafts.csswg.org/css-values-5/#funcdef-request-url-modifier-referrerpolicy",
|
|
56
65
|
"type": "function"
|
|
57
66
|
},
|
|
58
67
|
{
|
|
59
68
|
"name": "no-referrer",
|
|
60
69
|
"prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
|
|
70
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-no-referrer",
|
|
61
71
|
"type": "value",
|
|
62
72
|
"value": "no-referrer"
|
|
63
73
|
},
|
|
64
74
|
{
|
|
65
75
|
"name": "no-referrer-when-downgrade",
|
|
66
76
|
"prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
|
|
77
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-no-referrer-when-downgrade",
|
|
67
78
|
"type": "value",
|
|
68
79
|
"value": "no-referrer-when-downgrade"
|
|
69
80
|
},
|
|
70
81
|
{
|
|
71
82
|
"name": "same-origin",
|
|
72
83
|
"prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
|
|
84
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-same-origin",
|
|
73
85
|
"type": "value",
|
|
74
86
|
"value": "same-origin"
|
|
75
87
|
},
|
|
76
88
|
{
|
|
77
89
|
"name": "origin",
|
|
78
90
|
"prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
|
|
91
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-origin",
|
|
79
92
|
"type": "value",
|
|
80
93
|
"value": "origin"
|
|
81
94
|
},
|
|
82
95
|
{
|
|
83
96
|
"name": "strict-origin",
|
|
84
97
|
"prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
|
|
98
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-strict-origin",
|
|
85
99
|
"type": "value",
|
|
86
100
|
"value": "strict-origin"
|
|
87
101
|
},
|
|
88
102
|
{
|
|
89
103
|
"name": "origin-when-cross-origin",
|
|
90
104
|
"prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
|
|
105
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-origin-when-cross-origin",
|
|
91
106
|
"type": "value",
|
|
92
107
|
"value": "origin-when-cross-origin"
|
|
93
108
|
},
|
|
94
109
|
{
|
|
95
110
|
"name": "strict-origin-when-cross-origin",
|
|
96
111
|
"prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
|
|
112
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-strict-origin-when-cross-origin",
|
|
97
113
|
"type": "value",
|
|
98
114
|
"value": "strict-origin-when-cross-origin"
|
|
99
115
|
},
|
|
100
116
|
{
|
|
101
117
|
"name": "unsafe-url",
|
|
102
118
|
"prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
|
|
119
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-unsafe-url",
|
|
103
120
|
"type": "value",
|
|
104
121
|
"value": "unsafe-url"
|
|
105
122
|
}
|
|
@@ -108,60 +125,71 @@
|
|
|
108
125
|
{
|
|
109
126
|
"name": "progress()",
|
|
110
127
|
"prose": "The progress() functional notation returns a <number> value representing the position of one calculation (the progress value) between two other calculations (the progress start value and progress end value). The argument calculations can resolve to any <number>, <dimension>, or <percentage>, but must have the same type, or else the function is invalid.",
|
|
128
|
+
"href": "https://drafts.csswg.org/css-values-5/#funcdef-progress",
|
|
111
129
|
"type": "function"
|
|
112
130
|
},
|
|
113
131
|
{
|
|
114
132
|
"name": "<progress()>",
|
|
133
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-progress-fn",
|
|
115
134
|
"type": "type",
|
|
116
135
|
"value": "progress(<calc-sum> from <calc-sum> to <calc-sum>)"
|
|
117
136
|
},
|
|
118
137
|
{
|
|
119
138
|
"name": "media-progress()",
|
|
120
139
|
"prose": "Similar to the progress() notation, the media-progress() functional notation returns a <number> value representing current value of the specified media query [MEDIAQUERIES-4] as a progress value between two explicit values of the media query (as the progress start value and progress end value).",
|
|
140
|
+
"href": "https://drafts.csswg.org/css-values-5/#funcdef-media-progress",
|
|
121
141
|
"type": "function"
|
|
122
142
|
},
|
|
123
143
|
{
|
|
124
144
|
"name": "<media-progress()>",
|
|
145
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-media-progress",
|
|
125
146
|
"type": "type",
|
|
126
147
|
"value": "media-progress(<media-feature> from <calc-sum> to <calc-sum>)"
|
|
127
148
|
},
|
|
128
149
|
{
|
|
129
150
|
"name": "container-progress()",
|
|
130
151
|
"prose": "The container-progress() functional notation is identical to the media-progress() functional notation, except that it accepts container features [CSS-CONTAIN-3] in place of media features.",
|
|
152
|
+
"href": "https://drafts.csswg.org/css-values-5/#funcdef-container-progress",
|
|
131
153
|
"type": "function"
|
|
132
154
|
},
|
|
133
155
|
{
|
|
134
156
|
"name": "<container-progress()>",
|
|
157
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-container-progress",
|
|
135
158
|
"type": "type",
|
|
136
159
|
"value": "container-progress(<size-feature> [ of <container-name> ]? from <calc-sum> to <calc-sum>)"
|
|
137
160
|
},
|
|
138
161
|
{
|
|
139
162
|
"name": "<progress>",
|
|
140
163
|
"prose": "The <progress> value type represents the mix progress value in a mix notation, and ultimately resolves to a percentage. It can, however, draw that percentage value from sources such as media queries and animation timelines, and can also convert it through an easing function before using it for interpolation.",
|
|
164
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-progress",
|
|
141
165
|
"type": "type",
|
|
142
166
|
"value": "[ <percentage> | <number> | <'animation-timeline'> ]? && by <easing-function>",
|
|
143
167
|
"values": [
|
|
144
168
|
{
|
|
145
169
|
"name": "<percentage>",
|
|
146
170
|
"prose": "Represents the mix progress value as a <percentage>.",
|
|
171
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-progress-percentage",
|
|
147
172
|
"type": "value",
|
|
148
173
|
"value": "<percentage>"
|
|
149
174
|
},
|
|
150
175
|
{
|
|
151
176
|
"name": "<number>",
|
|
152
177
|
"prose": "Computes to the equivalent <percentage>. Note: This allows the use of the progress(), media-progress(), and container-progress() notations.",
|
|
178
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-progress-number",
|
|
153
179
|
"type": "value",
|
|
154
180
|
"value": "<number>"
|
|
155
181
|
},
|
|
156
182
|
{
|
|
157
183
|
"name": "<'animation-timeline'>",
|
|
158
184
|
"prose": "Represents the mix progress value as the progress of the specified animation timeline. The values none and auto, however, are invalid. [CSS-ANIMATIONS-2] [WEB-ANIMATIONS-2]",
|
|
185
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-progress-animation-timeline",
|
|
159
186
|
"type": "value",
|
|
160
187
|
"value": "<'animation-timeline'>"
|
|
161
188
|
},
|
|
162
189
|
{
|
|
163
190
|
"name": "<easing-function>",
|
|
164
191
|
"prose": "Converts the specified input mix progress value into an output mix progress value using the specified easing function. [CSS-EASING-1]",
|
|
192
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-progress-easing-function",
|
|
165
193
|
"type": "value",
|
|
166
194
|
"value": "<easing-function>"
|
|
167
195
|
}
|
|
@@ -170,128 +198,151 @@
|
|
|
170
198
|
{
|
|
171
199
|
"name": "calc-mix()",
|
|
172
200
|
"prose": "The calc-mix() mix notation represents an interpolated numeric or dimensional value. Like calc(), it is a math function, with the following syntactic form:",
|
|
201
|
+
"href": "https://drafts.csswg.org/css-values-5/#funcdef-calc-mix",
|
|
173
202
|
"type": "function"
|
|
174
203
|
},
|
|
175
204
|
{
|
|
176
205
|
"name": "<calc-mix()>",
|
|
206
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-calc-mix",
|
|
177
207
|
"type": "type",
|
|
178
208
|
"value": "calc-mix( <progress>, <calc-sum>, <calc-sum> )"
|
|
179
209
|
},
|
|
180
210
|
{
|
|
181
211
|
"name": "transform-mix()",
|
|
182
212
|
"prose": "The transform-mix() mix notation represents an interpolated <transform-list>, with the following syntactic form:",
|
|
213
|
+
"href": "https://drafts.csswg.org/css-values-5/#funcdef-transform-mix",
|
|
183
214
|
"type": "function"
|
|
184
215
|
},
|
|
185
216
|
{
|
|
186
217
|
"name": "<transform-mix()>",
|
|
218
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-transform-mix",
|
|
187
219
|
"type": "type",
|
|
188
220
|
"value": "transform-mix( <progress>, <transform-list>, <transform-list> )"
|
|
189
221
|
},
|
|
190
222
|
{
|
|
191
223
|
"name": "mix()",
|
|
192
224
|
"prose": "Interpolation of any two property values can be represented by the mix() mix notation, which supports two alternative syntax patterns:",
|
|
225
|
+
"href": "https://drafts.csswg.org/css-values-5/#funcdef-mix",
|
|
193
226
|
"type": "function"
|
|
194
227
|
},
|
|
195
228
|
{
|
|
196
229
|
"name": "<mix()>",
|
|
230
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-mix",
|
|
197
231
|
"type": "type",
|
|
198
232
|
"value": "mix( <progress> ';' <whole-value> ';' <whole-value> ) | mix( <progress> && of <'animation-name'> )"
|
|
199
233
|
},
|
|
200
234
|
{
|
|
201
235
|
"name": "first-valid()",
|
|
202
236
|
"prose": "The first-valid() functional notation inlines the fallback behavior intrinsic to parsing declarations. Unlike most notations, it can accept any valid or invalid syntax in its arguments, and represents the first value among its arguments that is supported (parsed as valid) by the UA as the whole value of the property it’s used in.",
|
|
237
|
+
"href": "https://drafts.csswg.org/css-values-5/#funcdef-first-valid",
|
|
203
238
|
"type": "function"
|
|
204
239
|
},
|
|
205
240
|
{
|
|
206
241
|
"name": "<first-valid()>",
|
|
242
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-first-valid",
|
|
207
243
|
"type": "type",
|
|
208
244
|
"value": "first-valid( <declaration-value> [ ';' <declaration-value> ]* )"
|
|
209
245
|
},
|
|
210
246
|
{
|
|
211
247
|
"name": "toggle()",
|
|
212
248
|
"prose": "The toggle() expression allows descendant elements to cycle over a list of values instead of inheriting the same value.",
|
|
249
|
+
"href": "https://drafts.csswg.org/css-values-5/#funcdef-toggle",
|
|
213
250
|
"type": "function"
|
|
214
251
|
},
|
|
215
252
|
{
|
|
216
253
|
"name": "<toggle()>",
|
|
254
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-toggle",
|
|
217
255
|
"type": "type",
|
|
218
256
|
"value": "toggle( <whole-value> [ ';' <whole-value> ]+ )"
|
|
219
257
|
},
|
|
220
258
|
{
|
|
221
259
|
"name": "attr()",
|
|
222
260
|
"prose": "The attr() function substitutes the value of an attribute on an element into a property, similar to how the var() function substitutes a custom property value into a function.",
|
|
261
|
+
"href": "https://drafts.csswg.org/css-values-5/#funcdef-attr",
|
|
223
262
|
"type": "function",
|
|
224
263
|
"value": "attr( <attr-name> <attr-type>? , <declaration-value>?)",
|
|
225
264
|
"values": [
|
|
226
265
|
{
|
|
227
266
|
"name": "string",
|
|
228
267
|
"prose": "The substitution value is a CSS string, whose value is the literal value of the attribute. (No CSS parsing or \"cleanup\" of the value is performed.) No value triggers fallback.",
|
|
268
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-string",
|
|
229
269
|
"type": "value",
|
|
230
270
|
"value": "string"
|
|
231
271
|
},
|
|
232
272
|
{
|
|
233
273
|
"name": "url",
|
|
234
274
|
"prose": "The substitution value is a CSS <url> value, whose url is the literal value of the attribute. (No CSS parsing or \"cleanup\" of the value is performed.) No value triggers fallback.",
|
|
275
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-url",
|
|
235
276
|
"type": "value",
|
|
236
277
|
"value": "url"
|
|
237
278
|
},
|
|
238
279
|
{
|
|
239
280
|
"name": "ident",
|
|
240
281
|
"prose": "The substitution value is a CSS <custom-ident>, whose value is the literal value of the attribute, with leading and trailing ASCII whitespace stripped. (No CSS parsing of the value is performed.) If the attribute value, after trimming, is the empty string, there is instead no substitution value. If the <custom-ident>’s value is a CSS-wide keyword or default, there is instead no substitution value.",
|
|
282
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-ident",
|
|
241
283
|
"type": "value",
|
|
242
284
|
"value": "ident"
|
|
243
285
|
},
|
|
244
286
|
{
|
|
245
287
|
"name": "color",
|
|
246
288
|
"prose": "Parse a component value from the attribute’s value. If the result is a <hex-color> or a named color ident, the substitution value is that result as a <color>. Otherwise there is no substitution value.",
|
|
289
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-color",
|
|
247
290
|
"type": "value",
|
|
248
291
|
"value": "color"
|
|
249
292
|
},
|
|
250
293
|
{
|
|
251
294
|
"name": "number",
|
|
252
295
|
"prose": "Parse a component value from the attribute’s value. If the result is a <number-token>, the result is the substitution value. Otherwise, there is no substitution value.",
|
|
296
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-number",
|
|
253
297
|
"type": "value",
|
|
254
298
|
"value": "number"
|
|
255
299
|
},
|
|
256
300
|
{
|
|
257
301
|
"name": "percentage",
|
|
258
302
|
"prose": "Parse a component value from the attribute’s value. If the result is a <percentage-token>, the result is the substitution value. Otherwise, there is no substitution value.",
|
|
303
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-percentage",
|
|
259
304
|
"type": "value",
|
|
260
305
|
"value": "percentage"
|
|
261
306
|
},
|
|
262
307
|
{
|
|
263
308
|
"name": "length",
|
|
264
309
|
"prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
|
|
310
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-length",
|
|
265
311
|
"type": "value",
|
|
266
312
|
"value": "length"
|
|
267
313
|
},
|
|
268
314
|
{
|
|
269
315
|
"name": "angle",
|
|
270
316
|
"prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
|
|
317
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-angle",
|
|
271
318
|
"type": "value",
|
|
272
319
|
"value": "angle"
|
|
273
320
|
},
|
|
274
321
|
{
|
|
275
322
|
"name": "time",
|
|
276
323
|
"prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
|
|
324
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-time",
|
|
277
325
|
"type": "value",
|
|
278
326
|
"value": "time"
|
|
279
327
|
},
|
|
280
328
|
{
|
|
281
329
|
"name": "frequency",
|
|
282
330
|
"prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
|
|
331
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-frequency",
|
|
283
332
|
"type": "value",
|
|
284
333
|
"value": "frequency"
|
|
285
334
|
},
|
|
286
335
|
{
|
|
287
336
|
"name": "flex",
|
|
288
337
|
"prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
|
|
338
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-flex",
|
|
289
339
|
"type": "value",
|
|
290
340
|
"value": "flex"
|
|
291
341
|
},
|
|
292
342
|
{
|
|
293
343
|
"name": "<dimension-unit>",
|
|
294
344
|
"prose": "Parse a component value from the attribute’s value. If the result is a <number-token>, the substitution value is a dimension with the result’s value, and the given unit. Otherwise, there is no substitution value.",
|
|
345
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-dimension-unit",
|
|
295
346
|
"type": "value",
|
|
296
347
|
"value": "<dimension-unit>"
|
|
297
348
|
}
|
|
@@ -299,44 +350,52 @@
|
|
|
299
350
|
},
|
|
300
351
|
{
|
|
301
352
|
"name": "<attr-name>",
|
|
353
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-attr-name",
|
|
302
354
|
"type": "type",
|
|
303
355
|
"value": "[ <ident-token> '|' ]? <ident-token>"
|
|
304
356
|
},
|
|
305
357
|
{
|
|
306
358
|
"name": "<attr-type>",
|
|
359
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-attr-type",
|
|
307
360
|
"type": "type",
|
|
308
361
|
"value": "string | url | ident | color | number | percentage | length | angle | time | frequency | flex | <dimension-unit>"
|
|
309
362
|
},
|
|
310
363
|
{
|
|
311
364
|
"name": "<dimension-unit>",
|
|
312
365
|
"prose": "The <dimension-unit> production matches a literal \"%\" character (that is, a <delim-token> with a value of \"%\") or an ident whose value is any of the CSS units for <length>, <angle>, <time>, <frequency>, or <flex> values (such as px or ms).",
|
|
366
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-dimension-unit",
|
|
313
367
|
"type": "type"
|
|
314
368
|
},
|
|
315
369
|
{
|
|
316
370
|
"name": "random()",
|
|
317
371
|
"prose": "The random() function is a math function that represents a random value between a minimum and maximum value, drawn from a uniform distribution, optionally limiting the possible values to a step between those limits:",
|
|
372
|
+
"href": "https://drafts.csswg.org/css-values-5/#funcdef-random",
|
|
318
373
|
"type": "function",
|
|
319
374
|
"value": "random( <random-caching-options>? , <calc-sum>, <calc-sum>, [by <calc-sum>]? )"
|
|
320
375
|
},
|
|
321
376
|
{
|
|
322
377
|
"name": "<random-caching-options>",
|
|
378
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-random-caching-options",
|
|
323
379
|
"type": "type",
|
|
324
380
|
"value": "<dashed-ident> || per-element"
|
|
325
381
|
},
|
|
326
382
|
{
|
|
327
383
|
"name": "random-item()",
|
|
328
384
|
"prose": "The random-item() function resolves to a random item from among its list of items.",
|
|
385
|
+
"href": "https://drafts.csswg.org/css-values-5/#funcdef-random-item",
|
|
329
386
|
"type": "function",
|
|
330
387
|
"value": "random-item( <random-caching-options> ';' <declaration-value>? [ ';' <declaration-value>? ]* )"
|
|
331
388
|
},
|
|
332
389
|
{
|
|
333
390
|
"name": "sibling-count()",
|
|
334
391
|
"prose": "The sibling-count() functional notation represents, as an <integer>, the total number of child elements in the parent of the element on which the notation is used.",
|
|
392
|
+
"href": "https://drafts.csswg.org/css-values-5/#funcdef-sibling-count",
|
|
335
393
|
"type": "function"
|
|
336
394
|
},
|
|
337
395
|
{
|
|
338
396
|
"name": "sibling-index()",
|
|
339
397
|
"prose": "The sibling-index() functional notation represents, as an <integer>, the index of the element on which the notation is used among the children of its parent. Like :nth-child(), sibling-index() is 1-indexed.",
|
|
398
|
+
"href": "https://drafts.csswg.org/css-values-5/#funcdef-sibling-index",
|
|
340
399
|
"type": "function"
|
|
341
400
|
}
|
|
342
401
|
],
|