@webref/css 6.11.1 → 6.11.2

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.
@@ -73,7 +73,7 @@
73
73
  },
74
74
  {
75
75
  "name": "<inset-area>",
76
- "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 property selects a region of the inset-area grid, and makes that the element’s containing block. Additionally, 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. Also, any auto inset properties resolve to 0.",
76
+ "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 property selects a region of the inset-area grid, and makes that the element’s containing block. Additionally, 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>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. Also, any auto inset properties resolve to 0.",
77
77
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-inset-area",
78
78
  "type": "value",
79
79
  "value": "<inset-area>"
@@ -155,7 +155,7 @@
155
155
  {
156
156
  "name": "position-try-options",
157
157
  "href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-position-try-options",
158
- "value": "none | [ <dashed-ident> | <try-tactic> ]#",
158
+ "value": "none | [ <dashed-ident> || <try-tactic> ]#",
159
159
  "initial": "none",
160
160
  "appliesTo": "absolutely-positioned elements",
161
161
  "inherited": "no",
@@ -210,6 +210,13 @@
210
210
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-options-flip-start",
211
211
  "type": "value",
212
212
  "value": "flip-start"
213
+ },
214
+ {
215
+ "name": "<dashed-ident> || <try-tactic>",
216
+ "prose": "Combines the effects of the previous two options: if there is a @position-try rule with the given name, then applies its position option to the element’s base style, transforms it according to the specified <try-tactic>, and then adds the result to the element’s position options list. Otherwise, does nothing.",
217
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-options-dashed-ident--try-tactic",
218
+ "type": "value",
219
+ "value": "<dashed-ident> || <try-tactic>"
213
220
  }
214
221
  ],
215
222
  "styleDeclaration": [
@@ -238,28 +245,28 @@
238
245
  },
239
246
  {
240
247
  "name": "most-width",
241
- "prose": "For each entry in the position options list, determine the position fallback styles, and find the specified inset-modified containing block size that results from those styles. Stably sort the position options list according to this size, with the largest coming first.",
248
+ "prose": "For each entry in the position options list, apply a position option using that option to the element, and find the specified inset-modified containing block size that results from those styles. Stably sort the position options list according to this size, with the largest coming first.",
242
249
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-order-most-width",
243
250
  "type": "value",
244
251
  "value": "most-width"
245
252
  },
246
253
  {
247
254
  "name": "most-height",
248
- "prose": "For each entry in the position options list, determine the position fallback styles, and find the specified inset-modified containing block size that results from those styles. Stably sort the position options list according to this size, with the largest coming first.",
255
+ "prose": "For each entry in the position options list, apply a position option using that option to the element, and find the specified inset-modified containing block size that results from those styles. Stably sort the position options list according to this size, with the largest coming first.",
249
256
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-order-most-height",
250
257
  "type": "value",
251
258
  "value": "most-height"
252
259
  },
253
260
  {
254
261
  "name": "most-block-size",
255
- "prose": "For each entry in the position options list, determine the position fallback styles, and find the specified inset-modified containing block size that results from those styles. Stably sort the position options list according to this size, with the largest coming first.",
262
+ "prose": "For each entry in the position options list, apply a position option using that option to the element, and find the specified inset-modified containing block size that results from those styles. Stably sort the position options list according to this size, with the largest coming first.",
256
263
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-order-most-block-size",
257
264
  "type": "value",
258
265
  "value": "most-block-size"
259
266
  },
260
267
  {
261
268
  "name": "most-inline-size",
262
- "prose": "For each entry in the position options list, determine the position fallback styles, and find the specified inset-modified containing block size that results from those styles. Stably sort the position options list according to this size, with the largest coming first.",
269
+ "prose": "For each entry in the position options list, apply a position option using that option to the element, and find the specified inset-modified containing block size that results from those styles. Stably sort the position options list according to this size, with the largest coming first.",
263
270
  "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-order-most-inline-size",
264
271
  "type": "value",
265
272
  "value": "most-inline-size"
@@ -270,6 +277,22 @@
270
277
  "positionTryOrder"
271
278
  ]
272
279
  },
280
+ {
281
+ "name": "position-try",
282
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-position-try",
283
+ "value": "<'position-try-order'>? <'position-try-options'>",
284
+ "initial": "see individual properties",
285
+ "appliesTo": "see individual properties",
286
+ "inherited": "see individual properties",
287
+ "percentages": "see individual properties",
288
+ "computedValue": "see individual properties",
289
+ "animationType": "see individual properties",
290
+ "canonicalOrder": "per grammar",
291
+ "styleDeclaration": [
292
+ "position-try",
293
+ "positionTry"
294
+ ]
295
+ },
273
296
  {
274
297
  "name": "position-fallback-bounds",
275
298
  "href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-position-fallback-bounds",
@@ -294,6 +317,38 @@
294
317
  "position-fallback-bounds",
295
318
  "positionFallbackBounds"
296
319
  ]
