@webref/css 6.25.21 → 6.25.22
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/compat.json +2 -4
- package/css-overscroll.json +99 -33
- package/css-spatial.json +728 -0
- package/html.json +3 -3
- package/package.json +1 -1
package/compat.json
CHANGED
|
@@ -105,8 +105,7 @@
|
|
|
105
105
|
"-webkit-align-items",
|
|
106
106
|
"WebkitAlignItems",
|
|
107
107
|
"webkitAlignItems"
|
|
108
|
-
]
|
|
109
|
-
"value": "normal | stretch | <baseline-position> | <overflow-position>? <self-position>"
|
|
108
|
+
]
|
|
110
109
|
},
|
|
111
110
|
{
|
|
112
111
|
"name": "-webkit-align-content",
|
|
@@ -127,8 +126,7 @@
|
|
|
127
126
|
"-webkit-align-self",
|
|
128
127
|
"WebkitAlignSelf",
|
|
129
128
|
"webkitAlignSelf"
|
|
130
|
-
]
|
|
131
|
-
"value": "auto | <overflow-position>? [ normal | <self-position> ]| stretch | <baseline-position>"
|
|
129
|
+
]
|
|
132
130
|
},
|
|
133
131
|
{
|
|
134
132
|
"name": "-webkit-animation-name",
|
package/css-overscroll.json
CHANGED
|
@@ -1,15 +1,62 @@
|
|
|
1
1
|
{
|
|
2
2
|
"spec": {
|
|
3
|
-
"title": "CSS Overscroll Behavior Module Level
|
|
4
|
-
"url": "https://drafts.csswg.org/css-overscroll-
|
|
3
|
+
"title": "CSS Overscroll Behavior Module Level 2",
|
|
4
|
+
"url": "https://drafts.csswg.org/css-overscroll-2/"
|
|
5
5
|
},
|
|
6
6
|
"properties": [
|
|
7
|
+
{
|
|
8
|
+
"name": "overscroll-container-type",
|
|
9
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#propdef-overscroll-container-type",
|
|
10
|
+
"value": "auto | push | overlay | none",
|
|
11
|
+
"initial": "auto",
|
|
12
|
+
"appliesTo": "all elements",
|
|
13
|
+
"inherited": "no",
|
|
14
|
+
"percentages": "N/A",
|
|
15
|
+
"computedValue": "specified keyword",
|
|
16
|
+
"canonicalOrder": "per grammar",
|
|
17
|
+
"animationType": "discrete",
|
|
18
|
+
"media": "visual",
|
|
19
|
+
"values": [
|
|
20
|
+
{
|
|
21
|
+
"name": "auto",
|
|
22
|
+
"prose": "Behaves as push.",
|
|
23
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-container-type-auto",
|
|
24
|
+
"type": "value",
|
|
25
|
+
"value": "auto"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "push",
|
|
29
|
+
"prose": "The element can establish an overscroll container. Opening an overscroll area both shifts the overscroll area into view, and shifts the container’s content the same way to avoid overlap. (See § 3.4 Stacking and Push Translation.)",
|
|
30
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-container-type-push",
|
|
31
|
+
"type": "value",
|
|
32
|
+
"value": "push"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "overlay",
|
|
36
|
+
"prose": "The element can establish an overscroll container. Opening an overscroll area shifts only the overscroll area, overlaying it on top of the stationary container content. (See § 3.4 Stacking and Push Translation.)",
|
|
37
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-container-type-overlay",
|
|
38
|
+
"type": "value",
|
|
39
|
+
"value": "overlay"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "none",
|
|
43
|
+
"prose": "The element does not establish an overscroll container.",
|
|
44
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-container-type-none",
|
|
45
|
+
"type": "value",
|
|
46
|
+
"value": "none"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"styleDeclaration": [
|
|
50
|
+
"overscroll-container-type",
|
|
51
|
+
"overscrollContainerType"
|
|
52
|
+
]
|
|
53
|
+
},
|
|
7
54
|
{
|
|
8
55
|
"name": "overscroll-behavior",
|
|
9
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
56
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#propdef-overscroll-behavior",
|
|
10
57
|
"value": "[ contain | none | auto | chain ]{1,2}",
|
|
11
58
|
"initial": "auto auto",
|
|
12
|
-
"appliesTo": "scroll container elements",
|
|
59
|
+
"appliesTo": "scroll container and overscroll container elements",
|
|
13
60
|
"inherited": "no",
|
|
14
61
|
"percentages": "n/a",
|
|
15
62
|
"computedValue": "see individual properties",
|
|
@@ -20,28 +67,28 @@
|
|
|
20
67
|
{
|
|
21
68
|
"name": "contain",
|
|
22
69
|
"prose": "This value indicates that the element must not perform non-local boundary default actions such as scroll chaining or navigation. The user agent must not perform scroll chaining to any ancestors along the scroll chain regardless of whether the scroll originated at this element or one of its descendants. This value must not modify the behavior of how local boundary default actions should behave, such as showing any overscroll affordances.",
|
|
23
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
70
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-behavior-contain",
|
|
24
71
|
"type": "value",
|
|
25
72
|
"value": "contain"
|
|
26
73
|
},
|
|
27
74
|
{
|
|
28
75
|
"name": "none",
|
|
29
76
|
"prose": "This value implies the same behavior as contain and in addition this element must also not perform local boundary default actions such as showing any overscroll affordances.",
|
|
30
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
77
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-behavior-none",
|
|
31
78
|
"type": "value",
|
|
32
79
|
"value": "none"
|
|
33
80
|
},
|
|
34
81
|
{
|
|
35
82
|
"name": "chain",
|
|
36
83
|
"prose": "This value indicates that the element may perform non-local boundary default actions such as scroll chaining or navigation. However, the element must not perform local boundary default actions, such as showing any overscroll affordances.",
|
|
37
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
84
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-behavior-chain",
|
|
38
85
|
"type": "value",
|
|
39
86
|
"value": "chain"
|
|
40
87
|
},
|
|
41
88
|
{
|
|
42
89
|
"name": "auto",
|
|
43
90
|
"prose": "This value indicates that the user agent should perform the usual boundary default action with respect to scroll chaining, overscroll and navigation gestures.",
|
|
44
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
91
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-behavior-auto",
|
|
45
92
|
"type": "value",
|
|
46
93
|
"value": "auto"
|
|
47
94
|
}
|
|
@@ -57,10 +104,10 @@
|
|
|
57
104
|
},
|
|
58
105
|
{
|
|
59
106
|
"name": "overscroll-behavior-x",
|
|
60
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
107
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#propdef-overscroll-behavior-x",
|
|
61
108
|
"value": "contain | none | auto | chain",
|
|
62
109
|
"initial": "auto",
|
|
63
|
-
"appliesTo": "scroll container elements",
|
|
110
|
+
"appliesTo": "scroll container and overscroll container elements",
|
|
64
111
|
"inherited": "no",
|
|
65
112
|
"percentages": "N/A",
|
|
66
113
|
"computedValue": "as specified",
|
|
@@ -72,28 +119,28 @@
|
|
|
72
119
|
{
|
|
73
120
|
"name": "contain",
|
|
74
121
|
"prose": "This value indicates that the element must not perform non-local boundary default actions such as scroll chaining or navigation. The user agent must not perform scroll chaining to any ancestors along the scroll chain regardless of whether the scroll originated at this element or one of its descendants. This value must not modify the behavior of how local boundary default actions should behave, such as showing any overscroll affordances.",
|
|
75
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
122
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-behavior-contain",
|
|
76
123
|
"type": "value",
|
|
77
124
|
"value": "contain"
|
|
78
125
|
},
|
|
79
126
|
{
|
|
80
127
|
"name": "none",
|
|
81
128
|
"prose": "This value implies the same behavior as contain and in addition this element must also not perform local boundary default actions such as showing any overscroll affordances.",
|
|
82
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
129
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-behavior-none",
|
|
83
130
|
"type": "value",
|
|
84
131
|
"value": "none"
|
|
85
132
|
},
|
|
86
133
|
{
|
|
87
134
|
"name": "chain",
|
|
88
135
|
"prose": "This value indicates that the element may perform non-local boundary default actions such as scroll chaining or navigation. However, the element must not perform local boundary default actions, such as showing any overscroll affordances.",
|
|
89
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
136
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-behavior-chain",
|
|
90
137
|
"type": "value",
|
|
91
138
|
"value": "chain"
|
|
92
139
|
},
|
|
93
140
|
{
|
|
94
141
|
"name": "auto",
|
|
95
142
|
"prose": "This value indicates that the user agent should perform the usual boundary default action with respect to scroll chaining, overscroll and navigation gestures.",
|
|
96
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
143
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-behavior-auto",
|
|
97
144
|
"type": "value",
|
|
98
145
|
"value": "auto"
|
|
99
146
|
}
|
|
@@ -105,10 +152,10 @@
|
|
|
105
152
|
},
|
|
106
153
|
{
|
|
107
154
|
"name": "overscroll-behavior-y",
|
|
108
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
155
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#propdef-overscroll-behavior-y",
|
|
109
156
|
"value": "contain | none | auto | chain",
|
|
110
157
|
"initial": "auto",
|
|
111
|
-
"appliesTo": "scroll container elements",
|
|
158
|
+
"appliesTo": "scroll container and overscroll container elements",
|
|
112
159
|
"inherited": "no",
|
|
113
160
|
"percentages": "N/A",
|
|
114
161
|
"computedValue": "as specified",
|
|
@@ -120,28 +167,28 @@
|
|
|
120
167
|
{
|
|
121
168
|
"name": "contain",
|
|
122
169
|
"prose": "This value indicates that the element must not perform non-local boundary default actions such as scroll chaining or navigation. The user agent must not perform scroll chaining to any ancestors along the scroll chain regardless of whether the scroll originated at this element or one of its descendants. This value must not modify the behavior of how local boundary default actions should behave, such as showing any overscroll affordances.",
|
|
123
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
170
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-behavior-contain",
|
|
124
171
|
"type": "value",
|
|
125
172
|
"value": "contain"
|
|
126
173
|
},
|
|
127
174
|
{
|
|
128
175
|
"name": "none",
|
|
129
176
|
"prose": "This value implies the same behavior as contain and in addition this element must also not perform local boundary default actions such as showing any overscroll affordances.",
|
|
130
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
177
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-behavior-none",
|
|
131
178
|
"type": "value",
|
|
132
179
|
"value": "none"
|
|
133
180
|
},
|
|
134
181
|
{
|
|
135
182
|
"name": "chain",
|
|
136
183
|
"prose": "This value indicates that the element may perform non-local boundary default actions such as scroll chaining or navigation. However, the element must not perform local boundary default actions, such as showing any overscroll affordances.",
|
|
137
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
184
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-behavior-chain",
|
|
138
185
|
"type": "value",
|
|
139
186
|
"value": "chain"
|
|
140
187
|
},
|
|
141
188
|
{
|
|
142
189
|
"name": "auto",
|
|
143
190
|
"prose": "This value indicates that the user agent should perform the usual boundary default action with respect to scroll chaining, overscroll and navigation gestures.",
|
|
144
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
191
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-behavior-auto",
|
|
145
192
|
"type": "value",
|
|
146
193
|
"value": "auto"
|
|
147
194
|
}
|
|
@@ -153,10 +200,10 @@
|
|
|
153
200
|
},
|
|
154
201
|
{
|
|
155
202
|
"name": "overscroll-behavior-inline",
|
|
156
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
203
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#propdef-overscroll-behavior-inline",
|
|
157
204
|
"value": "contain | none | auto | chain",
|
|
158
205
|
"initial": "auto",
|
|
159
|
-
"appliesTo": "scroll container elements",
|
|
206
|
+
"appliesTo": "scroll container and overscroll container elements",
|
|
160
207
|
"inherited": "no",
|
|
161
208
|
"percentages": "N/A",
|
|
162
209
|
"computedValue": "as specified",
|
|
@@ -168,28 +215,28 @@
|
|
|
168
215
|
{
|
|
169
216
|
"name": "contain",
|
|
170
217
|
"prose": "This value indicates that the element must not perform non-local boundary default actions such as scroll chaining or navigation. The user agent must not perform scroll chaining to any ancestors along the scroll chain regardless of whether the scroll originated at this element or one of its descendants. This value must not modify the behavior of how local boundary default actions should behave, such as showing any overscroll affordances.",
|
|
171
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
218
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-behavior-contain",
|
|
172
219
|
"type": "value",
|
|
173
220
|
"value": "contain"
|
|
174
221
|
},
|
|
175
222
|
{
|
|
176
223
|
"name": "none",
|
|
177
224
|
"prose": "This value implies the same behavior as contain and in addition this element must also not perform local boundary default actions such as showing any overscroll affordances.",
|
|
178
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
225
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-behavior-none",
|
|
179
226
|
"type": "value",
|
|
180
227
|
"value": "none"
|
|
181
228
|
},
|
|
182
229
|
{
|
|
183
230
|
"name": "chain",
|
|
184
231
|
"prose": "This value indicates that the element may perform non-local boundary default actions such as scroll chaining or navigation. However, the element must not perform local boundary default actions, such as showing any overscroll affordances.",
|
|
185
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
232
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-behavior-chain",
|
|
186
233
|
"type": "value",
|
|
187
234
|
"value": "chain"
|
|
188
235
|
},
|
|
189
236
|
{
|
|
190
237
|
"name": "auto",
|
|
191
238
|
"prose": "This value indicates that the user agent should perform the usual boundary default action with respect to scroll chaining, overscroll and navigation gestures.",
|
|
192
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
239
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-behavior-auto",
|
|
193
240
|
"type": "value",
|
|
194
241
|
"value": "auto"
|
|
195
242
|
}
|
|
@@ -201,10 +248,10 @@
|
|
|
201
248
|
},
|
|
202
249
|
{
|
|
203
250
|
"name": "overscroll-behavior-block",
|
|
204
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
251
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#propdef-overscroll-behavior-block",
|
|
205
252
|
"value": "contain | none | auto | chain",
|
|
206
253
|
"initial": "auto",
|
|
207
|
-
"appliesTo": "scroll container elements",
|
|
254
|
+
"appliesTo": "scroll container and overscroll container elements",
|
|
208
255
|
"inherited": "no",
|
|
209
256
|
"percentages": "N/A",
|
|
210
257
|
"computedValue": "as specified",
|
|
@@ -216,28 +263,28 @@
|
|
|
216
263
|
{
|
|
217
264
|
"name": "contain",
|
|
218
265
|
"prose": "This value indicates that the element must not perform non-local boundary default actions such as scroll chaining or navigation. The user agent must not perform scroll chaining to any ancestors along the scroll chain regardless of whether the scroll originated at this element or one of its descendants. This value must not modify the behavior of how local boundary default actions should behave, such as showing any overscroll affordances.",
|
|
219
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
266
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-behavior-contain",
|
|
220
267
|
"type": "value",
|
|
221
268
|
"value": "contain"
|
|
222
269
|
},
|
|
223
270
|
{
|
|
224
271
|
"name": "none",
|
|
225
272
|
"prose": "This value implies the same behavior as contain and in addition this element must also not perform local boundary default actions such as showing any overscroll affordances.",
|
|
226
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
273
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-behavior-none",
|
|
227
274
|
"type": "value",
|
|
228
275
|
"value": "none"
|
|
229
276
|
},
|
|
230
277
|
{
|
|
231
278
|
"name": "chain",
|
|
232
279
|
"prose": "This value indicates that the element may perform non-local boundary default actions such as scroll chaining or navigation. However, the element must not perform local boundary default actions, such as showing any overscroll affordances.",
|
|
233
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
280
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-behavior-chain",
|
|
234
281
|
"type": "value",
|
|
235
282
|
"value": "chain"
|
|
236
283
|
},
|
|
237
284
|
{
|
|
238
285
|
"name": "auto",
|
|
239
286
|
"prose": "This value indicates that the user agent should perform the usual boundary default action with respect to scroll chaining, overscroll and navigation gestures.",
|
|
240
|
-
"href": "https://drafts.csswg.org/css-overscroll-
|
|
287
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#valdef-overscroll-behavior-auto",
|
|
241
288
|
"type": "value",
|
|
242
289
|
"value": "auto"
|
|
243
290
|
}
|
|
@@ -249,6 +296,25 @@
|
|
|
249
296
|
}
|
|
250
297
|
],
|
|
251
298
|
"atrules": [],
|
|
252
|
-
"selectors": [
|
|
299
|
+
"selectors": [
|
|
300
|
+
{
|
|
301
|
+
"name": ":overscroll-open",
|
|
302
|
+
"prose": "The :overscroll-open pseudo-class matches an overscroll area whose overscroll area parent is in the overscrolling state (see § 6.1 Event Dispatch).",
|
|
303
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#selectordef-overscroll-open",
|
|
304
|
+
"value": ":overscroll-open"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"name": ":overscroll-closed",
|
|
308
|
+
"prose": "The :overscroll-closed pseudo-class matches an overscroll area whose overscroll area parent is not in the overscrolling state.",
|
|
309
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#selectordef-overscroll-closed",
|
|
310
|
+
"value": ":overscroll-closed"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"name": "::overscroll-backdrop",
|
|
314
|
+
"prose": "Each overscroll area originates a ::overscroll-backdrop fully styleable pseudo-element.",
|
|
315
|
+
"href": "https://drafts.csswg.org/css-overscroll-2/#selectordef-overscroll-backdrop",
|
|
316
|
+
"value": "::overscroll-backdrop"
|
|
317
|
+
}
|
|
318
|
+
],
|
|
253
319
|
"values": []
|
|
254
320
|
}
|
package/css-spatial.json
ADDED
|
@@ -0,0 +1,728 @@
|
|
|
1
|
+
{
|
|
2
|
+
"spec": {
|
|
3
|
+
"title": "CSS Spatial Layout Module Level 1",
|
|
4
|
+
"url": "https://drafts.csswg.org/css-spatial-1/"
|
|
5
|
+
},
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
|
+
"name": "spatial",
|
|
9
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#propdef-spatial",
|
|
10
|
+
"value": "none | page | portal",
|
|
11
|
+
"initial": "none",
|
|
12
|
+
"appliesTo": "all elements except internal table elements, internal ruby elements, and inline boxes",
|
|
13
|
+
"inherited": "no",
|
|
14
|
+
"percentages": "n/a",
|
|
15
|
+
"computedValue": "as specified",
|
|
16
|
+
"canonicalOrder": "per grammar",
|
|
17
|
+
"animationType": "discrete",
|
|
18
|
+
"values": [
|
|
19
|
+
{
|
|
20
|
+
"name": "none",
|
|
21
|
+
"prose": "No effect.",
|
|
22
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-spatial-none",
|
|
23
|
+
"type": "value",
|
|
24
|
+
"value": "none"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "page",
|
|
28
|
+
"prose": "Establishes a limited front spatial context, which allows spatial positioning in front of the element’s plane. (However, see front-limit for limits on this area.)",
|
|
29
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-spatial-page",
|
|
30
|
+
"type": "value",
|
|
31
|
+
"value": "page"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "portal",
|
|
35
|
+
"prose": "Establishes two spatial contexts connected by a portal coinciding with the border box of the spatial container: a back spatial context behind the element consisting of a 3-dimensional “world” with its own independent coordinate system, which can be viewed through the spatial container’s portal (which acts as a window into this “world”). a front spatial context, which allows relative spatial positioning in front of the element’s plane just like page does, as well as behind it by extending through the portal into the the “world” of the back spatial context.",
|
|
36
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-spatial-portal",
|
|
37
|
+
"type": "value",
|
|
38
|
+
"value": "portal"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"styleDeclaration": [
|
|
42
|
+
"spatial"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "portal-stage",
|
|
47
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#propdef-portal-stage",
|
|
48
|
+
"value": "[ auto | <length> ]{1,4} [ / [ auto | <length> ]{1,2} ]?",
|
|
49
|
+
"initial": "auto",
|
|
50
|
+
"appliesTo": "spatial containers establishing a back spatial context",
|
|
51
|
+
"inherited": "no",
|
|
52
|
+
"percentages": "n/a",
|
|
53
|
+
"computedValue": "as specified, but with lengths made absolute",
|
|
54
|
+
"canonicalOrder": "per grammar",
|
|
55
|
+
"animationType": "by computed value",
|
|
56
|
+
"values": [
|
|
57
|
+
{
|
|
58
|
+
"name": "<length>",
|
|
59
|
+
"prose": "The stage expands from the world origin by the specified length towards the indicated side. Values can be negative.",
|
|
60
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-portal-stage-length",
|
|
61
|
+
"type": "value",
|
|
62
|
+
"value": "<length>"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "auto",
|
|
66
|
+
"prose": "The stage expands from the world origin to contain the contents of the back spatial context on the indicated side.",
|
|
67
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-portal-stage-auto",
|
|
68
|
+
"type": "value",
|
|
69
|
+
"value": "auto"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"styleDeclaration": [
|
|
73
|
+
"portal-stage",
|
|
74
|
+
"portalStage"
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "portal-transform",
|
|
79
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#propdef-portal-transform",
|
|
80
|
+
"value": "none | auto | auto? <transform-list> | <transform-list> auto <transform-list>?",
|
|
81
|
+
"initial": "auto",
|
|
82
|
+
"appliesTo": "spatial containers establishing a back spatial context",
|
|
83
|
+
"inherited": "no",
|
|
84
|
+
"percentages": "n/a",
|
|
85
|
+
"computedValue": "as specified, but with lengths made absolute",
|
|
86
|
+
"canonicalOrder": "per grammar",
|
|
87
|
+
"animationType": "Discrete if the presence of the none or auto keyword differs; otherwise interpolate each <transform-list> independently, see CSS Transforms 1 § 9 Interpolation of Transforms.",
|
|
88
|
+
"values": [
|
|
89
|
+
{
|
|
90
|
+
"name": "none",
|
|
91
|
+
"prose": "The world origin of the back spatial context is the center of its border box on the portal plane, and the portal transform ensures that <length> values correspond between the page and the back spatial context (i.e. 1cm in the back spatial context is 1cm on the page.)",
|
|
92
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-portal-transform-none",
|
|
93
|
+
"type": "value",
|
|
94
|
+
"value": "none"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "auto",
|
|
98
|
+
"prose": "The matrix required to fit the containing volume (or bounding sphere of the containing volume, in the case of portal-action: orbit) of the back spatial context into an axis-aligned rectangle whose sides align with content edges of the spatial container, and front aligns with the portal plane. If a <transform-list> is specified before auto, then it is applied to the containing volume prior to this calculation.",
|
|
99
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-portal-transform-auto",
|
|
100
|
+
"type": "value",
|
|
101
|
+
"value": "auto"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "<transform-list>",
|
|
105
|
+
"prose": "The back spatial context is transformed as specified.",
|
|
106
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-portal-transform-transform-list",
|
|
107
|
+
"type": "value",
|
|
108
|
+
"value": "<transform-list>"
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"styleDeclaration": [
|
|
112
|
+
"portal-transform",
|
|
113
|
+
"portalTransform"
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "portal-action",
|
|
118
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#propdef-portal-action",
|
|
119
|
+
"value": "none | orbit || resize || [ pan | pan-inline || pan-block || pan-x || pan-y || pan-z ]",
|
|
120
|
+
"initial": "none",
|
|
121
|
+
"appliesTo": "spatial containers establishing a back spatial context",
|
|
122
|
+
"inherited": "no",
|
|
123
|
+
"percentages": "n/a",
|
|
124
|
+
"computedValue": "as specified",
|
|
125
|
+
"canonicalOrder": "per grammar",
|
|
126
|
+
"animationType": "discrete",
|
|
127
|
+
"values": [
|
|
128
|
+
{
|
|
129
|
+
"name": "none",
|
|
130
|
+
"prose": "The contents of the back spatial context cannot be repositioned or rotated by the user.",
|
|
131
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-portal-action-none",
|
|
132
|
+
"type": "value",
|
|
133
|
+
"value": "none"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "orbit",
|
|
137
|
+
"prose": "The contents of the back spatial context can be rotated around the center of the containing volume by the user.",
|
|
138
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-portal-action-orbit",
|
|
139
|
+
"type": "value",
|
|
140
|
+
"value": "orbit"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"name": "resize",
|
|
144
|
+
"prose": "The contents of the back spatial context can be resized (scaled) by the user.",
|
|
145
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-portal-action-resize",
|
|
146
|
+
"type": "value",
|
|
147
|
+
"value": "resize"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "pan",
|
|
151
|
+
"prose": "The contents of the back spatial context can be translated (in any direction) by the user.",
|
|
152
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-portal-action-pan",
|
|
153
|
+
"type": "value",
|
|
154
|
+
"value": "pan"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"name": "pan-inline",
|
|
158
|
+
"prose": "The contents of the back spatial context can be translated (in the specified page-aligned axis) by the user.",
|
|
159
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-portal-action-pan-inline",
|
|
160
|
+
"type": "value",
|
|
161
|
+
"value": "pan-inline"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "pan-block",
|
|
165
|
+
"prose": "The contents of the back spatial context can be translated (in the specified page-aligned axis) by the user.",
|
|
166
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-portal-action-pan-block",
|
|
167
|
+
"type": "value",
|
|
168
|
+
"value": "pan-block"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "pan-x",
|
|
172
|
+
"prose": "The contents of the back spatial context can be translated (in the specified page-aligned axis) by the user.",
|
|
173
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-portal-action-pan-x",
|
|
174
|
+
"type": "value",
|
|
175
|
+
"value": "pan-x"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "pan-y",
|
|
179
|
+
"prose": "The contents of the back spatial context can be translated (in the specified page-aligned axis) by the user.",
|
|
180
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-portal-action-pan-y",
|
|
181
|
+
"type": "value",
|
|
182
|
+
"value": "pan-y"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "pan-z",
|
|
186
|
+
"prose": "The contents of the back spatial context can be translated (in the specified page-aligned axis) by the user.",
|
|
187
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-portal-action-pan-z",
|
|
188
|
+
"type": "value",
|
|
189
|
+
"value": "pan-z"
|
|
190
|
+
}
|
|
191
|
+
],
|
|
192
|
+
"styleDeclaration": [
|
|
193
|
+
"portal-action",
|
|
194
|
+
"portalAction"
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"name": "front-limit",
|
|
199
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#propdef-front-limit",
|
|
200
|
+
"value": "<length [0,∞]> | max",
|
|
201
|
+
"initial": "TBD",
|
|
202
|
+
"appliesTo": "spatial containers",
|
|
203
|
+
"inherited": "yes",
|
|
204
|
+
"percentages": "n/a",
|
|
205
|
+
"computedValue": "a computed <length>",
|
|
206
|
+
"canonicalOrder": "per grammar",
|
|
207
|
+
"animationType": "by computed value type",
|
|
208
|
+
"styleDeclaration": [
|
|
209
|
+
"front-limit",
|
|
210
|
+
"frontLimit"
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "position",
|
|
215
|
+
"newValues": "spatial-absolute",
|
|
216
|
+
"values": [
|
|
217
|
+
{
|
|
218
|
+
"name": "spatial-absolute",
|
|
219
|
+
"prose": "This module introduces the spatial-absolute keyword to the position property. When contained by a spatial container, this value takes the now spatially positioned box out of flow and positions it into the containing volume of the back spatial context (in the case of spatial: portal), or the front spatial context (in the case of spatial: page) of its spatial container.",
|
|
220
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-position-spatial-absolute",
|
|
221
|
+
"type": "value",
|
|
222
|
+
"value": "spatial-absolute"
|
|
223
|
+
}
|
|
224
|
+
],
|
|
225
|
+
"styleDeclaration": [
|
|
226
|
+
"position"
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "inset-back",
|
|
231
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#propdef-inset-back",
|
|
232
|
+
"value": "<'top'>",
|
|
233
|
+
"initial": "auto",
|
|
234
|
+
"appliesTo": "positioned boxes contained by a spatial container",
|
|
235
|
+
"inherited": "no",
|
|
236
|
+
"percentages": "for relative spatial positioning, relative to the distance from the containing block to the front limit plane; for absolute spatial positioning, relative to the z-axis size of the containing volume.",
|
|
237
|
+
"computedValue": "as specified",
|
|
238
|
+
"canonicalOrder": "per grammar",
|
|
239
|
+
"animationType": "by computed value type",
|
|
240
|
+
"values": [
|
|
241
|
+
{
|
|
242
|
+
"name": "auto",
|
|
243
|
+
"prose": "If both insets in this axis are auto, then the box is positioned at its default z-axis position. Otherwise, this value defers positioning to the opposite inset, see below.",
|
|
244
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-inset-front-auto",
|
|
245
|
+
"type": "value",
|
|
246
|
+
"value": "auto"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "<length-percentage>",
|
|
250
|
+
"prose": "The box’s position is inset by the specified amount from the front (for inset-front) or back (for inset-back).",
|
|
251
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-inset-front-length-percentage",
|
|
252
|
+
"type": "value",
|
|
253
|
+
"value": "<length-percentage>"
|
|
254
|
+
}
|
|
255
|
+
],
|
|
256
|
+
"styleDeclaration": [
|
|
257
|
+
"inset-back",
|
|
258
|
+
"insetBack"
|
|
259
|
+
]
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "inset-front",
|
|
263
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#propdef-inset-front",
|
|
264
|
+
"value": "<'top'>",
|
|
265
|
+
"initial": "auto",
|
|
266
|
+
"appliesTo": "positioned boxes contained by a spatial container",
|
|
267
|
+
"inherited": "no",
|
|
268
|
+
"percentages": "for relative spatial positioning, relative to the distance from the containing block to the front limit plane; for absolute spatial positioning, relative to the z-axis size of the containing volume.",
|
|
269
|
+
"computedValue": "as specified",
|
|
270
|
+
"canonicalOrder": "per grammar",
|
|
271
|
+
"animationType": "by computed value type",
|
|
272
|
+
"values": [
|
|
273
|
+
{
|
|
274
|
+
"name": "auto",
|
|
275
|
+
"prose": "If both insets in this axis are auto, then the box is positioned at its default z-axis position. Otherwise, this value defers positioning to the opposite inset, see below.",
|
|
276
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-inset-front-auto",
|
|
277
|
+
"type": "value",
|
|
278
|
+
"value": "auto"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "<length-percentage>",
|
|
282
|
+
"prose": "The box’s position is inset by the specified amount from the front (for inset-front) or back (for inset-back).",
|
|
283
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-inset-front-length-percentage",
|
|
284
|
+
"type": "value",
|
|
285
|
+
"value": "<length-percentage>"
|
|
286
|
+
}
|
|
287
|
+
],
|
|
288
|
+
"styleDeclaration": [
|
|
289
|
+
"inset-front",
|
|
290
|
+
"insetFront"
|
|
291
|
+
]
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "inset-top",
|
|
295
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#propdef-inset-top",
|
|
296
|
+
"value": "<'top'>",
|
|
297
|
+
"initial": "see individual properties",
|
|
298
|
+
"appliesTo": "see individual properties",
|
|
299
|
+
"inherited": "see individual properties",
|
|
300
|
+
"percentages": "see individual properties",
|
|
301
|
+
"computedValue": "see individual properties",
|
|
302
|
+
"animationType": "see individual properties",
|
|
303
|
+
"canonicalOrder": "per grammar",
|
|
304
|
+
"styleDeclaration": [
|
|
305
|
+
"inset-top",
|
|
306
|
+
"insetTop"
|
|
307
|
+
],
|
|
308
|
+
"longhands": [
|
|
309
|
+
"top"
|
|
310
|
+
]
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"name": "inset-right",
|
|
314
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#propdef-inset-right",
|
|
315
|
+
"value": "<'top'>",
|
|
316
|
+
"initial": "see individual properties",
|
|
317
|
+
"appliesTo": "see individual properties",
|
|
318
|
+
"inherited": "see individual properties",
|
|
319
|
+
"percentages": "see individual properties",
|
|
320
|
+
"computedValue": "see individual properties",
|
|
321
|
+
"animationType": "see individual properties",
|
|
322
|
+
"canonicalOrder": "per grammar",
|
|
323
|
+
"styleDeclaration": [
|
|
324
|
+
"inset-right",
|
|
325
|
+
"insetRight"
|
|
326
|
+
],
|
|
327
|
+
"longhands": [
|
|
328
|
+
"top"
|
|
329
|
+
]
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"name": "inset-bottom",
|
|
333
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#propdef-inset-bottom",
|
|
334
|
+
"value": "<'top'>",
|
|
335
|
+
"initial": "see individual properties",
|
|
336
|
+
"appliesTo": "see individual properties",
|
|
337
|
+
"inherited": "see individual properties",
|
|
338
|
+
"percentages": "see individual properties",
|
|
339
|
+
"computedValue": "see individual properties",
|
|
340
|
+
"animationType": "see individual properties",
|
|
341
|
+
"canonicalOrder": "per grammar",
|
|
342
|
+
"styleDeclaration": [
|
|
343
|
+
"inset-bottom",
|
|
344
|
+
"insetBottom"
|
|
345
|
+
],
|
|
346
|
+
"longhands": [
|
|
347
|
+
"top"
|
|
348
|
+
]
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"name": "inset-left",
|
|
352
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#propdef-inset-left",
|
|
353
|
+
"value": "<'top'>",
|
|
354
|
+
"initial": "see individual properties",
|
|
355
|
+
"appliesTo": "see individual properties",
|
|
356
|
+
"inherited": "see individual properties",
|
|
357
|
+
"percentages": "see individual properties",
|
|
358
|
+
"computedValue": "see individual properties",
|
|
359
|
+
"animationType": "see individual properties",
|
|
360
|
+
"canonicalOrder": "per grammar",
|
|
361
|
+
"styleDeclaration": [
|
|
362
|
+
"inset-left",
|
|
363
|
+
"insetLeft"
|
|
364
|
+
],
|
|
365
|
+
"longhands": [
|
|
366
|
+
"top"
|
|
367
|
+
]
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"name": "inset",
|
|
371
|
+
"newValues": "<'top'>{1, 4} / <'inset-back'> <'inset-front'>?",
|
|
372
|
+
"styleDeclaration": [
|
|
373
|
+
"inset"
|
|
374
|
+
],
|
|
375
|
+
"longhands": [
|
|
376
|
+
"top",
|
|
377
|
+
"right",
|
|
378
|
+
"bottom",
|
|
379
|
+
"left"
|
|
380
|
+
]
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"name": "position-area",
|
|
384
|
+
"newValues": "[ front | center | back | span-front | span-back | span-all ]? | origin",
|
|
385
|
+
"values": [
|
|
386
|
+
{
|
|
387
|
+
"name": "origin",
|
|
388
|
+
"prose": "This module also extends the <position-area> syntax to allow the origin keyword everywhere that center is currently allowed. This value represents a (zero-sized) track that coincides with the anchor’s origin, and its area-specific default alignment is anchor-origin.",
|
|
389
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-position-area-origin",
|
|
390
|
+
"type": "value",
|
|
391
|
+
"value": "origin"
|
|
392
|
+
}
|
|
393
|
+
],
|
|
394
|
+
"styleDeclaration": [
|
|
395
|
+
"position-area",
|
|
396
|
+
"positionArea"
|
|
397
|
+
]
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"name": "z-align-self",
|
|
401
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#propdef-z-align-self",
|
|
402
|
+
"value": "auto | <overflow-position>? [ normal | front | center | back ] | anchor-origin",
|
|
403
|
+
"initial": "auto",
|
|
404
|
+
"appliesTo": "spatially positioned boxes",
|
|
405
|
+
"inherited": "no",
|
|
406
|
+
"percentages": "n/a",
|
|
407
|
+
"computedValue": "as specified",
|
|
408
|
+
"canonicalOrder": "per grammar",
|
|
409
|
+
"animationType": "discrete",
|
|
410
|
+
"styleDeclaration": [
|
|
411
|
+
"z-align-self",
|
|
412
|
+
"zAlignSelf"
|
|
413
|
+
]
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"name": "z-align-items",
|
|
417
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#propdef-z-align-items",
|
|
418
|
+
"value": "<overflow-position>? [ normal | front | center | back ] | anchor-origin",
|
|
419
|
+
"initial": "normal",
|
|
420
|
+
"appliesTo": "all elements",
|
|
421
|
+
"inherited": "no",
|
|
422
|
+
"percentages": "n/a",
|
|
423
|
+
"computedValue": "as specified",
|
|
424
|
+
"canonicalOrder": "per grammar",
|
|
425
|
+
"animationType": "discrete",
|
|
426
|
+
"styleDeclaration": [
|
|
427
|
+
"z-align-items",
|
|
428
|
+
"zAlignItems"
|
|
429
|
+
]
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"name": "place-self",
|
|
433
|
+
"newValues": "<'align-self'> <'justify-self'>? / <'z-align-self'>",
|
|
434
|
+
"styleDeclaration": [
|
|
435
|
+
"place-self",
|
|
436
|
+
"placeSelf"
|
|
437
|
+
],
|
|
438
|
+
"longhands": [
|
|
439
|
+
"align-self",
|
|
440
|
+
"justify-self"
|
|
441
|
+
]
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"name": "place-items",
|
|
445
|
+
"newValues": "<'align-items'> <'justify-items'>? / <'z-align-items'>",
|
|
446
|
+
"styleDeclaration": [
|
|
447
|
+
"place-items",
|
|
448
|
+
"placeItems"
|
|
449
|
+
],
|
|
450
|
+
"longhands": [
|
|
451
|
+
"align-items",
|
|
452
|
+
"justify-items"
|
|
453
|
+
]
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"name": "justify-self",
|
|
457
|
+
"newValues": "anchor-origin",
|
|
458
|
+
"styleDeclaration": [
|
|
459
|
+
"justify-self",
|
|
460
|
+
"justifySelf"
|
|
461
|
+
]
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"name": "align-self",
|
|
465
|
+
"newValues": "anchor-origin",
|
|
466
|
+
"styleDeclaration": [
|
|
467
|
+
"align-self",
|
|
468
|
+
"alignSelf"
|
|
469
|
+
]
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"name": "justify-items",
|
|
473
|
+
"newValues": "anchor-origin",
|
|
474
|
+
"styleDeclaration": [
|
|
475
|
+
"justify-items",
|
|
476
|
+
"justifyItems"
|
|
477
|
+
]
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"name": "align-items",
|
|
481
|
+
"newValues": "anchor-origin",
|
|
482
|
+
"styleDeclaration": [
|
|
483
|
+
"align-items",
|
|
484
|
+
"alignItems"
|
|
485
|
+
]
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"name": "position-context",
|
|
489
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#propdef-position-context",
|
|
490
|
+
"value": "container | anchor",
|
|
491
|
+
"initial": "container",
|
|
492
|
+
"appliesTo": "absolutely positioned boxes",
|
|
493
|
+
"inherited": "no",
|
|
494
|
+
"percentages": "n/a",
|
|
495
|
+
"computedValue": "as specified",
|
|
496
|
+
"canonicalOrder": "per grammar",
|
|
497
|
+
"animationType": "discrete",
|
|
498
|
+
"values": [
|
|
499
|
+
{
|
|
500
|
+
"name": "container",
|
|
501
|
+
"prose": "The used anchor box of the default anchor box is its axis-aligned bounding box in the coordinate system of the positioned box’s containing block/containing volume, and the position-area grid is likewise oriented in the coordinate system of its containing block/containing volume.",
|
|
502
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-position-context-container",
|
|
503
|
+
"type": "value",
|
|
504
|
+
"value": "container"
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"name": "anchor",
|
|
508
|
+
"prose": "The positioned box is transformed together with its default anchor box. The anchor box is used directly in the default anchor box’s own coordinate system, however that has been transformed, and the position-area grid is likewise re-oriented. The positioned box moves, rotates, and scales together with the default anchor box. What should be the effective containing block used to calculate the position-area grid? Is it just transformed along with the anchor box (simple but maybe not very useful), or is it independently intersected somehow?",
|
|
509
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-position-context-anchor",
|
|
510
|
+
"type": "value",
|
|
511
|
+
"value": "anchor"
|
|
512
|
+
}
|
|
513
|
+
],
|
|
514
|
+
"styleDeclaration": [
|
|
515
|
+
"position-context",
|
|
516
|
+
"positionContext"
|
|
517
|
+
]
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"name": "environment-map",
|
|
521
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#propdef-environment-map",
|
|
522
|
+
"value": "[ auto | none | <dashed-ident> ]#",
|
|
523
|
+
"initial": "auto",
|
|
524
|
+
"appliesTo": "elements participating in a back spatial context",
|
|
525
|
+
"inherited": "yes",
|
|
526
|
+
"percentages": "n/a",
|
|
527
|
+
"computedValue": "as specified",
|
|
528
|
+
"canonicalOrder": "per grammar",
|
|
529
|
+
"animationType": "discrete",
|
|
530
|
+
"values": [
|
|
531
|
+
{
|
|
532
|
+
"name": "none",
|
|
533
|
+
"prose": "The environment map is opaque black in all directions.",
|
|
534
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-environment-map-none",
|
|
535
|
+
"type": "value",
|
|
536
|
+
"value": "none"
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"name": "auto",
|
|
540
|
+
"prose": "The environment map used is the user agent’s default environment map.",
|
|
541
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-environment-map-auto",
|
|
542
|
+
"type": "value",
|
|
543
|
+
"value": "auto"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"name": "<dashed-ident>",
|
|
547
|
+
"prose": "The environment map is defined by the @environment-map rule matching the specified name (if any; otherwise it is opaque black).",
|
|
548
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-environment-map-dashed-ident",
|
|
549
|
+
"type": "value",
|
|
550
|
+
"value": "<dashed-ident>"
|
|
551
|
+
}
|
|
552
|
+
],
|
|
553
|
+
"styleDeclaration": [
|
|
554
|
+
"environment-map",
|
|
555
|
+
"environmentMap"
|
|
556
|
+
]
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"name": "environment-intensity",
|
|
560
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#propdef-environment-intensity",
|
|
561
|
+
"value": "<number [0,∞]>#",
|
|
562
|
+
"initial": "1",
|
|
563
|
+
"appliesTo": "elements participating in a back spatial context",
|
|
564
|
+
"inherited": "yes",
|
|
565
|
+
"percentages": "n/a",
|
|
566
|
+
"computedValue": "as specified",
|
|
567
|
+
"canonicalOrder": "per grammar",
|
|
568
|
+
"animationType": "by computed value type",
|
|
569
|
+
"styleDeclaration": [
|
|
570
|
+
"environment-intensity",
|
|
571
|
+
"environmentIntensity"
|
|
572
|
+
]
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"name": "environment-rotate",
|
|
576
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#propdef-environment-rotate",
|
|
577
|
+
"value": "<angle>#",
|
|
578
|
+
"initial": "0deg",
|
|
579
|
+
"appliesTo": "elements participating in a back spatial context",
|
|
580
|
+
"inherited": "yes",
|
|
581
|
+
"percentages": "n/a",
|
|
582
|
+
"computedValue": "as specified",
|
|
583
|
+
"canonicalOrder": "per grammar",
|
|
584
|
+
"animationType": "by computed value type",
|
|
585
|
+
"styleDeclaration": [
|
|
586
|
+
"environment-rotate",
|
|
587
|
+
"environmentRotate"
|
|
588
|
+
]
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"name": "environment",
|
|
592
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#propdef-environment",
|
|
593
|
+
"value": "[ [ auto | none | <dashed-ident> ] || <number [0,∞]> || <angle> ]#",
|
|
594
|
+
"initial": "see individual properties",
|
|
595
|
+
"appliesTo": "see individual properties",
|
|
596
|
+
"inherited": "see individual properties",
|
|
597
|
+
"percentages": "see individual properties",
|
|
598
|
+
"computedValue": "see individual properties",
|
|
599
|
+
"animationType": "see individual properties",
|
|
600
|
+
"canonicalOrder": "per grammar",
|
|
601
|
+
"styleDeclaration": [
|
|
602
|
+
"environment"
|
|
603
|
+
],
|
|
604
|
+
"longhands": [
|
|
605
|
+
"environment-map",
|
|
606
|
+
"environment-intensity",
|
|
607
|
+
"environment-rotate"
|
|
608
|
+
]
|
|
609
|
+
}
|
|
610
|
+
],
|
|
611
|
+
"atrules": [
|
|
612
|
+
{
|
|
613
|
+
"name": "@environment-map",
|
|
614
|
+
"prose": "Environment maps are named and defined using the @environment-map at-rule, which contains a list of environment map descriptor declarations. Its syntax is as follows:",
|
|
615
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#at-ruledef-environment-map",
|
|
616
|
+
"descriptors": [
|
|
617
|
+
{
|
|
618
|
+
"name": "format",
|
|
619
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#descdef-environment-map-format",
|
|
620
|
+
"for": "@environment-map",
|
|
621
|
+
"value": "equirectangular | cube",
|
|
622
|
+
"initial": "equirectangular",
|
|
623
|
+
"values": [
|
|
624
|
+
{
|
|
625
|
+
"name": "equirectangular",
|
|
626
|
+
"prose": "The rectangular image is mapped onto the interior of a sphere (similar to a Mercator projection), with the top of the image coinciding with the y-most point on the sphere, the bottom of the image coinciding with the y-least point on the sphere, and the center of the image at the z-least point on the sphere (directly in front of the user). If more than one source image is provided, the first one is used and all others are ignored.",
|
|
627
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-environment-map-format-equirectangular",
|
|
628
|
+
"type": "value",
|
|
629
|
+
"value": "equirectangular"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"name": "cube",
|
|
633
|
+
"prose": "The six images provided in the src descriptor are mapped onto the interior of an axis-aligned cube, see § 6.1.1.1 Mapping Images Onto a Cube.",
|
|
634
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-environment-map-format-cube",
|
|
635
|
+
"type": "value",
|
|
636
|
+
"value": "cube"
|
|
637
|
+
}
|
|
638
|
+
]
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
"name": "src",
|
|
642
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#descdef-environment-map-src",
|
|
643
|
+
"for": "@environment-map",
|
|
644
|
+
"value": "<image>{1,6}",
|
|
645
|
+
"initial": "N/A"
|
|
646
|
+
}
|
|
647
|
+
],
|
|
648
|
+
"value": "@environment-map { <declaration-list> }"
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"name": "@media",
|
|
652
|
+
"descriptors": [
|
|
653
|
+
{
|
|
654
|
+
"name": "front-limit",
|
|
655
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#descdef-media-front-limit",
|
|
656
|
+
"for": "@media",
|
|
657
|
+
"value": "<length [0,∞]>",
|
|
658
|
+
"type": "range"
|
|
659
|
+
}
|
|
660
|
+
]
|
|
661
|
+
}
|
|
662
|
+
],
|
|
663
|
+
"selectors": [],
|
|
664
|
+
"values": [
|
|
665
|
+
{
|
|
666
|
+
"name": "<3d-position>",
|
|
667
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#typedef-3d-position",
|
|
668
|
+
"type": "type",
|
|
669
|
+
"prose": "The offset-anchor and transform-origin properties are extended to add a third dimension, replacing <position> with a new <3d-position> type"
|
|
670
|
+
}
|
|
671
|
+
],
|
|
672
|
+
"warnings": [
|
|
673
|
+
{
|
|
674
|
+
"msg": "Dangling value",
|
|
675
|
+
"name": "auto",
|
|
676
|
+
"prose": "The existing offset-anchor and transform-origin properties can change the object origin. Specifically, the effective object origin for CSS positioning and alignment (see below) is the origin defined by offset-anchor, which defaults to the origin defined by transform-origin—which itself gains a new initial value of auto (matching the syntax of offset-anchor) to represent the default behavior specified above.",
|
|
677
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-transform-origin-auto",
|
|
678
|
+
"type": "value",
|
|
679
|
+
"value": "auto",
|
|
680
|
+
"for": "transform-origin"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"msg": "Dangling value",
|
|
684
|
+
"name": "front",
|
|
685
|
+
"prose": "This module extends the <anchor()> syntax to add front and back to <anchor-side>. Together with the existing start/end keywords, this allows the inset-front and inset-back inset properties to resolve against the corresponding sides of the anchor box.",
|
|
686
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-anchor-side-front",
|
|
687
|
+
"type": "value",
|
|
688
|
+
"value": "front",
|
|
689
|
+
"for": "<<anchor-side>>"
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"msg": "Dangling value",
|
|
693
|
+
"name": "back",
|
|
694
|
+
"prose": "This module extends the <anchor()> syntax to add front and back to <anchor-side>. Together with the existing start/end keywords, this allows the inset-front and inset-back inset properties to resolve against the corresponding sides of the anchor box.",
|
|
695
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-anchor-side-back",
|
|
696
|
+
"type": "value",
|
|
697
|
+
"value": "back",
|
|
698
|
+
"for": "anchor-side"
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"msg": "Dangling value",
|
|
702
|
+
"name": "depth",
|
|
703
|
+
"prose": "Similarly, for sizing purposes, the <anchor-size()> syntax gains a depth keyword to represent the z-axis size of the anchor box. (Note the thickness of a CSS box, unless otherwise defined, is zero.)",
|
|
704
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-anchor-size-depth",
|
|
705
|
+
"type": "value",
|
|
706
|
+
"value": "depth",
|
|
707
|
+
"for": "<<anchor-size>>"
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"msg": "Dangling value",
|
|
711
|
+
"name": "origin",
|
|
712
|
+
"prose": "It also adds an origin keyword to <anchor-side>, which resolves against the object origin of the anchor box.",
|
|
713
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-anchor-side-origin",
|
|
714
|
+
"type": "value",
|
|
715
|
+
"value": "origin",
|
|
716
|
+
"for": "<<anchor-side>>"
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"msg": "Dangling value",
|
|
720
|
+
"name": "anchor-origin",
|
|
721
|
+
"prose": "This module also introduces the new anchor-origin value, which centers the origin of the alignment subject against the origin of its default anchor box. When anchor-origin is specified, the inset properties behave differently in the affected axis: instead of adjusting the inset-modified containing block, they shift the origin of the alignment subject—exactly as if it were a zero-sized containing block and the effective origin were the resulting inset-modified containing block.",
|
|
722
|
+
"href": "https://drafts.csswg.org/css-spatial-1/#valdef-self-position-anchor-origin",
|
|
723
|
+
"type": "value",
|
|
724
|
+
"value": "anchor-origin",
|
|
725
|
+
"for": "<self-position>"
|
|
726
|
+
}
|
|
727
|
+
]
|
|
728
|
+
}
|
package/html.json
CHANGED
|
@@ -11,19 +11,19 @@
|
|
|
11
11
|
"name": "<source-size-list>",
|
|
12
12
|
"href": "https://html.spec.whatwg.org/multipage/images.html#source-size-list",
|
|
13
13
|
"type": "type",
|
|
14
|
-
"value": "<source-size
|
|
14
|
+
"value": "auto | [ auto , ]? [ <source-size># , ]? <source-size-value>"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"name": "<source-size>",
|
|
18
18
|
"href": "https://html.spec.whatwg.org/multipage/images.html#source-size",
|
|
19
19
|
"type": "type",
|
|
20
|
-
"value": "<media-condition> <source-size-value>
|
|
20
|
+
"value": "<media-condition> <source-size-value>"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"name": "<source-size-value>",
|
|
24
24
|
"href": "https://html.spec.whatwg.org/multipage/images.html#source-size-value",
|
|
25
25
|
"type": "type",
|
|
26
|
-
"value": "<length>
|
|
26
|
+
"value": "<length>"
|
|
27
27
|
}
|
|
28
28
|
]
|
|
29
29
|
}
|