@webref/css 6.22.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 -559
- 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 -1636
- 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 -263
- package/css-gaps.json +0 -544
- package/css-gcpm-4.json +0 -55
- 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 -52
- package/css-multicol.json +0 -252
- package/css-namespaces.json +0 -25
- package/css-nav.json +0 -121
- package/css-nesting.json +0 -16
- package/css-overflow-4.json +0 -428
- package/css-overflow-5.json +0 -223
- 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 -48
- package/css-position.json +0 -495
- package/css-properties-values-api.json +0 -39
- package/css-pseudo.json +0 -85
- 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 -36
- package/css-scroll-anchoring.json +0 -43
- package/css-scroll-snap-2.json +0 -69
- 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 -273
- package/css-shapes.json +0 -200
- 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 -651
- package/css-values.json +0 -790
- package/css-variables.json +0 -29
- package/css-view-transitions-2.json +0 -151
- package/css-view-transitions.json +0 -76
- 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/scroll-animations.json +0 -519
- package/selectors-5.json +0 -21
- package/selectors.json +0 -546
- package/svg-strokes.json +0 -59
- package/upgrade-insecure-requests.json +0 -28
- package/webvtt.json +0 -31
- package/webxr-dom-overlays.json +0 -16
package/css-transforms-2.json
DELETED
|
@@ -1,329 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS Transforms Module Level 2",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-transforms-2/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [
|
|
7
|
-
{
|
|
8
|
-
"name": "translate",
|
|
9
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#propdef-translate",
|
|
10
|
-
"value": "none | <length-percentage> [ <length-percentage> <length>? ]?",
|
|
11
|
-
"initial": "none",
|
|
12
|
-
"appliesTo": "transformable elements",
|
|
13
|
-
"inherited": "no",
|
|
14
|
-
"percentages": "relative to the width of the reference box (for the first value) or the height (for the second value)",
|
|
15
|
-
"computedValue": "the keyword none or a pair of computed <length-percentage> values and an absolute length",
|
|
16
|
-
"canonicalOrder": "per grammar",
|
|
17
|
-
"animationType": "by computed value, but see below for none",
|
|
18
|
-
"values": [
|
|
19
|
-
{
|
|
20
|
-
"name": "none",
|
|
21
|
-
"prose": "All three properties accept (and default to) the value none, which produces no transform at all. In particular, this value does not trigger the creation of a stacking context or containing block for all descendants, while all other values (including “identity” transforms like translate: 0px) create a stacking context and containing block for all descendants, per usual for transforms.",
|
|
22
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#valdef-translate-none",
|
|
23
|
-
"type": "value",
|
|
24
|
-
"value": "none"
|
|
25
|
-
}
|
|
26
|
-
],
|
|
27
|
-
"styleDeclaration": [
|
|
28
|
-
"translate"
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "rotate",
|
|
33
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#propdef-rotate",
|
|
34
|
-
"value": "none | <angle> | [ x | y | z | <number>{3} ] && <angle>",
|
|
35
|
-
"initial": "none",
|
|
36
|
-
"appliesTo": "transformable elements",
|
|
37
|
-
"inherited": "no",
|
|
38
|
-
"percentages": "n/a",
|
|
39
|
-
"computedValue": "the keyword none, or an <angle> with an axis consisting of a list of three <number>s",
|
|
40
|
-
"canonicalOrder": "per grammar",
|
|
41
|
-
"animationType": "as SLERP, but see below for none",
|
|
42
|
-
"values": [
|
|
43
|
-
{
|
|
44
|
-
"name": "x",
|
|
45
|
-
"prose": "The axis can be specified with either the x, y, or z keywords, which specify a rotation around that axis, equivalent to the rotateX(), rotateY(), and rotateZ() transform functions. Alternately, the axis can be specified explicitly by giving three numbers representing the x, y, and z components of an origin-centered vector, equivalent to the rotate3d() function.",
|
|
46
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#valdef-rotate-x",
|
|
47
|
-
"type": "value",
|
|
48
|
-
"value": "x"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"name": "y",
|
|
52
|
-
"prose": "The axis can be specified with either the x, y, or z keywords, which specify a rotation around that axis, equivalent to the rotateX(), rotateY(), and rotateZ() transform functions. Alternately, the axis can be specified explicitly by giving three numbers representing the x, y, and z components of an origin-centered vector, equivalent to the rotate3d() function.",
|
|
53
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#valdef-rotate-y",
|
|
54
|
-
"type": "value",
|
|
55
|
-
"value": "y"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"name": "z",
|
|
59
|
-
"prose": "The axis can be specified with either the x, y, or z keywords, which specify a rotation around that axis, equivalent to the rotateX(), rotateY(), and rotateZ() transform functions. Alternately, the axis can be specified explicitly by giving three numbers representing the x, y, and z components of an origin-centered vector, equivalent to the rotate3d() function.",
|
|
60
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#valdef-rotate-z",
|
|
61
|
-
"type": "value",
|
|
62
|
-
"value": "z"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"name": "none",
|
|
66
|
-
"prose": "All three properties accept (and default to) the value none, which produces no transform at all. In particular, this value does not trigger the creation of a stacking context or containing block for all descendants, while all other values (including “identity” transforms like translate: 0px) create a stacking context and containing block for all descendants, per usual for transforms.",
|
|
67
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#valdef-translate-none",
|
|
68
|
-
"type": "value",
|
|
69
|
-
"value": "none"
|
|
70
|
-
}
|
|
71
|
-
],
|
|
72
|
-
"styleDeclaration": [
|
|
73
|
-
"rotate"
|
|
74
|
-
]
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"name": "scale",
|
|
78
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#propdef-scale",
|
|
79
|
-
"value": "none | [ <number> | <percentage> ]{1,3}",
|
|
80
|
-
"initial": "none",
|
|
81
|
-
"appliesTo": "transformable elements",
|
|
82
|
-
"inherited": "no",
|
|
83
|
-
"percentages": "n/a",
|
|
84
|
-
"computedValue": "the keyword none, or a list of 3 <number>s",
|
|
85
|
-
"canonicalOrder": "per grammar",
|
|
86
|
-
"animationType": "by computed value, but see below for none",
|
|
87
|
-
"values": [
|
|
88
|
-
{
|
|
89
|
-
"name": "none",
|
|
90
|
-
"prose": "All three properties accept (and default to) the value none, which produces no transform at all. In particular, this value does not trigger the creation of a stacking context or containing block for all descendants, while all other values (including “identity” transforms like translate: 0px) create a stacking context and containing block for all descendants, per usual for transforms.",
|
|
91
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#valdef-translate-none",
|
|
92
|
-
"type": "value",
|
|
93
|
-
"value": "none"
|
|
94
|
-
}
|
|
95
|
-
],
|
|
96
|
-
"styleDeclaration": [
|
|
97
|
-
"scale"
|
|
98
|
-
]
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"name": "transform-style",
|
|
102
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#propdef-transform-style",
|
|
103
|
-
"value": "flat | preserve-3d",
|
|
104
|
-
"initial": "flat",
|
|
105
|
-
"appliesTo": "transformable elements",
|
|
106
|
-
"inherited": "no",
|
|
107
|
-
"percentages": "N/A",
|
|
108
|
-
"computedValue": "specified keyword",
|
|
109
|
-
"canonicalOrder": "per grammar",
|
|
110
|
-
"animationType": "discrete",
|
|
111
|
-
"usedValue": "flat if a grouping property is present, specified keyword otherwise",
|
|
112
|
-
"styleDeclaration": [
|
|
113
|
-
"transform-style",
|
|
114
|
-
"transformStyle"
|
|
115
|
-
]
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"name": "perspective",
|
|
119
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#propdef-perspective",
|
|
120
|
-
"value": "none | <length [0,∞]>",
|
|
121
|
-
"initial": "none",
|
|
122
|
-
"appliesTo": "transformable elements",
|
|
123
|
-
"inherited": "no",
|
|
124
|
-
"percentages": "N/A",
|
|
125
|
-
"computedValue": "the keyword none or an absolute length",
|
|
126
|
-
"canonicalOrder": "per grammar",
|
|
127
|
-
"animationType": "by computed value",
|
|
128
|
-
"values": [
|
|
129
|
-
{
|
|
130
|
-
"name": "<length [0,∞]>",
|
|
131
|
-
"prose": "Distance to the center of projection. Verify that projection is the distance to the center of projection. As very small <length> values can produce bizarre rendering results and stress the numerical accuracy of transform calculations, values less than 1px must be treated as 1px for rendering purposes. (This clamping does not affect the underlying value, so perspective: 0; in a stylesheet will still serialize back as 0.)",
|
|
132
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#valdef-perspective-length-0",
|
|
133
|
-
"type": "value",
|
|
134
|
-
"value": "<length [0,∞]>"
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"name": "none",
|
|
138
|
-
"prose": "No perspective transform is applied. The effect is mathematically similar to an infinite <length> value. All objects appear to be flat on the canvas.",
|
|
139
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#valdef-perspective-none",
|
|
140
|
-
"type": "value",
|
|
141
|
-
"value": "none"
|
|
142
|
-
}
|
|
143
|
-
],
|
|
144
|
-
"styleDeclaration": [
|
|
145
|
-
"perspective"
|
|
146
|
-
]
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"name": "perspective-origin",
|
|
150
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#propdef-perspective-origin",
|
|
151
|
-
"value": "<position>",
|
|
152
|
-
"initial": "50% 50%",
|
|
153
|
-
"appliesTo": "transformable elements",
|
|
154
|
-
"inherited": "no",
|
|
155
|
-
"percentages": "refer to the size of the reference box",
|
|
156
|
-
"computedValue": "see background-position",
|
|
157
|
-
"canonicalOrder": "per grammar",
|
|
158
|
-
"animationType": "by computed value",
|
|
159
|
-
"values": [
|
|
160
|
-
{
|
|
161
|
-
"name": "<percentage>",
|
|
162
|
-
"prose": "A percentage for the horizontal perspective offset is relative to the width of the reference box. A percentage for the vertical offset is relative to height of the reference box. The value for the horizontal and vertical offset represent an offset from the top left corner of the reference box.",
|
|
163
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#valdef-perspective-origin-percentage",
|
|
164
|
-
"type": "value",
|
|
165
|
-
"value": "<percentage>"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"name": "<length>",
|
|
169
|
-
"prose": "A length value gives a fixed length as the offset. The value for the horizontal and vertical offset represent an offset from the top left corner of the reference box.",
|
|
170
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#valdef-perspective-origin-length",
|
|
171
|
-
"type": "value",
|
|
172
|
-
"value": "<length>"
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"name": "top",
|
|
176
|
-
"prose": "Computes to 0% for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset.",
|
|
177
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#valdef-perspective-origin-top",
|
|
178
|
-
"type": "value",
|
|
179
|
-
"value": "top"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"name": "right",
|
|
183
|
-
"prose": "Computes to 100% for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset.",
|
|
184
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#valdef-perspective-origin-right",
|
|
185
|
-
"type": "value",
|
|
186
|
-
"value": "right"
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
"name": "bottom",
|
|
190
|
-
"prose": "Computes to 100% for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset.",
|
|
191
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#valdef-perspective-origin-bottom",
|
|
192
|
-
"type": "value",
|
|
193
|
-
"value": "bottom"
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
"name": "left",
|
|
197
|
-
"prose": "Computes to 0% for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset.",
|
|
198
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#valdef-perspective-origin-left",
|
|
199
|
-
"type": "value",
|
|
200
|
-
"value": "left"
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"name": "center",
|
|
204
|
-
"prose": "Computes to 50% (left 50%) for the horizontal position if the horizontal position is not otherwise specified, or 50% (top 50%) for the vertical position if it is.",
|
|
205
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#valdef-perspective-origin-center",
|
|
206
|
-
"type": "value",
|
|
207
|
-
"value": "center"
|
|
208
|
-
}
|
|
209
|
-
],
|
|
210
|
-
"styleDeclaration": [
|
|
211
|
-
"perspective-origin",
|
|
212
|
-
"perspectiveOrigin"
|
|
213
|
-
]
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
"name": "backface-visibility",
|
|
217
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#propdef-backface-visibility",
|
|
218
|
-
"value": "visible | hidden",
|
|
219
|
-
"initial": "visible",
|
|
220
|
-
"appliesTo": "transformable elements",
|
|
221
|
-
"inherited": "no",
|
|
222
|
-
"percentages": "N/A",
|
|
223
|
-
"computedValue": "specified keyword",
|
|
224
|
-
"canonicalOrder": "per grammar",
|
|
225
|
-
"animationType": "discrete",
|
|
226
|
-
"styleDeclaration": [
|
|
227
|
-
"backface-visibility",
|
|
228
|
-
"backfaceVisibility"
|
|
229
|
-
]
|
|
230
|
-
}
|
|
231
|
-
],
|
|
232
|
-
"atrules": [],
|
|
233
|
-
"selectors": [],
|
|
234
|
-
"values": [
|
|
235
|
-
{
|
|
236
|
-
"name": "<transform-function>",
|
|
237
|
-
"prose": "The value of the transform property is a list of <transform-function>. The set of allowed transform functions is given below. Wherever <angle> is used in this specification, a <number> that is equal to zero is also allowed, which is treated the same as an angle of zero degrees. A percentage for horizontal translations is relative to the width of the reference box. A percentage for vertical translations is relative to the height of the reference box. A percentage in a scale function is equivalent to a number, and serializes as a number in specified values. For example, scale3d(50%, 100%, 150%) serializes as scale3d(0.5, 1, 1.5).",
|
|
238
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#typedef-transform-function",
|
|
239
|
-
"type": "type"
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
"name": "scale()",
|
|
243
|
-
"value": "scale( [ <number> | <percentage> ]#{1,2} )",
|
|
244
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#funcdef-scale",
|
|
245
|
-
"type": "function"
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
"name": "scaleX()",
|
|
249
|
-
"value": "scaleX( [ <number> | <percentage> ] )",
|
|
250
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#funcdef-scalex",
|
|
251
|
-
"type": "function"
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
"name": "scaleY()",
|
|
255
|
-
"value": "scaleY( [ <number> | <percentage> ] )",
|
|
256
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#funcdef-scaley",
|
|
257
|
-
"type": "function"
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"name": "matrix3d()",
|
|
261
|
-
"value": "matrix3d( <number>#{16} )",
|
|
262
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#funcdef-matrix3d",
|
|
263
|
-
"type": "function"
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
"name": "translate3d()",
|
|
267
|
-
"value": "translate3d( <length-percentage> , <length-percentage> , <length> )",
|
|
268
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#funcdef-translate3d",
|
|
269
|
-
"type": "function"
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
"name": "translateZ()",
|
|
273
|
-
"value": "translateZ( <length> )",
|
|
274
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#funcdef-translatez",
|
|
275
|
-
"type": "function"
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
"name": "scale3d()",
|
|
279
|
-
"value": "scale3d( [ <number> | <percentage> ]#{3} )",
|
|
280
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#funcdef-scale3d",
|
|
281
|
-
"type": "function"
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
"name": "scaleZ()",
|
|
285
|
-
"value": "scaleZ( [ <number> | <percentage> ] )",
|
|
286
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#funcdef-scalez",
|
|
287
|
-
"type": "function"
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
"name": "rotate3d()",
|
|
291
|
-
"value": "rotate3d( <number> , <number> , <number> , [ <angle> | <zero> ] )",
|
|
292
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#funcdef-rotate3d",
|
|
293
|
-
"type": "function"
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
"name": "rotateX()",
|
|
297
|
-
"value": "rotateX( [ <angle> | <zero> ] )",
|
|
298
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#funcdef-rotatex",
|
|
299
|
-
"type": "function"
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
"name": "rotateY()",
|
|
303
|
-
"value": "rotateY( [ <angle> | <zero> ] )",
|
|
304
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#funcdef-rotatey",
|
|
305
|
-
"type": "function"
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
"name": "rotateZ()",
|
|
309
|
-
"value": "rotateZ( [ <angle> | <zero> ] )",
|
|
310
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#funcdef-rotatez",
|
|
311
|
-
"type": "function"
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
"name": "perspective()",
|
|
315
|
-
"value": "perspective( [ <length [0,∞]> | none ] )",
|
|
316
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#funcdef-perspective",
|
|
317
|
-
"type": "function",
|
|
318
|
-
"values": [
|
|
319
|
-
{
|
|
320
|
-
"name": "none",
|
|
321
|
-
"prose": "perspective() = perspective( [ <length [0,∞]> | none ] )",
|
|
322
|
-
"href": "https://drafts.csswg.org/css-transforms-2/#valdef-perspective-func-none",
|
|
323
|
-
"type": "value",
|
|
324
|
-
"value": "none"
|
|
325
|
-
}
|
|
326
|
-
]
|
|
327
|
-
}
|
|
328
|
-
]
|
|
329
|
-
}
|
package/css-transforms.json
DELETED
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS Transforms Module Level 1",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-transforms-1/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [
|
|
7
|
-
{
|
|
8
|
-
"name": "transform",
|
|
9
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#propdef-transform",
|
|
10
|
-
"value": "none | <transform-list>",
|
|
11
|
-
"initial": "none",
|
|
12
|
-
"appliesTo": "transformable elements",
|
|
13
|
-
"inherited": "no",
|
|
14
|
-
"percentages": "refer to the size of reference box",
|
|
15
|
-
"computedValue": "as specified, but with lengths made absolute",
|
|
16
|
-
"canonicalOrder": "per grammar",
|
|
17
|
-
"animationType": "transform list, see interpolation rules",
|
|
18
|
-
"values": [
|
|
19
|
-
{
|
|
20
|
-
"name": "matrix()",
|
|
21
|
-
"value": "matrix( <number>#{6} )",
|
|
22
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#funcdef-transform-matrix",
|
|
23
|
-
"type": "function"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"name": "translate()",
|
|
27
|
-
"value": "translate( <length-percentage> , <length-percentage>? )",
|
|
28
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#funcdef-transform-translate",
|
|
29
|
-
"type": "function"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "translateX()",
|
|
33
|
-
"value": "translateX( <length-percentage> )",
|
|
34
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#funcdef-transform-translatex",
|
|
35
|
-
"type": "function"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"name": "translateY()",
|
|
39
|
-
"value": "translateY( <length-percentage> )",
|
|
40
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#funcdef-transform-translatey",
|
|
41
|
-
"type": "function"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "scale()",
|
|
45
|
-
"value": "scale( <number> , <number>? )",
|
|
46
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#funcdef-transform-scale",
|
|
47
|
-
"type": "function"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"name": "scaleX()",
|
|
51
|
-
"value": "scaleX( <number> )",
|
|
52
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#funcdef-transform-scalex",
|
|
53
|
-
"type": "function"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"name": "scaleY()",
|
|
57
|
-
"value": "scaleY( <number> )",
|
|
58
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#funcdef-transform-scaley",
|
|
59
|
-
"type": "function"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"name": "rotate()",
|
|
63
|
-
"value": "rotate( [ <angle> | <zero> ] )",
|
|
64
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#funcdef-transform-rotate",
|
|
65
|
-
"type": "function"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"name": "skew()",
|
|
69
|
-
"value": "skew( [ <angle> | <zero> ] , [ <angle> | <zero> ]? )",
|
|
70
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#funcdef-transform-skew",
|
|
71
|
-
"type": "function"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"name": "skewX()",
|
|
75
|
-
"value": "skewX( [ <angle> | <zero> ] )",
|
|
76
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#funcdef-transform-skewx",
|
|
77
|
-
"type": "function"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"name": "skewY()",
|
|
81
|
-
"value": "skewY( [ <angle> | <zero> ] )",
|
|
82
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#funcdef-transform-skewy",
|
|
83
|
-
"type": "function"
|
|
84
|
-
}
|
|
85
|
-
],
|
|
86
|
-
"styleDeclaration": [
|
|
87
|
-
"transform"
|
|
88
|
-
]
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"name": "transform-origin",
|
|
92
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#propdef-transform-origin",
|
|
93
|
-
"value": "[ left | center | right | top | bottom | <length-percentage> ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ] <length>? | [ [ center | left | right ] && [ center | top | bottom ] ] <length>?",
|
|
94
|
-
"initial": "50% 50%",
|
|
95
|
-
"appliesTo": "transformable elements",
|
|
96
|
-
"inherited": "no",
|
|
97
|
-
"percentages": "refer to the size of reference box",
|
|
98
|
-
"computedValue": "see background-position",
|
|
99
|
-
"canonicalOrder": "per grammar",
|
|
100
|
-
"animationType": "by computed value",
|
|
101
|
-
"values": [
|
|
102
|
-
{
|
|
103
|
-
"name": "top",
|
|
104
|
-
"prose": "Computes to 0% for the vertical position.",
|
|
105
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#valdef-transform-origin-top",
|
|
106
|
-
"type": "value",
|
|
107
|
-
"value": "top"
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"name": "right",
|
|
111
|
-
"prose": "Computes to 100% for the horizontal position.",
|
|
112
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#valdef-transform-origin-right",
|
|
113
|
-
"type": "value",
|
|
114
|
-
"value": "right"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"name": "bottom",
|
|
118
|
-
"prose": "Computes to 100% for the vertical position.",
|
|
119
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#valdef-transform-origin-bottom",
|
|
120
|
-
"type": "value",
|
|
121
|
-
"value": "bottom"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"name": "left",
|
|
125
|
-
"prose": "Computes to 0% for the horizontal position.",
|
|
126
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#valdef-transform-origin-left",
|
|
127
|
-
"type": "value",
|
|
128
|
-
"value": "left"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"name": "center",
|
|
132
|
-
"prose": "Computes to 50% (left 50%) for the horizontal position if the horizontal position is not otherwise specified, or 50% (top 50%) for the vertical position if it is.",
|
|
133
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#valdef-transform-origin-center",
|
|
134
|
-
"type": "value",
|
|
135
|
-
"value": "center"
|
|
136
|
-
}
|
|
137
|
-
],
|
|
138
|
-
"styleDeclaration": [
|
|
139
|
-
"transform-origin",
|
|
140
|
-
"transformOrigin"
|
|
141
|
-
]
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"name": "transform-box",
|
|
145
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#propdef-transform-box",
|
|
146
|
-
"value": "content-box | border-box | fill-box | stroke-box | view-box",
|
|
147
|
-
"initial": "view-box",
|
|
148
|
-
"appliesTo": "transformable elements",
|
|
149
|
-
"inherited": "no",
|
|
150
|
-
"percentages": "N/A",
|
|
151
|
-
"computedValue": "specified keyword",
|
|
152
|
-
"canonicalOrder": "per grammar",
|
|
153
|
-
"animationType": "discrete",
|
|
154
|
-
"values": [
|
|
155
|
-
{
|
|
156
|
-
"name": "content-box",
|
|
157
|
-
"prose": "Uses the content box as reference box. The reference box of a table is the border box of its table wrapper box, not its table box.",
|
|
158
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#valdef-transform-box-content-box",
|
|
159
|
-
"type": "value",
|
|
160
|
-
"value": "content-box"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"name": "border-box",
|
|
164
|
-
"prose": "Uses the border box as reference box. The reference box of a table is the border box of its table wrapper box, not its table box.",
|
|
165
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#valdef-transform-box-border-box",
|
|
166
|
-
"type": "value",
|
|
167
|
-
"value": "border-box"
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"name": "fill-box",
|
|
171
|
-
"prose": "Uses the object bounding box as reference box.",
|
|
172
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#valdef-transform-box-fill-box",
|
|
173
|
-
"type": "value",
|
|
174
|
-
"value": "fill-box"
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"name": "stroke-box",
|
|
178
|
-
"prose": "Uses the stroke bounding box as reference box.",
|
|
179
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#valdef-transform-box-stroke-box",
|
|
180
|
-
"type": "value",
|
|
181
|
-
"value": "stroke-box"
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"name": "view-box",
|
|
185
|
-
"prose": "Uses the nearest SVG viewport as reference box. If a viewBox attribute is specified for the SVG viewport creating element: The reference box is positioned at the origin of the coordinate system established by the viewBox attribute. The dimension of the reference box is set to the width and height values of the viewBox attribute.",
|
|
186
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#valdef-transform-box-view-box",
|
|
187
|
-
"type": "value",
|
|
188
|
-
"value": "view-box"
|
|
189
|
-
}
|
|
190
|
-
],
|
|
191
|
-
"styleDeclaration": [
|
|
192
|
-
"transform-box",
|
|
193
|
-
"transformBox"
|
|
194
|
-
]
|
|
195
|
-
}
|
|
196
|
-
],
|
|
197
|
-
"atrules": [],
|
|
198
|
-
"selectors": [],
|
|
199
|
-
"values": [
|
|
200
|
-
{
|
|
201
|
-
"name": "<transform-list>",
|
|
202
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#typedef-transform-list",
|
|
203
|
-
"type": "type",
|
|
204
|
-
"value": "<transform-function>+"
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
"name": "<transform-function>",
|
|
208
|
-
"prose": "The value of the transform property is a list of <transform-function>. The set of allowed transform functions is given below. In the following functions, a <zero> behaves the same as 0deg (\"unitless 0\" angles are preserved for legacy compat). A percentage for horizontal translations is relative to the width of the reference box. A percentage for vertical translations is relative to the height of the reference box.",
|
|
209
|
-
"href": "https://drafts.csswg.org/css-transforms-1/#typedef-transform-function",
|
|
210
|
-
"type": "type"
|
|
211
|
-
}
|
|
212
|
-
]
|
|
213
|
-
}
|
package/css-transitions-2.json
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS Transitions Level 2",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-transitions-2/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [
|
|
7
|
-
{
|
|
8
|
-
"name": "transition-behavior",
|
|
9
|
-
"href": "https://drafts.csswg.org/css-transitions-2/#propdef-transition-behavior",
|
|
10
|
-
"value": "<transition-behavior-value>#",
|
|
11
|
-
"initial": "normal",
|
|
12
|
-
"appliesTo": "all elements",
|
|
13
|
-
"inherited": "no",
|
|
14
|
-
"percentages": "N/A",
|
|
15
|
-
"computedValue": "as specified",
|
|
16
|
-
"canonicalOrder": "per grammar",
|
|
17
|
-
"animationType": "not animatable",
|
|
18
|
-
"styleDeclaration": [
|
|
19
|
-
"transition-behavior",
|
|
20
|
-
"transitionBehavior"
|
|
21
|
-
]
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
"atrules": [
|
|
25
|
-
{
|
|
26
|
-
"name": "@starting-style",
|
|
27
|
-
"prose": "The @starting-style rule is a grouping rule. The style rules inside it are used to establish styles to transition from, if the previous style change event did not establish a before-change style for the element whose styles are being computed.",
|
|
28
|
-
"href": "https://drafts.csswg.org/css-transitions-2/#at-ruledef-starting-style",
|
|
29
|
-
"descriptors": []
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
"selectors": [],
|
|
33
|
-
"values": [
|
|
34
|
-
{
|
|
35
|
-
"name": "<transition-behavior-value>",
|
|
36
|
-
"value": "normal | allow-discrete",
|
|
37
|
-
"href": "https://drafts.csswg.org/css-transitions-2/#typedef-transition-behavior-value",
|
|
38
|
-
"type": "type"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"name": "<single-transition>",
|
|
42
|
-
"value": "[ none | <single-transition-property> ] || <time> || <easing-function> || <time> || <transition-behavior-value>",
|
|
43
|
-
"href": "https://drafts.csswg.org/css-transitions-2/#single-transition",
|
|
44
|
-
"type": "type"
|
|
45
|
-
}
|
|
46
|
-
]
|
|
47
|
-
}
|