320
+ },
321
+ {
322
+ "name": "position-animation",
323
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-position-animation",
324
+ "value": "normal | magic",
325
+ "initial": "normal",
326
+ "appliesTo": "absolutely positioned elements",
327
+ "inherited": "no",
328
+ "percentages": "n/a",
329
+ "computedValue": "normal, or an overriding position rectangle (see prose)",
330
+ "canonicalOrder": "per grammar",
331
+ "animationType": "(see prose)",
332
+ "values": [
333
+ {
334
+ "name": "normal",
335
+ "prose": "This value has no effect.",
336
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-animation-normal",
337
+ "type": "value",
338
+ "value": "normal"
339
+ },
340
+ {
341
+ "name": "magic",
342
+ "prose": "At computed value time, resolves to a overriding position rectangle, using interleaving. At used value time, overrides the position and size of the element’s margin box, setting it to match the computed overriding position rectangle.",
343
+ "href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-animation-magic",
344
+ "type": "value",
345
+ "value": "magic"
346
+ }
347
+ ],
348
+ "styleDeclaration": [
349
+ "position-animation",
350
+ "positionAnimation"
351
+ ]
297
352
  }
298
353
  ],
299
354
  "atrules": [
package/css-display.json CHANGED
@@ -31,47 +31,9 @@
31
31
  {
32
32
  "name": "order",
33
33
  "href": "https://drafts.csswg.org/css-display-4/#propdef-order",
34
- "value": "[ <'layout-order'> <'reading-order'>? ] | [ [ reading || layout ] && <integer> ]",
35
- "initial": "see individual properties",
36
- "appliesTo": "flex items and grid items",
37
- "inherited": "no",
38
- "percentages": "see individual properties",
39
- "computedValue": "see individual properties",
40
- "animationType": "see individual properties",
41
- "canonicalOrder": "per grammar",
42
- "values": [
43
- {
44
- "name": "<integer>",
45
- "prose": "If one integer and no keyword is specified, then sets layout-order to the specified integer, and sets reading-order to its initial value. If two integers are specified, the first sets layout-order and the second sets reading-order. Otherwise sets the appropriate longhand(s) to the specified integer(s).",
46
- "href": "https://drafts.csswg.org/css-display-4/#valdef-order-integer",
47
- "type": "value",
48
- "value": "<integer>"
49
- },
50
- {
51
- "name": "layout",
52
- "prose": "Indicates setting layout-order to the specified integer. If reading is not specified, reading-order is set to its initial value.",
53
- "href": "https://drafts.csswg.org/css-display-4/#valdef-order-layout",
54
- "type": "value",
55
- "value": "layout"
56
- },
57
- {
58
- "name": "reading",
59
- "prose": "Indicates setting reading-order to the specified integer. If layout is not specified, layout-order is set to its initial value.",
60
- "href": "https://drafts.csswg.org/css-display-4/#valdef-order-reading",
61
- "type": "value",
62
- "value": "reading"
63
- }
64
- ],
65
- "styleDeclaration": [
66
- "order"
67
- ]
68
- },
69
- {
70
- "name": "reading-order",
71
- "href": "https://drafts.csswg.org/css-display-4/#propdef-reading-order",
72
34
  "value": "<integer>",
73
35
  "initial": "0",
74
- "appliesTo": "all elements",
36
+ "appliesTo": "flex items and grid items",
75
37
  "inherited": "no",
76
38
  "percentages": "n/a",
77
39
  "computedValue": "specified integer",
@@ -80,40 +42,74 @@
80
42
  "values": [
81
43
  {
82
44
  "name": "<integer>",
83
- "prose": "The reading-order property controls the order in which elements are rendered to speech or are navigated to when using (linear) sequential navigation methods. It takes a single <integer> value, which specifies which ordinal group the item belongs to. Sibling elements are ordered starting from the lowest numbered ordinal group and going up; elements with the same ordinal group are keep the order they appear in the source document.",
84
- "href": "https://drafts.csswg.org/css-display-4/#valdef-reading-order-integer",
45
+ "prose": "Specifically, the order property controls the order in which flex items or grid items appear within their container, by assigning them to ordinal groups. It takes a single <integer> value, which specifies which ordinal group the item belongs to.",
46
+ "href": "https://drafts.csswg.org/css-display-4/#valdef-order-integer",
85
47
  "type": "value",
86
48
  "value": "<integer>"
87
49
  }
88
50
  ],
89
51
  "styleDeclaration": [
90
- "reading-order",
91
- "readingOrder"
52
+ "order"
92
53
  ]
93
54
  },
94
55
  {
95
- "name": "layout-order",
96
- "href": "https://drafts.csswg.org/css-display-4/#propdef-layout-order",
97
- "value": "<integer>",
98
- "initial": "0",
99
- "appliesTo": "flex items and grid items",
56
+ "name": "reading-order-items",
57
+ "href": "https://drafts.csswg.org/css-display-4/#propdef-reading-order-items",
58
+ "value": "normal | flex-visual | flex-flow | grid-rows | grid-columns | grid-order",
59
+ "initial": "normal",
60
+ "appliesTo": "flex and grid containers",
100
61
  "inherited": "no",
101
62
  "percentages": "n/a",
102
- "computedValue": "specified integer",
63
+ "computedValue": "as specified",
103
64
  "canonicalOrder": "per grammar",
104
- "animationType": "by computed value type",
65
+ "animationType": "not animatable",
105
66
  "values": [
106
67
  {
107
- "name": "<integer>",
108
- "prose": "Specifically, the layout-order property controls the order in which flex items or grid items appear within their container by assigning them to the ordinal groups, as specified by its <integer> value.",
109
- "href": "https://drafts.csswg.org/css-display-4/#valdef-layout-order-integer",
68
+ "name": "normal",
69
+ "prose": "Follow the order of elements in the DOM.",
70
+ "href": "https://drafts.csswg.org/css-display-4/#valdef-reading-order-items-normal",
110
71
  "type": "value",
111
- "value": "<integer>"
72
+ "value": "normal"
73
+ },
74
+ {
75
+ "name": "flex-visual",
76
+ "prose": "Only takes effect on flex containers. Follows the visual reading order of flex items, taking the writing mode into account. Therefore, a document in English, with a flex-direction of row-reverse and reading-order-items of 'flex visual' would have a reading order of left to right.",
77
+ "href": "https://drafts.csswg.org/css-display-4/#valdef-reading-order-items-flex-visual",
78
+ "type": "value",
79
+ "value": "flex-visual"
80
+ },
81
+ {
82
+ "name": "flex-flow",
83
+ "prose": "Only takes effect on flex containers. Follows the flex-flow direction.",
84
+ "href": "https://drafts.csswg.org/css-display-4/#valdef-reading-order-items-flex-flow",
85
+ "type": "value",
86
+ "value": "flex-flow"
87
+ },
88
+ {
89
+ "name": "grid-rows",
90
+ "prose": "Only takes effect on grid containers. Follows the visual order of grid items by row, taking the writing mode into account.",
91
+ "href": "https://drafts.csswg.org/css-display-4/#valdef-reading-order-items-grid-rows",
92
+ "type": "value",
93
+ "value": "grid-rows"
94
+ },
95
+ {
96
+ "name": "grid-columns",
97
+ "prose": "Only takes effect on grid containers. Follows the visual order of grid items by column, taking the writing mode into account.",
98
+ "href": "https://drafts.csswg.org/css-display-4/#valdef-reading-order-items-grid-columns",
99
+ "type": "value",
100
+ "value": "grid-columns"
101
+ },
102
+ {
103
+ "name": "grid-order",
104
+ "prose": "Follows the order-modified document order. Therefore, as normal unless the order property has been used to change the order of items.",
105
+ "href": "https://drafts.csswg.org/css-display-4/#valdef-reading-order-items-grid-order",
106
+ "type": "value",
107
+ "value": "grid-order"
112
108
  }
113
109
  ],
114
110
  "styleDeclaration": [
115
- "layout-order",
116
- "layoutOrder"
111
+ "reading-order-items",
112
+ "readingOrderItems"
117
113
  ]
118
114
  },
119
115
  {
@@ -181,7 +177,7 @@
181
177
  },
182
178
  {
183
179
  "name": "run-in",
184
- "prose": "The element generates an run-in box, which is a type of inline-level box with special behavior that attempts to merge it into a subsequent block container. See § 5 Run-In Layout for details.",
180
+ "prose": "The element generates an run-in box, which is a type of inline-level box with special behavior that attempts to merge it into a subsequent block container. See § 6 Run-In Layout for details.",
185
181
  "href": "https://drafts.csswg.org/css-display-4/#valdef-display-run-in",
186
182
  "type": "value",
187
183
  "value": "run-in"
package/css-images-4.json CHANGED
@@ -155,7 +155,7 @@
155
155
  "name": "<cf-image>",
156
156
  "href": "https://drafts.csswg.org/css-images-4/#typedef-cf-image",
157
157
  "type": "type",
158
- "value": "<percentage [0,100]>? && [ <image> | <color> ]"
158
+ "value": "[ <image> | <color> ] && <percentage [0,100]>?"
159
159
  },
160
160
  {
161
161
  "name": "element()",
package/css-ui.json CHANGED
@@ -384,6 +384,38 @@
384
384
  "caretColor"
385
385
  ]
386
386
  },
