@webref/css 6.10.3 → 6.10.4
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-anchor-position.json +135 -19
- package/css-color.json +1 -1
- package/css-fonts.json +16 -9
- package/package.json +1 -1
package/css-anchor-position.json
CHANGED
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"values": [
|
|
90
90
|
{
|
|
91
91
|
"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
|
|
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 relevant axis.",
|
|
93
93
|
"type": "value",
|
|
94
94
|
"value": "anchor-center"
|
|
95
95
|
}
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"values": [
|
|
106
106
|
{
|
|
107
107
|
"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
|
|
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 relevant axis.",
|
|
109
109
|
"type": "value",
|
|
110
110
|
"value": "anchor-center"
|
|
111
111
|
}
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"values": [
|
|
122
122
|
{
|
|
123
123
|
"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
|
|
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 relevant axis.",
|
|
125
125
|
"type": "value",
|
|
126
126
|
"value": "anchor-center"
|
|
127
127
|
}
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"values": [
|
|
138
138
|
{
|
|
139
139
|
"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
|
|
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 relevant axis.",
|
|
141
141
|
"type": "value",
|
|
142
142
|
"value": "anchor-center"
|
|
143
143
|
}
|
|
@@ -148,8 +148,8 @@
|
|
|
148
148
|
]
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
|
-
"name": "position-
|
|
152
|
-
"value": "none | <dashed-ident>",
|
|
151
|
+
"name": "position-try-options",
|
|
152
|
+
"value": "none | [ <dashed-ident> | <try-tactic> ]#",
|
|
153
153
|
"initial": "none",
|
|
154
154
|
"appliesTo": "absolutely-positioned elements",
|
|
155
155
|
"inherited": "no",
|
|
@@ -160,20 +160,136 @@
|
|
|
160
160
|
"values": [
|
|
161
161
|
{
|
|
162
162
|
"name": "none",
|
|
163
|
-
"prose": "The property has no effect; the
|
|
163
|
+
"prose": "The property has no effect; the only entry in the position options list is the element’s computed style.",
|
|
164
164
|
"type": "value",
|
|
165
165
|
"value": "none"
|
|
166
166
|
},
|
|
167
167
|
{
|
|
168
168
|
"name": "<dashed-ident>",
|
|
169
|
-
"prose": "If there is a @position-
|
|
169
|
+
"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.",
|
|
170
170
|
"type": "value",
|
|
171
171
|
"value": "<dashed-ident>"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"name": "<try-tactic>",
|
|
175
|
+
"value": "flip-block || flip-inline || flip-start",
|
|
176
|
+
"type": "value"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": "<try-tactic>",
|
|
180
|
+
"type": "type",
|
|
181
|
+
"value": "flip-block || flip-inline || flip-start"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "flip-block",
|
|
185
|
+
"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.",
|
|
186
|
+
"type": "value",
|
|
187
|
+
"value": "flip-block"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "flip-inline",
|
|
191
|
+
"prose": "swaps the values in the inline axis, essentially mirroring across a block-axis line.",
|
|
192
|
+
"type": "value",
|
|
193
|
+
"value": "flip-inline"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "flip-start",
|
|
197
|
+
"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.",
|
|
198
|
+
"type": "value",
|
|
199
|
+
"value": "flip-start"
|
|
200
|
+
}
|
|
201
|
+
],
|
|
202
|
+
"styleDeclaration": [
|
|
203
|
+
"position-try-options",
|
|
204
|
+
"positionTryOptions"
|
|
205
|
+
]
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "position-try-order",
|
|
209
|
+
"value": "normal | <try-size>",
|
|
210
|
+
"initial": "normal",
|
|
211
|
+
"appliesTo": "absolutely positioned elements",
|
|
212
|
+
"inherited": "no",
|
|
213
|
+
"percentages": "n/a",
|
|
214
|
+
"computedValue": "as specified",
|
|
215
|
+
"canonicalOrder": "per grammar",
|
|
216
|
+
"animationType": "discrete",
|
|
217
|
+
"values": [
|
|
218
|
+
{
|
|
219
|
+
"name": "normal",
|
|
220
|
+
"prose": "Try the position options in the order specified by position-try-options.",
|
|
221
|
+
"type": "value",
|
|
222
|
+
"value": "normal"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "most-width",
|
|
226
|
+
"prose": "Stable sort the position options list in order of greatest to least inset-modified containing block size in the matching axis.",
|
|
227
|
+
"type": "value",
|
|
228
|
+
"value": "most-width"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"name": "most-height",
|
|
232
|
+
"prose": "Stable sort the position options list in order of greatest to least inset-modified containing block size in the matching axis.",
|
|
233
|
+
"type": "value",
|
|
234
|
+
"value": "most-height"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"name": "most-block-size",
|
|
238
|
+
"prose": "Stable sort the position options list in order of greatest to least inset-modified containing block size in the matching axis.",
|
|
239
|
+
"type": "value",
|
|
240
|
+
"value": "most-block-size"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "most-inline-size",
|
|
244
|
+
"prose": "Stable sort the position options list in order of greatest to least inset-modified containing block size in the matching axis.",
|
|
245
|
+
"type": "value",
|
|
246
|
+
"value": "most-inline-size"
|
|
247
|
+
}
|
|
248
|
+
],
|
|
249
|
+
"styleDeclaration": [
|
|
250
|
+
"position-try-order",
|
|
251
|
+
"positionTryOrder"
|
|
252
|
+
]
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"name": "position-try-final",
|
|
256
|
+
"value": "[ always? && [ first | <try-size> ] ] | hide",
|
|
257
|
+
"initial": "first",
|
|
258
|
+
"appliesTo": "absolutely positioned elements",
|
|
259
|
+
"inherited": "no",
|
|
260
|
+
"percentages": "n/a",
|
|
261
|
+
"computedValue": "as specified",
|
|
262
|
+
"canonicalOrder": "per grammar",
|
|
263
|
+
"animationType": "discrete",
|
|
264
|
+
"values": [
|
|
265
|
+
{
|
|
266
|
+
"name": "first",
|
|
267
|
+
"prose": "Use the first option in the position options list (after sorting by position-try-order).",
|
|
268
|
+
"type": "value",
|
|
269
|
+
"value": "first"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"name": "<try-size>",
|
|
273
|
+
"prose": "Stable sort the position options list as if this was the specified position-try-order, then use the first option.",
|
|
274
|
+
"type": "value",
|
|
275
|
+
"value": "<try-size>"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"name": "always",
|
|
279
|
+
"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.",
|
|
280
|
+
"type": "value",
|
|
281
|
+
"value": "always"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "hide",
|
|
285
|
+
"prose": "Use the first 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.",
|
|
286
|
+
"type": "value",
|
|
287
|
+
"value": "hide"
|
|
172
288
|
}
|
|
173
289
|
],
|
|
174
290
|
"styleDeclaration": [
|
|
175
|
-
"position-
|
|
176
|
-
"
|
|
291
|
+
"position-try-final",
|
|
292
|
+
"positionTryFinal"
|
|
177
293
|
]
|
|
178
294
|
},
|
|
179
295
|
{
|
|
@@ -189,7 +305,7 @@
|
|
|
189
305
|
"values": [
|
|
190
306
|
{
|
|
191
307
|
"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
|
|
308
|
+
"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.",
|
|
193
309
|
"type": "value",
|
|
194
310
|
"value": "normal"
|
|
195
311
|
}
|
|
@@ -202,15 +318,10 @@
|
|
|
202
318
|
],
|
|
203
319
|
"atrules": [
|
|
204
320
|
{
|
|
205
|
-
"name": "@position-
|
|
206
|
-
"prose": "The @position-
|
|
321
|
+
"name": "@position-try",
|
|
322
|
+
"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,",
|
|
207
323
|
"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": []
|
|
324
|
+
"value": "@position-try <dashed-ident> { <declaration-list> }"
|
|
214
325
|
}
|
|
215
326
|
],
|
|
216
327
|
"selectors": [],
|
|
@@ -480,6 +591,11 @@
|
|
|
480
591
|
"name": "<anchor-size>",
|
|
481
592
|
"type": "type",
|
|
482
593
|
"value": "width | height | block | inline | self-block | self-inline"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"name": "<try-size>",
|
|
597
|
+
"type": "type",
|
|
598
|
+
"value": "most-width | most-height | most-block-size | most-inline-size"
|
|
483
599
|
}
|
|
484
600
|
]
|
|
485
601
|
}
|
package/css-color.json
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"values": [
|
|
32
32
|
{
|
|
33
33
|
"name": "<opacity-value>",
|
|
34
|
-
"prose": "The opacity to be applied to the element. The resulting opacity is applied to the entire element, rather than a particular color. Opacity values outside the range [0,1] are not invalid, and
|
|
34
|
+
"prose": "The opacity to be applied to the element. The resulting opacity is applied to the entire element, rather than a particular color. Opacity values outside the range [0,1] are not invalid, and are preserved in specified values, but are clamped to the range [0, 1] in computed values.",
|
|
35
35
|
"type": "type"
|
|
36
36
|
}
|
|
37
37
|
],
|
package/css-fonts.json
CHANGED
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
]
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
|
-
"name": "font-
|
|
70
|
+
"name": "font-width",
|
|
71
71
|
"value": "normal | <percentage [0,∞]> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded",
|
|
72
72
|
"initial": "normal",
|
|
73
73
|
"appliesTo": "all elements and text",
|
|
@@ -130,8 +130,8 @@
|
|
|
130
130
|
}
|
|
131
131
|
],
|
|
132
132
|
"styleDeclaration": [
|
|
133
|
-
"font-
|
|
134
|
-
"
|
|
133
|
+
"font-width",
|
|
134
|
+
"fontWidth"
|
|
135
135
|
]
|
|
136
136
|
},
|
|
137
137
|
{
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
},
|
|
240
240
|
{
|
|
241
241
|
"name": "font",
|
|
242
|
-
"value": "[ [ <'font-style'> || <font-variant-css2> || <'font-weight'> || <font-
|
|
242
|
+
"value": "[ [ <'font-style'> || <font-variant-css2> || <'font-weight'> || <font-width-css3> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | <system-family-name>",
|
|
243
243
|
"initial": "see individual properties",
|
|
244
244
|
"appliesTo": "all elements and text",
|
|
245
245
|
"inherited": "yes",
|
|
@@ -995,7 +995,7 @@
|
|
|
995
995
|
},
|
|
996
996
|
{
|
|
997
997
|
"name": "<palette-mix()>",
|
|
998
|
-
"prose": "This value defines a position in the interpolation between two palette values, identified by <palette-identifier>, by the palette keywords normal, light, dark, or by another <palette-mix()> value. The glyphs of the font must be rendered with a palette that is created by interpolating for each palette color index between the matching color indices of the first and second palette specified as arguments, recursively resolving <palette-mix()> functions if needed. For each palette color, the interpolation follows the rules of the <color-mix()> function.
|
|
998
|
+
"prose": "This value defines a position in the interpolation between two palette values, identified by <palette-identifier>, by the palette keywords normal, light, dark, or by another <palette-mix()> value. The glyphs of the font must be rendered with a palette that is created by interpolating for each palette color index between the matching color indices of the first and second palette specified as arguments, recursively resolving <palette-mix()> functions if needed. For each palette color, the interpolation follows the rules of the <color-mix()> function. Percentages are normalized according to CSS Color 5 § 3.1 Percentage Normalization.",
|
|
999
999
|
"type": "type",
|
|
1000
1000
|
"value": "palette-mix(<color-interpolation-method> , [ [normal | light | dark | <palette-identifier> | <palette-mix()> ] && <percentage [0,100]>? ]#{2})"
|
|
1001
1001
|
}
|
|
@@ -1045,6 +1045,13 @@
|
|
|
1045
1045
|
"font-variant-emoji",
|
|
1046
1046
|
"fontVariantEmoji"
|
|
1047
1047
|
]
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"name": "font-stretch",
|
|
1051
|
+
"styleDeclaration": [
|
|
1052
|
+
"font-stretch",
|
|
1053
|
+
"fontStretch"
|
|
1054
|
+
]
|
|
1048
1055
|
}
|
|
1049
1056
|
],
|
|
1050
1057
|
"atrules": [
|
|
@@ -1076,9 +1083,9 @@
|
|
|
1076
1083
|
"initial": "auto"
|
|
1077
1084
|
},
|
|
1078
1085
|
{
|
|
1079
|
-
"name": "font-
|
|
1086
|
+
"name": "font-width",
|
|
1080
1087
|
"for": "@font-face",
|
|
1081
|
-
"value": "auto | <'font-
|
|
1088
|
+
"value": "auto | <'font-width'>{1,2}",
|
|
1082
1089
|
"initial": "auto"
|
|
1083
1090
|
},
|
|
1084
1091
|
{
|
|
@@ -1262,7 +1269,7 @@
|
|
|
1262
1269
|
{
|
|
1263
1270
|
"name": "override-colors",
|
|
1264
1271
|
"for": "@font-palette-values",
|
|
1265
|
-
"value": "[ <integer [0,∞]> <
|
|
1272
|
+
"value": "[ <integer [0,∞]> <color> ]#",
|
|
1266
1273
|
"initial": "N/A"
|
|
1267
1274
|
}
|
|
1268
1275
|
],
|
|
@@ -1383,7 +1390,7 @@
|
|
|
1383
1390
|
"value": "[normal | small-caps]"
|
|
1384
1391
|
},
|
|
1385
1392
|
{
|
|
1386
|
-
"name": "<font-
|
|
1393
|
+
"name": "<font-width-css3>",
|
|
1387
1394
|
"type": "type",
|
|
1388
1395
|
"value": "[normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded]"
|
|
1389
1396
|
},
|