|
| 1 | +{ |
| 2 | + "spec": { |
| 3 | + "title": "CSS Anchor Positioning Level 2", |
| 4 | + "url": "https://drafts.csswg.org/css-anchor-position-2/" |
| 5 | + }, |
| 6 | + "properties": [], |
| 7 | + "atrules": [ |
| 8 | + { |
| 9 | + "name": "@container", |
| 10 | + "descriptors": [ |
| 11 | + { |
| 12 | + "name": "fallback", |
| 13 | + "href": "https://drafts.csswg.org/css-anchor-position-2/#descdef-container-fallback", |
| 14 | + "for": "@container", |
| 15 | + "value": "none | [ [<dashed-ident> || <try-tactic>] | <position-area> ]", |
| 16 | + "type": "discrete", |
| 17 | + "values": [ |
| 18 | + { |
| 19 | + "name": "none", |
| 20 | + "prose": "The anchored container does not have any position-try-fallbacks applied.", |
| 21 | + "href": "https://drafts.csswg.org/css-anchor-position-2/#valdef-container-fallback-none", |
| 22 | + "type": "value", |
| 23 | + "value": "none" |
| 24 | + } |
| 25 | + ] |
| 26 | + } |
| 27 | + ] |
| 28 | + } |
| 29 | + ], |
| 30 | + "selectors": [], |
| 31 | + "values": [ |
| 32 | + { |
| 33 | + "name": "<anchored-query>", |
| 34 | + "href": "https://drafts.csswg.org/css-anchor-position-2/#typedef-anchored-query", |
| 35 | + "type": "type", |
| 36 | + "value": "not <anchored-in-parens> | <anchored-in-parens> [ [ and <anchored-in-parens> ]* | [ or <anchored-in-parens> ]* ] | <anchored-feature>" |
| 37 | + }, |
| 38 | + { |
| 39 | + "name": "<anchored-in-parens>", |
| 40 | + "href": "https://drafts.csswg.org/css-anchor-position-2/#typedef-anchored-in-parens", |
| 41 | + "type": "type", |
| 42 | + "value": "( <anchored-query> ) | ( <anchored-feature> ) | <general-enclosed>" |
| 43 | + } |
| 44 | + ], |
| 45 | + "warnings": [ |
| 46 | + { |
| 47 | + "msg": "Missing definition", |
| 48 | + "name": "<query-in-parens>", |
| 49 | + "value": "... | anchored( <anchored-query> )" |
| 50 | + }, |
| 51 | + { |
| 52 | + "msg": "Dangling value", |
| 53 | + "name": "anchored", |
| 54 | + "prose": "Establishes a query container for container queries, allowing for descendants of an anchor positioned element to be styled based on certain features of the anchoring. (Currently, limited to which of the position-try-fallbacks are applied, if any.) The anchored container-type applies style containment to the query container.", |
| 55 | + "href": "https://drafts.csswg.org/css-anchor-position-2/#valdef-container-type-anchored", |
| 56 | + "type": "value", |
| 57 | + "value": "anchored", |
| 58 | + "for": "container-type" |
| 59 | + } |
| 60 | + ] |
| 61 | +} |
0 commit comments