387
+ {
388
+ "name": "caret-animation",
389
+ "href": "https://drafts.csswg.org/css-ui-4/#propdef-caret-animation",
390
+ "value": "auto | manual",
391
+ "initial": "auto",
392
+ "appliesTo": "elements that accept input",
393
+ "inherited": "yes",
394
+ "percentages": "N/A",
395
+ "computedValue": "specified keyword",
396
+ "canonicalOrder": "per grammar",
397
+ "animationType": "discrete",
398
+ "values": [
399
+ {
400
+ "name": "auto",
401
+ "prose": "The UA determines how the caret should be animated, if at all. It should match platform conventions, and may be adjusted based on context.",
402
+ "href": "https://drafts.csswg.org/css-ui-4/#valdef-caret-animation-auto",
403
+ "type": "value",
404
+ "value": "auto"
405
+ },
406
+ {
407
+ "name": "manual",
408
+ "prose": "The UA must not animate the caret.",
409
+ "href": "https://drafts.csswg.org/css-ui-4/#valdef-caret-animation-manual",
410
+ "type": "value",
411
+ "value": "manual"
412
+ }
413
+ ],
414
+ "styleDeclaration": [
415
+ "caret-animation",
416
+ "caretAnimation"
417
+ ]
418
+ },
387
419
  {
388
420
  "name": "caret-shape",
389
421
  "href": "https://drafts.csswg.org/css-ui-4/#propdef-caret-shape",
@@ -433,7 +465,7 @@
433
465
  {
434
466
  "name": "caret",
435
467
  "href": "https://drafts.csswg.org/css-ui-4/#propdef-caret",
436
- "value": "<'caret-color'> || <'caret-shape'>",
468
+ "value": "<'caret-color'> || <'caret-animation'> || <'caret-shape'>",
437
469
  "initial": "auto",
438
470
  "appliesTo": "elements that accept input",
439
471
  "inherited": "yes",
package/css-values-5.json CHANGED
@@ -397,6 +397,40 @@
397
397
  "prose": "The sibling-index() functional notation represents, as an <integer>, the index of the element on which the notation is used among the children of its parent. Like :nth-child(), sibling-index() is 1-indexed.",
398
398
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-sibling-index",
399
399
  "type": "function"
400
+ },
401
+ {
402
+ "name": "calc-size()",
403
+ "href": "https://drafts.csswg.org/css-values-5/#funcdef-calc-size",
404
+ "type": "function",
405
+ "value": "calc-size( <calc-size-basis>, <calc-sum>? )",
406
+ "values": [
407
+ {
408
+ "name": "size",
409
+ "prose": "Within the calc-size calculation, if the calc-size basis is not any, the keyword size is allowed. This keyword is a <length>, and resolves at used value time.",
410
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-size",
411
+ "type": "value",
412
+ "value": "size"
413
+ },
414
+ {
415
+ "name": "any",
416
+ "prose": "(If the calc-size basis is any, the calc-size() is a definite length, equal to its calc-size calculation.)",
417
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-any",
418
+ "type": "value",
419
+ "value": "any"
420
+ }
421
+ ]
422
+ },
423
+ {
424
+ "name": "<calc-size-basis>",
425
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-size-basis",
426
+ "type": "type",
427
+ "value": "[ <intrinsic-size-keyword> | <calc-size()> | any | <calc-sum> ]"
428
+ },
429
+ {
430
+ "name": "<intrinsic-size-keyword>",
431
+ "prose": "The <intrinsic-size-keyword> production matches any intrinsic size keywords allowed in the context. For example, in width, it matches auto, min-content, stretch, etc.",
432
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-intrinsic-size-keyword",
433
+ "type": "type"
400
434
  }
401
435
  ],
402
436
  "warnings": [
@@ -145,7 +145,7 @@
145
145
  "name": "display-mode",
146
146
  "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-display-mode",
147
147
  "for": "@media",
148
- "value": "fullscreen | standalone | minimal-ui | browser",
148
+ "value": "fullscreen | standalone | minimal-ui | browser | picture-in-picture",
149
149
  "type": "discrete"
150
150
  },
151
151
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/css",
3
3
  "description": "CSS definitions of the web platform",
4
- "version": "6.11.1",
4
+ "version": "6.11.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"