@webref/css 6.23.0 → 7.0.0-alpha
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/CHANGELOG.md +17 -0
- package/README.md +37 -22
- package/css.json +17754 -0
- package/index.js +2 -9
- package/package.json +1 -1
- package/CSS.json +0 -567
- package/SVG.json +0 -387
- package/compat.json +0 -784
- package/compositing.json +0 -178
- package/css-align.json +0 -559
- package/css-anchor-position.json +0 -1042
- package/css-animations-2.json +0 -377
- package/css-animations.json +0 -337
- package/css-backgrounds-4.json +0 -402
- package/css-backgrounds.json +0 -732
- package/css-borders.json +0 -1642
- package/css-box.json +0 -484
- package/css-break.json +0 -444
- package/css-cascade-6.json +0 -31
- package/css-cascade.json +0 -91
- package/css-color-5.json +0 -527
- package/css-color-6.json +0 -60
- package/css-color-adjust.json +0 -151
- package/css-color-hdr.json +0 -183
- package/css-color.json +0 -1759
- package/css-conditional-4.json +0 -23
- package/css-conditional-5.json +0 -505
- package/css-conditional.json +0 -50
- package/css-contain.json +0 -123
- package/css-content.json +0 -466
- package/css-counter-styles.json +0 -613
- package/css-display.json +0 -444
- package/css-easing.json +0 -149
- package/css-env.json +0 -109
- package/css-exclusions.json +0 -108
- package/css-extensions.json +0 -36
- package/css-flexbox.json +0 -259
- package/css-fonts-5.json +0 -385
- package/css-fonts.json +0 -1754
- package/css-forms.json +0 -281
- package/css-gaps.json +0 -544
- package/css-gcpm-4.json +0 -58
- package/css-gcpm.json +0 -138
- package/css-grid-3.json +0 -335
- package/css-grid.json +0 -824
- package/css-images-4.json +0 -367
- package/css-images-5.json +0 -43
- package/css-images.json +0 -373
- package/css-inline.json +0 -903
- package/css-layout-api.json +0 -21
- package/css-line-grid.json +0 -142
- package/css-link-params.json +0 -34
- package/css-lists.json +0 -337
- package/css-logical.json +0 -396
- package/css-masking.json +0 -717
- package/css-mixins.json +0 -58
- package/css-multicol.json +0 -253
- package/css-namespaces.json +0 -25
- package/css-nav.json +0 -121
- package/css-nesting.json +0 -17
- package/css-overflow-4.json +0 -428
- package/css-overflow-5.json +0 -226
- package/css-overflow.json +0 -379
- package/css-overscroll.json +0 -215
- package/css-page-floats.json +0 -296
- package/css-page.json +0 -382
- package/css-paint-api.json +0 -17
- package/css-position-4.json +0 -49
- package/css-position.json +0 -495
- package/css-properties-values-api.json +0 -39
- package/css-pseudo.json +0 -98
- package/css-regions.json +0 -59
- package/css-rhythm.json +0 -181
- package/css-round-display.json +0 -85
- package/css-ruby.json +0 -221
- package/css-scoping.json +0 -38
- package/css-scroll-anchoring.json +0 -43
- package/css-scroll-snap-2.json +0 -74
- package/css-scroll-snap.json +0 -643
- package/css-scrollbars.json +0 -82
- package/css-shadow-parts.json +0 -17
- package/css-shapes-2.json +0 -89
- package/css-shapes.json +0 -384
- package/css-size-adjust.json +0 -50
- package/css-sizing-4.json +0 -601
- package/css-sizing.json +0 -427
- package/css-speech.json +0 -985
- package/css-syntax.json +0 -263
- package/css-tables.json +0 -91
- package/css-text-4.json +0 -1516
- package/css-text-decor-4.json +0 -741
- package/css-text-decor.json +0 -337
- package/css-text.json +0 -670
- package/css-transforms-2.json +0 -329
- package/css-transforms.json +0 -213
- package/css-transitions-2.json +0 -47
- package/css-transitions.json +0 -119
- package/css-ui.json +0 -818
- package/css-values-5.json +0 -854
- package/css-values.json +0 -790
- package/css-variables.json +0 -29
- package/css-view-transitions-2.json +0 -152
- package/css-view-transitions.json +0 -77
- package/css-viewport.json +0 -43
- package/css-will-change.json +0 -64
- package/css-writing-modes.json +0 -256
- package/fill-stroke.json +0 -755
- package/filter-effects-2.json +0 -28
- package/filter-effects.json +0 -220
- package/html.json +0 -29
- package/mathml-core.json +0 -69
- package/mediaqueries-5.json +0 -915
- package/mediaqueries.json +0 -549
- package/motion.json +0 -303
- package/pointer-animations.json +0 -282
- package/scroll-animations.json +0 -519
- package/selectors-5.json +0 -22
- package/selectors.json +0 -604
- package/svg-strokes.json +0 -59
- package/upgrade-insecure-requests.json +0 -28
- package/webvtt.json +0 -33
- package/webxr-dom-overlays.json +0 -17
package/css-images-4.json
DELETED
|
@@ -1,367 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS Images Module Level 4",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-images-4/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [
|
|
7
|
-
{
|
|
8
|
-
"name": "object-fit",
|
|
9
|
-
"href": "https://drafts.csswg.org/css-images-4/#propdef-object-fit",
|
|
10
|
-
"value": "fill | none | [contain | cover] || scale-down",
|
|
11
|
-
"initial": "fill",
|
|
12
|
-
"appliesTo": "replaced elements",
|
|
13
|
-
"inherited": "no",
|
|
14
|
-
"percentages": "n/a",
|
|
15
|
-
"computedValue": "specified keyword(s)",
|
|
16
|
-
"canonicalOrder": "per grammar",
|
|
17
|
-
"animationType": "discrete",
|
|
18
|
-
"values": [
|
|
19
|
-
{
|
|
20
|
-
"name": "fill",
|
|
21
|
-
"prose": "The replaced content is sized to fill the element’s content box: the object’s concrete object size is the element’s used width and height.",
|
|
22
|
-
"href": "https://drafts.csswg.org/css-images-4/#valdef-object-fit-fill",
|
|
23
|
-
"type": "value",
|
|
24
|
-
"value": "fill"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "none",
|
|
28
|
-
"prose": "The replaced content is not resized to fit inside the element’s content box: determine the object’s concrete object size using the default sizing algorithm with no specified size, and a default object size equal to the replaced element’s used width and height.",
|
|
29
|
-
"href": "https://drafts.csswg.org/css-images-4/#valdef-object-fit-none",
|
|
30
|
-
"type": "value",
|
|
31
|
-
"value": "none"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"name": "contain",
|
|
35
|
-
"prose": "The replaced content is sized to maintain its aspect ratio while fitting within the element’s content box: its concrete object size is resolved as a contain constraint against the element’s used width and height. If the scale-down flag is used, size the content as if none or contain were specified, whichever would result in a smaller concrete object size.",
|
|
36
|
-
"href": "https://drafts.csswg.org/css-images-4/#valdef-object-fit-contain",
|
|
37
|
-
"type": "value",
|
|
38
|
-
"value": "contain"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"name": "cover",
|
|
42
|
-
"prose": "The replaced content is sized to maintain its aspect ratio while filling the element’s entire content box: its concrete object size is resolved as a cover constraint against the element’s used width and height. If the scale-down flag is used, size the content as if none or cover were specified, whichever would result in a smaller concrete object size.",
|
|
43
|
-
"href": "https://drafts.csswg.org/css-images-4/#valdef-object-fit-cover",
|
|
44
|
-
"type": "value",
|
|
45
|
-
"value": "cover"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"name": "scale-down",
|
|
49
|
-
"prose": "Equivalent to contain scale-down.",
|
|
50
|
-
"href": "https://drafts.csswg.org/css-images-4/#valdef-object-fit-scale-down",
|
|
51
|
-
"type": "value",
|
|
52
|
-
"value": "scale-down"
|
|
53
|
-
}
|
|
54
|
-
],
|
|
55
|
-
"styleDeclaration": [
|
|
56
|
-
"object-fit",
|
|
57
|
-
"objectFit"
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"name": "image-resolution",
|
|
62
|
-
"href": "https://drafts.csswg.org/css-images-4/#propdef-image-resolution",
|
|
63
|
-
"value": "[ from-image || <resolution> ] && snap?",
|
|
64
|
-
"initial": "1dppx",
|
|
65
|
-
"appliesTo": "all elements",
|
|
66
|
-
"inherited": "yes",
|
|
67
|
-
"percentages": "n/a",
|
|
68
|
-
"computedValue": "specified keyword(s) and/or <resolution> (possibly adjusted for snap, see below)",
|
|
69
|
-
"canonicalOrder": "per grammar",
|
|
70
|
-
"animationType": "discrete",
|
|
71
|
-
"values": [
|
|
72
|
-
{
|
|
73
|
-
"name": "<resolution>",
|
|
74
|
-
"prose": "Specifies the preferred resolution explicitly. A \"dot\" in this case corresponds to a single image pixel.",
|
|
75
|
-
"href": "https://drafts.csswg.org/css-images-4/#valdef-image-resolution-resolution",
|
|
76
|
-
"type": "value",
|
|
77
|
-
"value": "<resolution>"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"name": "from-image",
|
|
81
|
-
"prose": "The image’s preferred resolution is taken as that specified by the image format (the natural resolution). If the image does not specify its own resolution, the explicitly specified resolution is used (if given), else it defaults to 1dppx.",
|
|
82
|
-
"href": "https://drafts.csswg.org/css-images-4/#valdef-image-resolution-from-image",
|
|
83
|
-
"type": "value",
|
|
84
|
-
"value": "from-image"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"name": "snap",
|
|
88
|
-
"prose": "If the \"snap\" keyword is provided, the computed <resolution> (if any) is the specified resolution rounded to the nearest value that would map one image pixel to an integer number of device pixels. If the resolution is taken from the image, then the used natural resolution is the image’s native resolution similarly adjusted.",
|
|
89
|
-
"href": "https://drafts.csswg.org/css-images-4/#valdef-image-resolution-snap",
|
|
90
|
-
"type": "value",
|
|
91
|
-
"value": "snap"
|
|
92
|
-
}
|
|
93
|
-
],
|
|
94
|
-
"styleDeclaration": [
|
|
95
|
-
"image-resolution",
|
|
96
|
-
"imageResolution"
|
|
97
|
-
]
|
|
98
|
-
}
|
|
99
|
-
],
|
|
100
|
-
"atrules": [],
|
|
101
|
-
"selectors": [],
|
|
102
|
-
"values": [
|
|
103
|
-
{
|
|
104
|
-
"name": "<image>",
|
|
105
|
-
"href": "https://drafts.csswg.org/css-images-4/#typedef-image",
|
|
106
|
-
"type": "type",
|
|
107
|
-
"value": "<url> | <image()> | <image-set()> | <cross-fade()> | <element()> | <gradient>"
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"name": "image-set()",
|
|
111
|
-
"prose": "Delivering the most appropriate image resolution for a user’s device can be a difficult task. Ideally, images should be in the same resolution as the device they’re being viewed in, which can vary between users. However, other factors can factor into the decision of which image to send; for example, if the user is on a slow mobile connection, they may prefer to receive lower-res images rather than waiting for a large proper-res image to load. The image-set() function allows an author to ignore most of these issues, simply providing multiple resolutions of an image and letting the UA decide which is most appropriate in a given situation.",
|
|
112
|
-
"href": "https://drafts.csswg.org/css-images-4/#funcdef-image-set",
|
|
113
|
-
"type": "function",
|
|
114
|
-
"value": "image-set( <image-set-option># )",
|
|
115
|
-
"values": [
|
|
116
|
-
{
|
|
117
|
-
"name": "type()",
|
|
118
|
-
"value": "type( <string> )",
|
|
119
|
-
"href": "https://drafts.csswg.org/css-images-4/#funcdef-image-set-type",
|
|
120
|
-
"type": "function"
|
|
121
|
-
}
|
|
122
|
-
]
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"name": "<image-set-option>",
|
|
126
|
-
"href": "https://drafts.csswg.org/css-images-4/#typedef-image-set-option",
|
|
127
|
-
"type": "type",
|
|
128
|
-
"value": "[ <image> | <string> ] [ <resolution> || type(<string>) ]?"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"name": "image()",
|
|
132
|
-
"href": "https://drafts.csswg.org/css-images-4/#funcdef-image",
|
|
133
|
-
"type": "function",
|
|
134
|
-
"value": "image( <image-tags>? [ <image-src>? , <color>? ]! )"
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"name": "<image-tags>",
|
|
138
|
-
"href": "https://drafts.csswg.org/css-images-4/#typedef-image-tags",
|
|
139
|
-
"type": "type",
|
|
140
|
-
"value": "[ ltr | rtl ]"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"name": "<image-src>",
|
|
144
|
-
"href": "https://drafts.csswg.org/css-images-4/#typedef-image-src",
|
|
145
|
-
"type": "type",
|
|
146
|
-
"value": "[ <url> | <string> ]"
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"name": "cross-fade()",
|
|
150
|
-
"href": "https://drafts.csswg.org/css-images-4/#funcdef-cross-fade",
|
|
151
|
-
"type": "function",
|
|
152
|
-
"value": "cross-fade( <cf-image># )"
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"name": "<cf-image>",
|
|
156
|
-
"href": "https://drafts.csswg.org/css-images-4/#typedef-cf-image",
|
|
157
|
-
"type": "type",
|
|
158
|
-
"value": "[ <image> | <color> ] && <percentage [0,100]>?"
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
"name": "element()",
|
|
162
|
-
"href": "https://drafts.csswg.org/css-images-4/#funcdef-element",
|
|
163
|
-
"type": "function",
|
|
164
|
-
"value": "element( <id-selector> )"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"name": "<gradient>",
|
|
168
|
-
"href": "https://drafts.csswg.org/css-images-4/#typedef-gradient",
|
|
169
|
-
"type": "type",
|
|
170
|
-
"value": "[ <linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()> | <conic-gradient()> | <repeating-conic-gradient()> ]"
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
"name": "<linear-gradient-syntax>",
|
|
174
|
-
"href": "https://drafts.csswg.org/css-images-4/#typedef-linear-gradient-syntax",
|
|
175
|
-
"type": "type",
|
|
176
|
-
"value": "[ [ <angle> | <zero> | to <side-or-corner> ] || <color-interpolation-method> ]? , <color-stop-list>"
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"name": "<side-or-corner>",
|
|
180
|
-
"href": "https://drafts.csswg.org/css-images-4/#typedef-side-or-corner",
|
|
181
|
-
"type": "type",
|
|
182
|
-
"value": "[left | right] || [top | bottom]"
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"name": "<radial-gradient-syntax>",
|
|
186
|
-
"href": "https://drafts.csswg.org/css-images-4/#typedef-radial-gradient-syntax",
|
|
187
|
-
"type": "type",
|
|
188
|
-
"value": "[ [ [ <radial-shape> || <radial-size> ]? [ at <position> ]? ] || <color-interpolation-method>]? , <color-stop-list>"
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"name": "conic-gradient()",
|
|
192
|
-
"href": "https://drafts.csswg.org/css-images-4/#funcdef-conic-gradient",
|
|
193
|
-
"type": "function",
|
|
194
|
-
"value": "conic-gradient( [ <conic-gradient-syntax> ] )",
|
|
195
|
-
"values": [
|
|
196
|
-
{
|
|
197
|
-
"name": "<angle> | <zero>",
|
|
198
|
-
"prose": "The entire gradient is rotated by this angle. If omitted, defaults to 0deg. The unit identifier may be omitted if the <angle> is zero.",
|
|
199
|
-
"href": "https://drafts.csswg.org/css-images-4/#valdef-conic-gradient-angle--zero",
|
|
200
|
-
"type": "value",
|
|
201
|
-
"value": "<angle> | <zero>"
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
"name": "<position>",
|
|
205
|
-
"prose": "Determines the gradient center of the gradient. The <position> value type (which is also used for background-position) is defined in [CSS-VALUES-3], and is resolved using the center-point as the object area and the gradient box as the positioning area. If this argument is omitted, it defaults to center.",
|
|
206
|
-
"href": "https://drafts.csswg.org/css-images-4/#valdef-conic-gradient-position",
|
|
207
|
-
"type": "value",
|
|
208
|
-
"value": "<position>"
|
|
209
|
-
}
|
|
210
|
-
]
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
"name": "<conic-gradient-syntax>",
|
|
214
|
-
"href": "https://drafts.csswg.org/css-images-4/#typedef-conic-gradient-syntax",
|
|
215
|
-
"type": "type",
|
|
216
|
-
"value": "[ [ [ from [ <angle> | <zero> ] ]? [ at <position> ]? ] || <color-interpolation-method> ]? , <angular-color-stop-list>"
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
"name": "repeating-linear-gradient()",
|
|
220
|
-
"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.",
|
|
221
|
-
"href": "https://drafts.csswg.org/css-images-4/#funcdef-repeating-linear-gradient",
|
|
222
|
-
"type": "function",
|
|
223
|
-
"value": "repeating-linear-gradient( [ <linear-gradient-syntax> ] )"
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
"name": "repeating-radial-gradient()",
|
|
227
|
-
"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.",
|
|
228
|
-
"href": "https://drafts.csswg.org/css-images-4/#funcdef-repeating-radial-gradient",
|
|
229
|
-
"type": "function",
|
|
230
|
-
"value": "repeating-radial-gradient( [ <radial-gradient-syntax> ] )"
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
"name": "repeating-conic-gradient()",
|
|
234
|
-
"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.",
|
|
235
|
-
"href": "https://drafts.csswg.org/css-images-4/#funcdef-repeating-conic-gradient",
|
|
236
|
-
"type": "function",
|
|
237
|
-
"value": "repeating-conic-gradient( [ <conic-gradient-syntax> ] )",
|
|
238
|
-
"values": [
|
|
239
|
-
{
|
|
240
|
-
"name": "<angle> | <zero>",
|
|
241
|
-
"prose": "The entire gradient is rotated by this angle. If omitted, defaults to 0deg. The unit identifier may be omitted if the <angle> is zero.",
|
|
242
|
-
"href": "https://drafts.csswg.org/css-images-4/#valdef-conic-gradient-angle--zero",
|
|
243
|
-
"type": "value",
|
|
244
|
-
"value": "<angle> | <zero>"
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
"name": "<position>",
|
|
248
|
-
"prose": "Determines the gradient center of the gradient. The <position> value type (which is also used for background-position) is defined in [CSS-VALUES-3], and is resolved using the center-point as the object area and the gradient box as the positioning area. If this argument is omitted, it defaults to center.",
|
|
249
|
-
"href": "https://drafts.csswg.org/css-images-4/#valdef-conic-gradient-position",
|
|
250
|
-
"type": "value",
|
|
251
|
-
"value": "<position>"
|
|
252
|
-
}
|
|
253
|
-
]
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
"name": "<color-stop-list>",
|
|
257
|
-
"href": "https://drafts.csswg.org/css-images-4/#typedef-color-stop-list",
|
|
258
|
-
"type": "type",
|
|
259
|
-
"value": "<linear-color-stop> , [ <linear-color-hint>? , <linear-color-stop> ]#?"
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
"name": "<linear-color-stop>",
|
|
263
|
-
"href": "https://drafts.csswg.org/css-images-4/#typedef-linear-color-stop",
|
|
264
|
-
"type": "type",
|
|
265
|
-
"value": "<color> <color-stop-length>?"
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
"name": "<linear-color-hint>",
|
|
269
|
-
"href": "https://drafts.csswg.org/css-images-4/#typedef-linear-color-hint",
|
|
270
|
-
"type": "type",
|
|
271
|
-
"value": "<length-percentage>"
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
"name": "<color-stop-length>",
|
|
275
|
-
"href": "https://drafts.csswg.org/css-images-4/#typedef-color-stop-length",
|
|
276
|
-
"type": "type",
|
|
277
|
-
"value": "<length-percentage>{1,2}"
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
"name": "<angular-color-stop-list>",
|
|
281
|
-
"href": "https://drafts.csswg.org/css-images-4/#typedef-angular-color-stop-list",
|
|
282
|
-
"type": "type",
|
|
283
|
-
"value": "<angular-color-stop> , [ <angular-color-hint>? , <angular-color-stop> ]#?"
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"name": "<angular-color-stop>",
|
|
287
|
-
"href": "https://drafts.csswg.org/css-images-4/#typedef-angular-color-stop",
|
|
288
|
-
"type": "type",
|
|
289
|
-
"value": "<color> <color-stop-angle>?"
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
"name": "<angular-color-hint>",
|
|
293
|
-
"href": "https://drafts.csswg.org/css-images-4/#typedef-angular-color-hint",
|
|
294
|
-
"type": "type",
|
|
295
|
-
"value": "<angle-percentage> | <zero>"
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
"name": "<color-stop-angle>",
|
|
299
|
-
"href": "https://drafts.csswg.org/css-images-4/#typedef-color-stop-angle",
|
|
300
|
-
"type": "type",
|
|
301
|
-
"value": "[ <angle-percentage> | <zero> ]{1,2}"
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
"name": "<color-stop>",
|
|
305
|
-
"href": "https://drafts.csswg.org/css-images-4/#typedef-color-stop",
|
|
306
|
-
"type": "type",
|
|
307
|
-
"value": "<color-stop-length> | <color-stop-angle>"
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
"name": "<image-1D>",
|
|
311
|
-
"prose": "While <image> values represent a 2-dimensional (2D) image, and <color> can be thought of as a 0-dimensional (0D) image (unvarying in either axis), some contexts require a 1-dimensional (1D) image, which specifies colors along an abstract, directionless, single-axis paint line. The <image-1D> type represents such 1D images, including the stripes() functional notation:",
|
|
312
|
-
"href": "https://drafts.csswg.org/css-images-4/#typedef-image-1d",
|
|
313
|
-
"type": "type",
|
|
314
|
-
"value": "<stripes()>"
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
"name": "stripes()",
|
|
318
|
-
"prose": "The stripes() function defines a 1D image as a comma-separated list of colored stripes, each placed end-to-end on the paint line in the order given.",
|
|
319
|
-
"href": "https://drafts.csswg.org/css-images-4/#funcdef-stripes",
|
|
320
|
-
"type": "function",
|
|
321
|
-
"value": "stripes( <color-stripe># )",
|
|
322
|
-
"values": [
|
|
323
|
-
{
|
|
324
|
-
"name": "<percentage [0,100]>",
|
|
325
|
-
"prose": "Percentage thicknesses are relative to the total width. Only values between 0% and 100% (inclusive) are valid.",
|
|
326
|
-
"href": "https://drafts.csswg.org/css-images-4/#valdef-stripes-percentage-0-100",
|
|
327
|
-
"type": "value",
|
|
328
|
-
"value": "<percentage [0,100]>"
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
"name": "<length [0,∞]>",
|
|
332
|
-
"prose": "Negative length values are invalid.",
|
|
333
|
-
"href": "https://drafts.csswg.org/css-images-4/#valdef-stripes-length-0",
|
|
334
|
-
"type": "value",
|
|
335
|
-
"value": "<length [0,∞]>"
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
"name": "<flex>",
|
|
339
|
-
"prose": "A <flex> is evaluated as a fraction of the total width relative to the total sum of <flex> entries in the function, after subtracting the thickness of any non-<flex> entries (flooring the subtraction result at zero). If the sum of <flex> values is less than 1fr, the result of the subtraction is multiplied by the sum’s value before being distributed.",
|
|
340
|
-
"href": "https://drafts.csswg.org/css-images-4/#valdef-stripes-flex",
|
|
341
|
-
"type": "value",
|
|
342
|
-
"value": "<flex>"
|
|
343
|
-
}
|
|
344
|
-
]
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
"name": "<color-stripe>",
|
|
348
|
-
"prose": "Each <color-stripe> entry defines a solid-color stripe with the specified <color> and thickness. If the thickness is omitted, it defaults to 1fr. Thickness values are interpreted as follows:",
|
|
349
|
-
"href": "https://drafts.csswg.org/css-images-4/#typedef-color-stripe",
|
|
350
|
-
"type": "type",
|
|
351
|
-
"value": "<color> && [ <length-percentage> | <flex> ]?"
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
"name": "-webkit-image-set()",
|
|
355
|
-
"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.)",
|
|
356
|
-
"href": "https://drafts.csswg.org/css-images-4/#funcdef--webkit-image-set",
|
|
357
|
-
"type": "function"
|
|
358
|
-
}
|
|
359
|
-
],
|
|
360
|
-
"warnings": [
|
|
361
|
-
{
|
|
362
|
-
"msg": "Missing definition",
|
|
363
|
-
"name": "<radial-size>",
|
|
364
|
-
"value": "<radial-extent>{1,2} | <length-percentage [0,∞]>{1,2}"
|
|
365
|
-
}
|
|
366
|
-
]
|
|
367
|
-
}
|
package/css-images-5.json
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS Images Module Level 5",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-images-5/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [
|
|
7
|
-
{
|
|
8
|
-
"name": "object-view-box",
|
|
9
|
-
"href": "https://drafts.csswg.org/css-images-5/#propdef-object-view-box",
|
|
10
|
-
"value": "none | <basic-shape-rect>",
|
|
11
|
-
"initial": "none",
|
|
12
|
-
"appliesTo": "replaced elements",
|
|
13
|
-
"inherited": "no",
|
|
14
|
-
"percentages": "n/a",
|
|
15
|
-
"computedValue": "specified keyword, or computed function",
|
|
16
|
-
"canonicalOrder": "per grammar",
|
|
17
|
-
"animationType": "as if possible, otherwise discrete",
|
|
18
|
-
"values": [
|
|
19
|
-
{
|
|
20
|
-
"name": "none",
|
|
21
|
-
"prose": "The element does not have a view box.",
|
|
22
|
-
"href": "https://drafts.csswg.org/css-images-5/#valdef-object-view-box-none",
|
|
23
|
-
"type": "value",
|
|
24
|
-
"value": "none"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "<basic-shape-rect>",
|
|
28
|
-
"prose": "If the element does not have both a natural width and a natural height, this value has no effect, similar to none. Otherwise, specifies a view box for the element. First, resolve the <basic-shape-rect> against a reference box formed by the element’s natural sizes to obtain the element’s view box. For all purposes, the element is now treated as having natural sizes equal to the view box’s width and height. If the element had a natural aspect ratio, it’s now treated as instead having the same ratio as the view box. Further adjustments to the size/position of the element’s contents, such as object-position or object-fit, are similarly performed on the view box instead. When the element is painted, its contents are scaled and translated such that the element’s contents retain the same position and size, relative to the view box’s final size and position, that they had when the view box was determined (above). Have not yet defined what happens if the view box is zero-area. It’s an error case, so precise behavior isn’t important; just need to see what impls want to do about it.",
|
|
29
|
-
"href": "https://drafts.csswg.org/css-images-5/#valdef-object-view-box-basic-shape-rect",
|
|
30
|
-
"type": "value",
|
|
31
|
-
"value": "<basic-shape-rect>"
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
"styleDeclaration": [
|
|
35
|
-
"object-view-box",
|
|
36
|
-
"objectViewBox"
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
],
|
|
40
|
-
"atrules": [],
|
|
41
|
-
"selectors": [],
|
|
42
|
-
"values": []
|
|
43
|
-
}
|