@webref/css 6.10.3 → 6.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CSS.json +83 -8
- package/README.md +1 -0
- package/SVG.json +27 -0
- package/compat.json +75 -0
- package/compositing.json +22 -0
- package/css-align.json +59 -0
- package/css-anchor-position.json +214 -19
- package/css-animations-2.json +13 -0
- package/css-animations.json +34 -0
- package/css-backgrounds-4.json +12 -0
- package/css-backgrounds.json +78 -0
- package/css-borders.json +91 -0
- package/css-box.json +48 -0
- package/css-break.json +50 -0
- package/css-cascade-6.json +3 -0
- package/css-cascade.json +10 -0
- package/css-color-5.json +74 -0
- package/css-color-6.json +6 -0
- package/css-color-adjust.json +14 -0
- package/css-color.json +273 -1
- package/css-conditional-4.json +2 -0
- package/css-conditional-5.json +7 -0
- package/css-conditional.json +6 -0
- package/css-contain-3.json +27 -0
- package/css-contain.json +12 -0
- package/css-content.json +53 -0
- package/css-counter-styles.json +85 -0
- package/css-display.json +48 -0
- package/css-easing.json +24 -0
- package/css-env.json +11 -0
- package/css-exclusions.json +11 -0
- package/css-extensions.json +4 -0
- package/css-flexbox.json +24 -0
- package/css-fonts-5.json +46 -0
- package/css-fonts.json +221 -9
- package/css-gcpm-4.json +10 -4
- package/css-gcpm.json +13 -1
- package/css-grid-3.json +1 -0
- package/css-grid.json +88 -0
- package/css-highlight-api.json +3 -1
- package/css-images-4.json +49 -0
- package/css-images-5.json +3 -0
- package/css-images.json +46 -0
- package/css-inline.json +93 -0
- package/css-layout-api.json +1 -0
- package/css-line-grid.json +14 -0
- package/css-link-params.json +2 -0
- package/css-lists.json +34 -0
- package/css-logical.json +27 -0
- package/css-masking.json +69 -0
- package/css-multicol-2.json +5 -0
- package/css-multicol.json +19 -0
- package/css-namespaces.json +2 -0
- package/css-nav.json +10 -0
- package/css-nesting.json +2 -1
- package/css-overflow-4.json +37 -1
- package/css-overflow.json +38 -0
- package/css-overscroll.json +20 -0
- package/css-page-floats.json +34 -0
- package/css-page.json +52 -0
- package/css-paint-api.json +1 -0
- package/css-position-4.json +5 -1
- package/css-position.json +50 -0
- package/css-properties-values-api.json +4 -0
- package/css-pseudo.json +23 -10
- package/css-regions.json +3 -0
- package/css-rhythm.json +15 -0
- package/css-round-display.json +8 -0
- package/css-ruby.json +22 -0
- package/css-scoping.json +8 -4
- package/css-scroll-anchoring.json +3 -0
- package/css-scroll-snap-2.json +55 -5
- package/css-scroll-snap.json +53 -0
- package/css-scrollbars.json +7 -0
- package/css-shadow-parts.json +1 -0
- package/css-shapes-2.json +34 -0
- package/css-shapes.json +22 -0
- package/css-size-adjust.json +4 -0
- package/css-sizing-4.json +59 -0
- package/css-sizing.json +42 -0
- package/css-speech.json +115 -0
- package/css-syntax.json +43 -0
- package/css-tables.json +5 -0
- package/css-text-4.json +161 -0
- package/css-text-decor-4.json +75 -0
- package/css-text-decor.json +32 -0
- package/css-text.json +70 -0
- package/css-transforms-2.json +37 -0
- package/css-transforms.json +26 -0
- package/css-transitions-2.json +4 -0
- package/css-transitions.json +9 -0
- package/css-ui.json +92 -0
- package/css-values-5.json +59 -0
- package/css-values.json +115 -0
- package/css-variables.json +2 -0
- package/css-view-transitions-2.json +8 -1
- package/css-view-transitions.json +15 -5
- package/css-viewport.json +43 -0
- package/css-will-change.json +6 -0
- package/css-writing-modes.json +26 -0
- package/fill-stroke.json +66 -0
- package/filter-effects-2.json +1 -0
- package/filter-effects.json +24 -0
- package/html.json +3 -0
- package/mathml-core.json +3 -0
- package/mediaqueries-5.json +121 -0
- package/mediaqueries.json +77 -0
- package/motion.json +32 -0
- package/package.json +1 -1
- package/scroll-animations.json +54 -0
- package/selectors.json +173 -72
- package/svg-strokes.json +3 -0
- package/upgrade-insecure-requests.json +2 -0
- package/webvtt.json +8 -4
package/css-anchor-position.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"properties": [
|
|
7
7
|
{
|
|
8
8
|
"name": "anchor-name",
|
|
9
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-anchor-name",
|
|
9
10
|
"value": "none | <dashed-ident>#",
|
|
10
11
|
"initial": "none",
|
|
11
12
|
"appliesTo": "all elements that generate a principal box",
|
|
@@ -18,12 +19,14 @@
|
|
|
18
19
|
{
|
|
19
20
|
"name": "none",
|
|
20
21
|
"prose": "The property has no effect.",
|
|
22
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-name-none",
|
|
21
23
|
"type": "value",
|
|
22
24
|
"value": "none"
|
|
23
25
|
},
|
|
24
26
|
{
|
|
25
27
|
"name": "<dashed-ident>#",
|
|
26
28
|
"prose": "If the element generates a principal box, the element is an anchor element, with a list of anchor names as specified. Each anchor name is a tree-scoped name. Otherwise, the property has no effect.",
|
|
29
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-name-dashed-ident",
|
|
27
30
|
"type": "value",
|
|
28
31
|
"value": "<dashed-ident>#"
|
|
29
32
|
}
|
|
@@ -35,6 +38,7 @@
|
|
|
35
38
|
},
|
|
36
39
|
{
|
|
37
40
|
"name": "anchor-default",
|
|
41
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-anchor-default",
|
|
38
42
|
"value": "<anchor-element>",
|
|
39
43
|
"initial": "implicit",
|
|
40
44
|
"appliesTo": "absolutely positioned elements",
|
|
@@ -50,6 +54,7 @@
|
|
|
50
54
|
},
|
|
51
55
|
{
|
|
52
56
|
"name": "inset-area",
|
|
57
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-inset-area",
|
|
53
58
|
"value": "none | <inset-area-span> [ / <inset-area-span> ]?",
|
|
54
59
|
"initial": "none",
|
|
55
60
|
"appliesTo": "positioned elements with a default anchor element",
|
|
@@ -62,18 +67,21 @@
|
|
|
62
67
|
{
|
|
63
68
|
"name": "none",
|
|
64
69
|
"prose": "The property has no effect.",
|
|
70
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-none",
|
|
65
71
|
"type": "value",
|
|
66
72
|
"value": "none"
|
|
67
73
|
},
|
|
68
74
|
{
|
|
69
75
|
"name": "<inset-area-span>",
|
|
70
76
|
"prose": "Behaves as <inset-area-span> / all, filling the entire row/column of the grid indicated by the specified value.",
|
|
77
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-inset-area-span",
|
|
71
78
|
"type": "value",
|
|
72
79
|
"value": "<inset-area-span>"
|
|
73
80
|
},
|
|
74
81
|
{
|
|
75
82
|
"name": "<inset-area-span> [ / <inset-area-span> ]?",
|
|
76
83
|
"prose": "If the element does not have a default anchor element, or is not an absolutely-positioned element, this value has no effect. Otherwise, the two spans define a rectangular region of the inset-area grid, and have the following effects: Any auto inset properties compute to the appropriate value to match the rectangular region. The normal value for the self-alignment properties behaves as either start, end, or anchor-center, depending on the positioning of the region, to give a good default alignment for the positioned element. See § 3.1.1 Resolving <inset-area-span>s for details on both of these effects. If the two <inset-area-span>s do not define a valid region, this property is invalid.",
|
|
84
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-inset-area-span--inset-area-span",
|
|
77
85
|
"type": "value",
|
|
78
86
|
"value": "<inset-area-span> [ / <inset-area-span> ]?"
|
|
79
87
|
}
|
|
@@ -89,7 +97,8 @@
|
|
|
89
97
|
"values": [
|
|
90
98
|
{
|
|
91
99
|
"name": "anchor-center",
|
|
92
|
-
"prose": "The new anchor-center value makes this case extremely simple: if the positioned element has a default anchor element, then it is aligned so as to center itself over the default anchor element in the
|
|
100
|
+
"prose": "The new anchor-center value makes this case extremely simple: if the positioned element has a default anchor element, then it is aligned so as to center itself over the default anchor element in the relevant axis.",
|
|
101
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-justify-self-anchor-center",
|
|
93
102
|
"type": "value",
|
|
94
103
|
"value": "anchor-center"
|
|
95
104
|
}
|
|
@@ -105,7 +114,8 @@
|
|
|
105
114
|
"values": [
|
|
106
115
|
{
|
|
107
116
|
"name": "anchor-center",
|
|
108
|
-
"prose": "The new anchor-center value makes this case extremely simple: if the positioned element has a default anchor element, then it is aligned so as to center itself over the default anchor element in the
|
|
117
|
+
"prose": "The new anchor-center value makes this case extremely simple: if the positioned element has a default anchor element, then it is aligned so as to center itself over the default anchor element in the relevant axis.",
|
|
118
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-justify-self-anchor-center",
|
|
109
119
|
"type": "value",
|
|
110
120
|
"value": "anchor-center"
|
|
111
121
|
}
|
|
@@ -121,7 +131,8 @@
|
|
|
121
131
|
"values": [
|
|
122
132
|
{
|
|
123
133
|
"name": "anchor-center",
|
|
124
|
-
"prose": "The new anchor-center value makes this case extremely simple: if the positioned element has a default anchor element, then it is aligned so as to center itself over the default anchor element in the
|
|
134
|
+
"prose": "The new anchor-center value makes this case extremely simple: if the positioned element has a default anchor element, then it is aligned so as to center itself over the default anchor element in the relevant axis.",
|
|
135
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-justify-self-anchor-center",
|
|
125
136
|
"type": "value",
|
|
126
137
|
"value": "anchor-center"
|
|
127
138
|
}
|
|
@@ -137,7 +148,8 @@
|
|
|
137
148
|
"values": [
|
|
138
149
|
{
|
|
139
150
|
"name": "anchor-center",
|
|
140
|
-
"prose": "The new anchor-center value makes this case extremely simple: if the positioned element has a default anchor element, then it is aligned so as to center itself over the default anchor element in the
|
|
151
|
+
"prose": "The new anchor-center value makes this case extremely simple: if the positioned element has a default anchor element, then it is aligned so as to center itself over the default anchor element in the relevant axis.",
|
|
152
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-justify-self-anchor-center",
|
|
141
153
|
"type": "value",
|
|
142
154
|
"value": "anchor-center"
|
|
143
155
|
}
|
|
@@ -148,8 +160,9 @@
|
|
|
148
160
|
]
|
|
149
161
|
},
|
|
150
162
|
{
|
|
151
|
-
"name": "position-
|
|
152
|
-
"
|
|
163
|
+
"name": "position-try-options",
|
|
164
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-position-try-options",
|
|
165
|
+
"value": "none | [ <dashed-ident> | <try-tactic> ]#",
|
|
153
166
|
"initial": "none",
|
|
154
167
|
"appliesTo": "absolutely-positioned elements",
|
|
155
168
|
"inherited": "no",
|
|
@@ -160,24 +173,159 @@
|
|
|
160
173
|
"values": [
|
|
161
174
|
{
|
|
162
175
|
"name": "none",
|
|
163
|
-
"prose": "The property has no effect; the
|
|
176
|
+
"prose": "The property has no effect; the only entry in the position options list is the element’s computed style.",
|
|
177
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-options-none",
|
|
164
178
|
"type": "value",
|
|
165
179
|
"value": "none"
|
|
166
180
|
},
|
|
167
181
|
{
|
|
168
182
|
"name": "<dashed-ident>",
|
|
169
|
-
"prose": "If there is a @position-
|
|
183
|
+
"prose": "If there is a @position-try rule with the given name, its associated position option is added to the position options list. Otherwise, this value has no effect.",
|
|
184
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-options-dashed-ident",
|
|
170
185
|
"type": "value",
|
|
171
186
|
"value": "<dashed-ident>"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "<try-tactic>",
|
|
190
|
+
"value": "flip-block || flip-inline || flip-start",
|
|
191
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-options-try-tactic",
|
|
192
|
+
"type": "value"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "<try-tactic>",
|
|
196
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#typedef-position-try-options-try-tactic",
|
|
197
|
+
"type": "type",
|
|
198
|
+
"value": "flip-block || flip-inline || flip-start"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "flip-block",
|
|
202
|
+
"prose": "swaps the values in the block axis (between, for example, margin-block-start and margin-block-end), essentially mirroring across an inline-axis line.",
|
|
203
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-options-flip-block",
|
|
204
|
+
"type": "value",
|
|
205
|
+
"value": "flip-block"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "flip-inline",
|
|
209
|
+
"prose": "swaps the values in the inline axis, essentially mirroring across a block-axis line.",
|
|
210
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-options-flip-inline",
|
|
211
|
+
"type": "value",
|
|
212
|
+
"value": "flip-inline"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "flip-start",
|
|
216
|
+
"prose": "swaps the values of the start properties with each other, and the end properties with each other (between, for example, margin-block-start and margin-inline-start), essentially mirroring across a diagonal drawn from the start-start corner to the end-end corner.",
|
|
217
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-options-flip-start",
|
|
218
|
+
"type": "value",
|
|
219
|
+
"value": "flip-start"
|
|
220
|
+
}
|
|
221
|
+
],
|
|
222
|
+
"styleDeclaration": [
|
|
223
|
+
"position-try-options",
|
|
224
|
+
"positionTryOptions"
|
|
225
|
+
]
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "position-try-order",
|
|
229
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-position-try-order",
|
|
230
|
+
"value": "normal | <try-size>",
|
|
231
|
+
"initial": "normal",
|
|
232
|
+
"appliesTo": "absolutely positioned elements",
|
|
233
|
+
"inherited": "no",
|
|
234
|
+
"percentages": "n/a",
|
|
235
|
+
"computedValue": "as specified",
|
|
236
|
+
"canonicalOrder": "per grammar",
|
|
237
|
+
"animationType": "discrete",
|
|
238
|
+
"values": [
|
|
239
|
+
{
|
|
240
|
+
"name": "normal",
|
|
241
|
+
"prose": "Try the position options in the order specified by position-try-options.",
|
|
242
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-order-normal",
|
|
243
|
+
"type": "value",
|
|
244
|
+
"value": "normal"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"name": "most-width",
|
|
248
|
+
"prose": "Stable sort the position options list in order of greatest to least inset-modified containing block size in the matching axis.",
|
|
249
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-order-most-width",
|
|
250
|
+
"type": "value",
|
|
251
|
+
"value": "most-width"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"name": "most-height",
|
|
255
|
+
"prose": "Stable sort the position options list in order of greatest to least inset-modified containing block size in the matching axis.",
|
|
256
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-order-most-height",
|
|
257
|
+
"type": "value",
|
|
258
|
+
"value": "most-height"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"name": "most-block-size",
|
|
262
|
+
"prose": "Stable sort the position options list in order of greatest to least inset-modified containing block size in the matching axis.",
|
|
263
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-order-most-block-size",
|
|
264
|
+
"type": "value",
|
|
265
|
+
"value": "most-block-size"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "most-inline-size",
|
|
269
|
+
"prose": "Stable sort the position options list in order of greatest to least inset-modified containing block size in the matching axis.",
|
|
270
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-order-most-inline-size",
|
|
271
|
+
"type": "value",
|
|
272
|
+
"value": "most-inline-size"
|
|
273
|
+
}
|
|
274
|
+
],
|
|
275
|
+
"styleDeclaration": [
|
|
276
|
+
"position-try-order",
|
|
277
|
+
"positionTryOrder"
|
|
278
|
+
]
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "position-try-final",
|
|
282
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-position-try-final",
|
|
283
|
+
"value": "[ always? && [ first | <try-size> ] ] | hide",
|
|
284
|
+
"initial": "first",
|
|
285
|
+
"appliesTo": "absolutely positioned elements",
|
|
286
|
+
"inherited": "no",
|
|
287
|
+
"percentages": "n/a",
|
|
288
|
+
"computedValue": "as specified",
|
|
289
|
+
"canonicalOrder": "per grammar",
|
|
290
|
+
"animationType": "discrete",
|
|
291
|
+
"values": [
|
|
292
|
+
{
|
|
293
|
+
"name": "first",
|
|
294
|
+
"prose": "Use the first option in the position options list (after sorting by position-try-order).",
|
|
295
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-final-first",
|
|
296
|
+
"type": "value",
|
|
297
|
+
"value": "first"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"name": "<try-size>",
|
|
301
|
+
"prose": "Stable sort the position options list as if this was the specified position-try-order, then use the first option.",
|
|
302
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-final-try-size",
|
|
303
|
+
"type": "value",
|
|
304
|
+
"value": "<try-size>"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"name": "always",
|
|
308
|
+
"prose": "If this keyword is not specified, and this box has previously been laid out with a position option that didn’t result in overflow, use that option.",
|
|
309
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-final-always",
|
|
310
|
+
"type": "value",
|
|
311
|
+
"value": "always"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "hide",
|
|
315
|
+
"prose": "Use the first position option (as for first), but also hide the box such that it (and all of its contents) are invisible (like visibility: hidden) and do not contribute to scrollable overflow.",
|
|
316
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-final-hide",
|
|
317
|
+
"type": "value",
|
|
318
|
+
"value": "hide"
|
|
172
319
|
}
|
|
173
320
|
],
|
|
174
321
|
"styleDeclaration": [
|
|
175
|
-
"position-
|
|
176
|
-
"
|
|
322
|
+
"position-try-final",
|
|
323
|
+
"positionTryFinal"
|
|
177
324
|
]
|
|
178
325
|
},
|
|
179
326
|
{
|
|
180
327
|
"name": "position-fallback-bounds",
|
|
328
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-position-fallback-bounds",
|
|
181
329
|
"value": "normal | <dashed-ident>",
|
|
182
330
|
"initial": "normal",
|
|
183
331
|
"appliesTo": "absolutely positioned elements",
|
|
@@ -189,7 +337,8 @@
|
|
|
189
337
|
"values": [
|
|
190
338
|
{
|
|
191
339
|
"name": "normal",
|
|
192
|
-
"prose": "The element uses its normal (scroll-adjusted, inset-modified) containing block to determine if it’s overflowing for the purpose of selecting a position
|
|
340
|
+
"prose": "The element uses its normal (scroll-adjusted, inset-modified) containing block to determine if it’s overflowing for the purpose of selecting a position options list entry.",
|
|
341
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-fallback-bounds-normal",
|
|
193
342
|
"type": "value",
|
|
194
343
|
"value": "normal"
|
|
195
344
|
}
|
|
@@ -202,129 +351,144 @@
|
|
|
202
351
|
],
|
|
203
352
|
"atrules": [
|
|
204
353
|
{
|
|
205
|
-
"name": "@position-
|
|
206
|
-
"prose": "The @position-
|
|
354
|
+
"name": "@position-try",
|
|
355
|
+
"prose": "The @position-try rule defines a position option with a given name, specifying one or more sets of positioning properties that will be applied to an element via position-try-options,",
|
|
356
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#at-ruledef-position-try",
|
|
207
357
|
"descriptors": [],
|
|
208
|
-
"value": "@position-
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
"name": "@try",
|
|
212
|
-
"prose": "The @position-fallback rule defines a position fallback list with a given name, specifying one or more sets of positioning properties inside of @try blocks that will be applied to an element, with each successive one serving as fallback if the previous would cause the element to partially or fully overflow its containing block.",
|
|
213
|
-
"descriptors": []
|
|
358
|
+
"value": "@position-try <dashed-ident> { <declaration-list> }"
|
|
214
359
|
}
|
|
215
360
|
],
|
|
216
361
|
"selectors": [],
|
|
217
362
|
"values": [
|
|
218
363
|
{
|
|
219
364
|
"name": "<inset-area-span>",
|
|
365
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#typedef-inset-area-span",
|
|
220
366
|
"type": "type",
|
|
221
367
|
"value": "[ start || end || center ] | [ self-start || self-end || center ] | [ top || bottom || center ] | [ left || right || center ] | [ x-start || x-end || center ] | [ y-start || y-end || center ] | [ x-self-start || x-self-end || center ] | [ y-self-start || y-self-end || center ] | all",
|
|
222
368
|
"values": [
|
|
223
369
|
{
|
|
224
370
|
"name": "all",
|
|
225
371
|
"prose": "All three regions of that axis, spanning the entire breadth of the containing block.",
|
|
372
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-all",
|
|
226
373
|
"type": "value",
|
|
227
374
|
"value": "all"
|
|
228
375
|
},
|
|
229
376
|
{
|
|
230
377
|
"name": "start",
|
|
231
378
|
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
379
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-start",
|
|
232
380
|
"type": "value",
|
|
233
381
|
"value": "start"
|
|
234
382
|
},
|
|
235
383
|
{
|
|
236
384
|
"name": "end",
|
|
237
385
|
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
386
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-end",
|
|
238
387
|
"type": "value",
|
|
239
388
|
"value": "end"
|
|
240
389
|
},
|
|
241
390
|
{
|
|
242
391
|
"name": "self-start",
|
|
243
392
|
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
393
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-self-start",
|
|
244
394
|
"type": "value",
|
|
245
395
|
"value": "self-start"
|
|
246
396
|
},
|
|
247
397
|
{
|
|
248
398
|
"name": "self-end",
|
|
249
399
|
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
400
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-self-end",
|
|
250
401
|
"type": "value",
|
|
251
402
|
"value": "self-end"
|
|
252
403
|
},
|
|
253
404
|
{
|
|
254
405
|
"name": "top",
|
|
255
406
|
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
407
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-top",
|
|
256
408
|
"type": "value",
|
|
257
409
|
"value": "top"
|
|
258
410
|
},
|
|
259
411
|
{
|
|
260
412
|
"name": "bottom",
|
|
261
413
|
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
414
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-bottom",
|
|
262
415
|
"type": "value",
|
|
263
416
|
"value": "bottom"
|
|
264
417
|
},
|
|
265
418
|
{
|
|
266
419
|
"name": "left",
|
|
267
420
|
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
421
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-left",
|
|
268
422
|
"type": "value",
|
|
269
423
|
"value": "left"
|
|
270
424
|
},
|
|
271
425
|
{
|
|
272
426
|
"name": "right",
|
|
273
427
|
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
428
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-right",
|
|
274
429
|
"type": "value",
|
|
275
430
|
"value": "right"
|
|
276
431
|
},
|
|
277
432
|
{
|
|
278
433
|
"name": "y-start",
|
|
279
434
|
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
435
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-y-start",
|
|
280
436
|
"type": "value",
|
|
281
437
|
"value": "y-start"
|
|
282
438
|
},
|
|
283
439
|
{
|
|
284
440
|
"name": "y-end",
|
|
285
441
|
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
442
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-y-end",
|
|
286
443
|
"type": "value",
|
|
287
444
|
"value": "y-end"
|
|
288
445
|
},
|
|
289
446
|
{
|
|
290
447
|
"name": "y-self-start",
|
|
291
448
|
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
449
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-y-self-start",
|
|
292
450
|
"type": "value",
|
|
293
451
|
"value": "y-self-start"
|
|
294
452
|
},
|
|
295
453
|
{
|
|
296
454
|
"name": "y-self-end",
|
|
297
455
|
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
456
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-y-self-end",
|
|
298
457
|
"type": "value",
|
|
299
458
|
"value": "y-self-end"
|
|
300
459
|
},
|
|
301
460
|
{
|
|
302
461
|
"name": "x-start",
|
|
303
462
|
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
463
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-x-start",
|
|
304
464
|
"type": "value",
|
|
305
465
|
"value": "x-start"
|
|
306
466
|
},
|
|
307
467
|
{
|
|
308
468
|
"name": "x-end",
|
|
309
469
|
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
470
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-x-end",
|
|
310
471
|
"type": "value",
|
|
311
472
|
"value": "x-end"
|
|
312
473
|
},
|
|
313
474
|
{
|
|
314
475
|
"name": "x-self-start",
|
|
315
476
|
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
477
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-x-self-start",
|
|
316
478
|
"type": "value",
|
|
317
479
|
"value": "x-self-start"
|
|
318
480
|
},
|
|
319
481
|
{
|
|
320
482
|
"name": "x-self-end",
|
|
321
483
|
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
484
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-x-self-end",
|
|
322
485
|
"type": "value",
|
|
323
486
|
"value": "x-self-end"
|
|
324
487
|
},
|
|
325
488
|
{
|
|
326
489
|
"name": "center",
|
|
327
490
|
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
491
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-center",
|
|
328
492
|
"type": "value",
|
|
329
493
|
"value": "center"
|
|
330
494
|
}
|
|
@@ -333,90 +497,105 @@
|
|
|
333
497
|
{
|
|
334
498
|
"name": "anchor()",
|
|
335
499
|
"prose": "An absolutely-positioned element can use the anchor() function as a value in its inset properties to refer to the position of one or more anchor elements. The anchor() function resolves to a <length>.",
|
|
500
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#funcdef-anchor",
|
|
336
501
|
"type": "function",
|
|
337
502
|
"value": "anchor( <anchor-element>? <anchor-side>, <length-percentage>? )",
|
|
338
503
|
"values": [
|
|
339
504
|
{
|
|
340
505
|
"name": "<dashed-ident>",
|
|
341
506
|
"prose": "Specifies the anchor name it will look for. This name is a tree-scoped reference.",
|
|
507
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-dashed-ident",
|
|
342
508
|
"type": "value",
|
|
343
509
|
"value": "<dashed-ident>"
|
|
344
510
|
},
|
|
345
511
|
{
|
|
346
512
|
"name": "implicit",
|
|
347
513
|
"prose": "Selects the implicit anchor element defined for the element, if possible.",
|
|
514
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-implicit",
|
|
348
515
|
"type": "value",
|
|
349
516
|
"value": "implicit"
|
|
350
517
|
},
|
|
351
518
|
{
|
|
352
519
|
"name": "inside",
|
|
353
520
|
"prose": "Resolves to one of the anchor element’s sides, depending on which inset property it’s used in. inside refers to the same side as the inset property (attaching the element to the \"inside\" of the anchor), while outside refers to the opposite.",
|
|
521
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-inside",
|
|
354
522
|
"type": "value",
|
|
355
523
|
"value": "inside"
|
|
356
524
|
},
|
|
357
525
|
{
|
|
358
526
|
"name": "outside",
|
|
359
527
|
"prose": "Resolves to one of the anchor element’s sides, depending on which inset property it’s used in. inside refers to the same side as the inset property (attaching the element to the \"inside\" of the anchor), while outside refers to the opposite.",
|
|
528
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-outside",
|
|
360
529
|
"type": "value",
|
|
361
530
|
"value": "outside"
|
|
362
531
|
},
|
|
363
532
|
{
|
|
364
533
|
"name": "top",
|
|
365
534
|
"prose": "Refers to the specified side of the anchor element.",
|
|
535
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-top",
|
|
366
536
|
"type": "value",
|
|
367
537
|
"value": "top"
|
|
368
538
|
},
|
|
369
539
|
{
|
|
370
540
|
"name": "right",
|
|
371
541
|
"prose": "Refers to the specified side of the anchor element.",
|
|
542
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-right",
|
|
372
543
|
"type": "value",
|
|
373
544
|
"value": "right"
|
|
374
545
|
},
|
|
375
546
|
{
|
|
376
547
|
"name": "bottom",
|
|
377
548
|
"prose": "Refers to the specified side of the anchor element.",
|
|
549
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-bottom",
|
|
378
550
|
"type": "value",
|
|
379
551
|
"value": "bottom"
|
|
380
552
|
},
|
|
381
553
|
{
|
|
382
554
|
"name": "left",
|
|
383
555
|
"prose": "Refers to the specified side of the anchor element.",
|
|
556
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-left",
|
|
384
557
|
"type": "value",
|
|
385
558
|
"value": "left"
|
|
386
559
|
},
|
|
387
560
|
{
|
|
388
561
|
"name": "start",
|
|
389
562
|
"prose": "Refers to one of the sides of the anchor element in the same axis as the inset property it’s used in, by resolving the keyword against the writing mode of either the positioned element (for self-start and self-end) or the positioned element’s containing block (for start and end).",
|
|
563
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-start",
|
|
390
564
|
"type": "value",
|
|
391
565
|
"value": "start"
|
|
392
566
|
},
|
|
393
567
|
{
|
|
394
568
|
"name": "end",
|
|
395
569
|
"prose": "Refers to one of the sides of the anchor element in the same axis as the inset property it’s used in, by resolving the keyword against the writing mode of either the positioned element (for self-start and self-end) or the positioned element’s containing block (for start and end).",
|
|
570
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-end",
|
|
396
571
|
"type": "value",
|
|
397
572
|
"value": "end"
|
|
398
573
|
},
|
|
399
574
|
{
|
|
400
575
|
"name": "self-start",
|
|
401
576
|
"prose": "Refers to one of the sides of the anchor element in the same axis as the inset property it’s used in, by resolving the keyword against the writing mode of either the positioned element (for self-start and self-end) or the positioned element’s containing block (for start and end).",
|
|
577
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-self-start",
|
|
402
578
|
"type": "value",
|
|
403
579
|
"value": "self-start"
|
|
404
580
|
},
|
|
405
581
|
{
|
|
406
582
|
"name": "self-end",
|
|
407
583
|
"prose": "Refers to one of the sides of the anchor element in the same axis as the inset property it’s used in, by resolving the keyword against the writing mode of either the positioned element (for self-start and self-end) or the positioned element’s containing block (for start and end).",
|
|
584
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-self-end",
|
|
408
585
|
"type": "value",
|
|
409
586
|
"value": "self-end"
|
|
410
587
|
},
|
|
411
588
|
{
|
|
412
589
|
"name": "<percentage>",
|
|
413
590
|
"prose": "Refers to a position a corresponding percentage between the start and end sides, with 0% being equivalent to start and 100% being equivalent to end. center is equivalent to 50%.",
|
|
591
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-percentage",
|
|
414
592
|
"type": "value",
|
|
415
593
|
"value": "<percentage>"
|
|
416
594
|
},
|
|
417
595
|
{
|
|
418
596
|
"name": "center",
|
|
419
597
|
"prose": "Refers to a position a corresponding percentage between the start and end sides, with 0% being equivalent to start and 100% being equivalent to end. center is equivalent to 50%.",
|
|
598
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-center",
|
|
420
599
|
"type": "value",
|
|
421
600
|
"value": "center"
|
|
422
601
|
}
|
|
@@ -424,53 +603,62 @@
|
|
|
424
603
|
},
|
|
425
604
|
{
|
|
426
605
|
"name": "<anchor-element>",
|
|
606
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#typedef-anchor-element",
|
|
427
607
|
"type": "type",
|
|
428
608
|
"value": "<dashed-ident> | implicit"
|
|
429
609
|
},
|
|
430
610
|
{
|
|
431
611
|
"name": "<anchor-side>",
|
|
612
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#typedef-anchor-side",
|
|
432
613
|
"type": "type",
|
|
433
614
|
"value": "inside | outside | top | left | right | bottom | start | end | self-start | self-end | <percentage> | center"
|
|
434
615
|
},
|
|
435
616
|
{
|
|
436
617
|
"name": "anchor-size()",
|
|
437
618
|
"prose": "An absolutely-positioned element can use the anchor-size() function in its sizing properties to refer to the size of one or more anchor elements. The anchor-size() function resolves to a <length>.",
|
|
619
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#funcdef-anchor-size",
|
|
438
620
|
"type": "function",
|
|
439
621
|
"value": "anchor-size( <anchor-element>? <anchor-size>, <length-percentage>? )",
|
|
440
622
|
"values": [
|
|
441
623
|
{
|
|
442
624
|
"name": "width",
|
|
443
625
|
"prose": "The physical <anchor-size> keywords (width and height) refer to the width and height, respectively, of the target anchor element. Unlike anchor(), there is no restriction on having to match axises; for example, width: anchor-size(--foo height); is valid.",
|
|
626
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-size-width",
|
|
444
627
|
"type": "value",
|
|
445
628
|
"value": "width"
|
|
446
629
|
},
|
|
447
630
|
{
|
|
448
631
|
"name": "height",
|
|
449
632
|
"prose": "The physical <anchor-size> keywords (width and height) refer to the width and height, respectively, of the target anchor element. Unlike anchor(), there is no restriction on having to match axises; for example, width: anchor-size(--foo height); is valid.",
|
|
633
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-size-height",
|
|
450
634
|
"type": "value",
|
|
451
635
|
"value": "height"
|
|
452
636
|
},
|
|
453
637
|
{
|
|
454
638
|
"name": "block",
|
|
455
639
|
"prose": "The logical <anchor-size> keywords (block, inline, self-block, and self-inline) map to one of the physical keywords according to either the writing mode of the element (for self-block and self-inline) or the writing mode of the element’s containing block (for block and inline).",
|
|
640
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-size-block",
|
|
456
641
|
"type": "value",
|
|
457
642
|
"value": "block"
|
|
458
643
|
},
|
|
459
644
|
{
|
|
460
645
|
"name": "inline",
|
|
461
646
|
"prose": "The logical <anchor-size> keywords (block, inline, self-block, and self-inline) map to one of the physical keywords according to either the writing mode of the element (for self-block and self-inline) or the writing mode of the element’s containing block (for block and inline).",
|
|
647
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-size-inline",
|
|
462
648
|
"type": "value",
|
|
463
649
|
"value": "inline"
|
|
464
650
|
},
|
|
465
651
|
{
|
|
466
652
|
"name": "self-block",
|
|
467
653
|
"prose": "The logical <anchor-size> keywords (block, inline, self-block, and self-inline) map to one of the physical keywords according to either the writing mode of the element (for self-block and self-inline) or the writing mode of the element’s containing block (for block and inline).",
|
|
654
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-size-self-block",
|
|
468
655
|
"type": "value",
|
|
469
656
|
"value": "self-block"
|
|
470
657
|
},
|
|
471
658
|
{
|
|
472
659
|
"name": "self-inline",
|
|
473
660
|
"prose": "The logical <anchor-size> keywords (block, inline, self-block, and self-inline) map to one of the physical keywords according to either the writing mode of the element (for self-block and self-inline) or the writing mode of the element’s containing block (for block and inline).",
|
|
661
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-size-self-inline",
|
|
474
662
|
"type": "value",
|
|
475
663
|
"value": "self-inline"
|
|
476
664
|
}
|
|
@@ -478,8 +666,15 @@
|
|
|
478
666
|
},
|
|
479
667
|
{
|
|
480
668
|
"name": "<anchor-size>",
|
|
669
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#typedef-anchor-size",
|
|
481
670
|
"type": "type",
|
|
482
671
|
"value": "width | height | block | inline | self-block | self-inline"
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"name": "<try-size>",
|
|
675
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#typedef-try-size",
|
|
676
|
+
"type": "type",
|
|
677
|
+
"value": "most-width | most-height | most-block-size | most-inline-size"
|
|
483
678
|
}
|
|
484
679
|
]
|
|
485
680
|
}
|