@webref/css 6.12.14 → 6.12.15
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-conditional-5.json +202 -1
- package/css-contain.json +9 -2
- package/css-display.json +11 -11
- package/css-overflow-4.json +2 -2
- package/css-values.json +48 -0
- package/mediaqueries-5.json +0 -6
- package/mediaqueries.json +0 -6
- package/package.json +1 -1
- package/css-contain-3.json +0 -245
package/css-conditional-5.json
CHANGED
|
@@ -3,7 +3,94 @@
|
|
|
3
3
|
"title": "CSS Conditional Rules Module Level 5",
|
|
4
4
|
"url": "https://drafts.csswg.org/css-conditional-5/"
|
|
5
5
|
},
|
|
6
|
-
"properties": [
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
|
+
"name": "container-type",
|
|
9
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#propdef-container-type",
|
|
10
|
+
"value": "normal | size | inline-size",
|
|
11
|
+
"initial": "normal",
|
|
12
|
+
"appliesTo": "all elements",
|
|
13
|
+
"inherited": "no",
|
|
14
|
+
"percentages": "n/a",
|
|
15
|
+
"computedValue": "specified keyword",
|
|
16
|
+
"canonicalOrder": "per grammar",
|
|
17
|
+
"animationType": "not animatable",
|
|
18
|
+
"values": [
|
|
19
|
+
{
|
|
20
|
+
"name": "size",
|
|
21
|
+
"prose": "Establishes a query container for container size queries on both the inline and block axis. Applies layout containment, style containment, and size containment to the principal box.",
|
|
22
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-type-size",
|
|
23
|
+
"type": "value",
|
|
24
|
+
"value": "size"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "inline-size",
|
|
28
|
+
"prose": "Establishes a query container for container size queries on the container’s own inline axis. Applies layout containment, style containment, and inline-size containment to the principal box.",
|
|
29
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-type-inline-size",
|
|
30
|
+
"type": "value",
|
|
31
|
+
"value": "inline-size"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "normal",
|
|
35
|
+
"prose": "The element is not a query container for any container size queries, but remains a query container for container style queries.",
|
|
36
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-type-normal",
|
|
37
|
+
"type": "value",
|
|
38
|
+
"value": "normal"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"styleDeclaration": [
|
|
42
|
+
"container-type",
|
|
43
|
+
"containerType"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "container-name",
|
|
48
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#propdef-container-name",
|
|
49
|
+
"value": "none | <custom-ident>+",
|
|
50
|
+
"initial": "none",
|
|
51
|
+
"appliesTo": "all elements",
|
|
52
|
+
"inherited": "no",
|
|
53
|
+
"percentages": "n/a",
|
|
54
|
+
"computedValue": "the keyword none, or an ordered list of identifiers",
|
|
55
|
+
"canonicalOrder": "per grammar",
|
|
56
|
+
"animationType": "not animatable",
|
|
57
|
+
"values": [
|
|
58
|
+
{
|
|
59
|
+
"name": "none",
|
|
60
|
+
"prose": "The query container has no query container name.",
|
|
61
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-name-none",
|
|
62
|
+
"type": "value",
|
|
63
|
+
"value": "none"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "<custom-ident>",
|
|
67
|
+
"prose": "Specifies a query container name as an identifier. The keywords none, and, not, and or are excluded from this <custom-ident>.",
|
|
68
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-name-custom-ident",
|
|
69
|
+
"type": "value",
|
|
70
|
+
"value": "<custom-ident>"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"styleDeclaration": [
|
|
74
|
+
"container-name",
|
|
75
|
+
"containerName"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "container",
|
|
80
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#propdef-container",
|
|
81
|
+
"value": "<'container-name'> [ / <'container-type'> ]?",
|
|
82
|
+
"initial": "see individual properties",
|
|
83
|
+
"appliesTo": "see individual properties",
|
|
84
|
+
"inherited": "see individual properties",
|
|
85
|
+
"percentages": "see individual properties",
|
|
86
|
+
"computedValue": "see individual properties",
|
|
87
|
+
"animationType": "see individual properties",
|
|
88
|
+
"canonicalOrder": "per grammar",
|
|
89
|
+
"styleDeclaration": [
|
|
90
|
+
"container"
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
],
|
|
7
94
|
"atrules": [
|
|
8
95
|
{
|
|
9
96
|
"name": "@when",
|
|
@@ -18,6 +105,72 @@
|
|
|
18
105
|
"href": "https://drafts.csswg.org/css-conditional-5/#at-ruledef-else",
|
|
19
106
|
"descriptors": [],
|
|
20
107
|
"value": "@else <boolean-condition>? { <rule-list> }"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "@container",
|
|
111
|
+
"prose": "The @container rule is a conditional group rule whose condition contains a container query, which is a boolean combination of container size queries and/or container style queries. Style declarations within the <block-contents> block of an @container rule are filtered by its condition to only match when the container query is true for their element’s query container.",
|
|
112
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#at-ruledef-container",
|
|
113
|
+
"descriptors": [
|
|
114
|
+
{
|
|
115
|
+
"name": "width",
|
|
116
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-width",
|
|
117
|
+
"for": "@container",
|
|
118
|
+
"value": "<length>",
|
|
119
|
+
"type": "range"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "height",
|
|
123
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-height",
|
|
124
|
+
"for": "@container",
|
|
125
|
+
"value": "<length>",
|
|
126
|
+
"type": "range"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "inline-size",
|
|
130
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-inline-size",
|
|
131
|
+
"for": "@container",
|
|
132
|
+
"value": "<length>",
|
|
133
|
+
"type": "range"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "block-size",
|
|
137
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-block-size",
|
|
138
|
+
"for": "@container",
|
|
139
|
+
"value": "<length>",
|
|
140
|
+
"type": "range"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"name": "aspect-ratio",
|
|
144
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-aspect-ratio",
|
|
145
|
+
"for": "@container",
|
|
146
|
+
"value": "<ratio>",
|
|
147
|
+
"type": "range"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "orientation",
|
|
151
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-orientation",
|
|
152
|
+
"for": "@container",
|
|
153
|
+
"value": "portrait | landscape",
|
|
154
|
+
"type": "discrete",
|
|
155
|
+
"values": [
|
|
156
|
+
{
|
|
157
|
+
"name": "portrait",
|
|
158
|
+
"prose": "The orientation container feature is portrait when the value of the height container feature is greater than or equal to the value of the width container feature.",
|
|
159
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-orientation-portrait",
|
|
160
|
+
"type": "value",
|
|
161
|
+
"value": "portrait"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "landscape",
|
|
165
|
+
"prose": "Otherwise orientation is landscape.",
|
|
166
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-orientation-landscape",
|
|
167
|
+
"type": "value",
|
|
168
|
+
"value": "landscape"
|
|
169
|
+
}
|
|
170
|
+
]
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
"value": "@container <container-condition># { <block-contents> }"
|
|
21
174
|
}
|
|
22
175
|
],
|
|
23
176
|
"selectors": [],
|
|
@@ -51,6 +204,54 @@
|
|
|
51
204
|
"href": "https://drafts.csswg.org/css-conditional-5/#funcdef-supports",
|
|
52
205
|
"type": "function",
|
|
53
206
|
"value": "supports( <declaration> )"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "<container-condition>",
|
|
210
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#typedef-container-condition",
|
|
211
|
+
"type": "type",
|
|
212
|
+
"value": "[ <container-name> ]? <container-query>"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "<container-name>",
|
|
216
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#typedef-container-name",
|
|
217
|
+
"type": "type",
|
|
218
|
+
"value": "<custom-ident>"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "<container-query>",
|
|
222
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#typedef-container-query",
|
|
223
|
+
"type": "type",
|
|
224
|
+
"value": "not <query-in-parens> | <query-in-parens> [ [ and <query-in-parens> ]* | [ or <query-in-parens> ]* ]"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "<query-in-parens>",
|
|
228
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#typedef-query-in-parens",
|
|
229
|
+
"type": "type",
|
|
230
|
+
"value": "( <container-query> ) | ( <size-feature> ) | style( <style-query> ) | <general-enclosed>"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "<style-query>",
|
|
234
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#typedef-style-query",
|
|
235
|
+
"type": "type",
|
|
236
|
+
"value": "not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ] | <style-feature>"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"name": "<style-in-parens>",
|
|
240
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#typedef-style-in-parens",
|
|
241
|
+
"type": "type",
|
|
242
|
+
"value": "( <style-query> ) | ( <style-feature> ) | <general-enclosed>"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "<size-feature>",
|
|
246
|
+
"prose": "A container size query allows querying the size of the query container’s principal box. It is a boolean combination of individual size features (<size-feature>) that each query a single, specific dimensional feature of the query container. The syntax of a <size-feature> is the same as for a media feature: a feature name, a comparator, and a value. [mediaqueries-5] The boolean syntax and logic combining size features into a size query is the same as for CSS feature queries. (See @supports. [css-conditional-3])",
|
|
247
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#typedef-size-feature",
|
|
248
|
+
"type": "type"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "<style-feature>",
|
|
252
|
+
"prose": "A container style query allows querying the computed values of the query container. It is a boolean combination of individual style features (<style-feature>) that each query a single, specific property of the query container. The syntax of a <style-feature> is either the same as for a valid declaration [CSS-SYNTAX-3], a supported CSS property, or a <custom-property-name>.",
|
|
253
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#typedef-style-feature",
|
|
254
|
+
"type": "type"
|
|
54
255
|
}
|
|
55
256
|
]
|
|
56
257
|
}
|
package/css-contain.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{
|
|
8
8
|
"name": "contain",
|
|
9
9
|
"href": "https://drafts.csswg.org/css-contain-2/#propdef-contain",
|
|
10
|
-
"value": "none | strict | content | [ size || layout || style || paint ]",
|
|
10
|
+
"value": "none | strict | content | [ [size | inline-size] || layout || style || paint ]",
|
|
11
11
|
"initial": "none",
|
|
12
12
|
"appliesTo": "See below",
|
|
13
13
|
"inherited": "no",
|
|
@@ -44,6 +44,13 @@
|
|
|
44
44
|
"type": "value",
|
|
45
45
|
"value": "size"
|
|
46
46
|
},
|
|
47
|
+
{
|
|
48
|
+
"name": "inline-size",
|
|
49
|
+
"prose": "This value turns on inline-size containment for the element. This prevents the inline-size of its principal box from directly depending on its contents.",
|
|
50
|
+
"href": "https://drafts.csswg.org/css-contain-2/#valdef-contain-inline-size",
|
|
51
|
+
"type": "value",
|
|
52
|
+
"value": "inline-size"
|
|
53
|
+
},
|
|
47
54
|
{
|
|
48
55
|
"name": "layout",
|
|
49
56
|
"prose": "This value turns on layout containment for the element. This ensures that the containment box is totally opaque for layout purposes; nothing outside can affect its internal layout, and vice versa.",
|
|
@@ -80,7 +87,7 @@
|
|
|
80
87
|
"percentages": "n/a",
|
|
81
88
|
"computedValue": "as specified",
|
|
82
89
|
"canonicalOrder": "per grammar",
|
|
83
|
-
"animationType": "
|
|
90
|
+
"animationType": "see § 4.1 Animating and Interpolating content-visibility",
|
|
84
91
|
"values": [
|
|
85
92
|
{
|
|
86
93
|
"name": "visible",
|
package/css-display.json
CHANGED
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
]
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
|
-
"name": "reading-
|
|
57
|
-
"href": "https://drafts.csswg.org/css-display-4/#propdef-reading-
|
|
56
|
+
"name": "reading-flow",
|
|
57
|
+
"href": "https://drafts.csswg.org/css-display-4/#propdef-reading-flow",
|
|
58
58
|
"value": "normal | flex-visual | flex-flow | grid-rows | grid-columns | grid-order",
|
|
59
59
|
"initial": "normal",
|
|
60
60
|
"appliesTo": "flex and grid containers",
|
|
@@ -67,49 +67,49 @@
|
|
|
67
67
|
{
|
|
68
68
|
"name": "normal",
|
|
69
69
|
"prose": "Follow the order of elements in the DOM.",
|
|
70
|
-
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-
|
|
70
|
+
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-flow-normal",
|
|
71
71
|
"type": "value",
|
|
72
72
|
"value": "normal"
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
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-
|
|
77
|
-
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-
|
|
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-flow of 'flex visual' would have a reading order of left to right.",
|
|
77
|
+
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-flow-flex-visual",
|
|
78
78
|
"type": "value",
|
|
79
79
|
"value": "flex-visual"
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
"name": "flex-flow",
|
|
83
83
|
"prose": "Only takes effect on flex containers. Follows the flex-flow direction.",
|
|
84
|
-
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-
|
|
84
|
+
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-flow-flex-flow",
|
|
85
85
|
"type": "value",
|
|
86
86
|
"value": "flex-flow"
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"name": "grid-rows",
|
|
90
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-
|
|
91
|
+
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-flow-grid-rows",
|
|
92
92
|
"type": "value",
|
|
93
93
|
"value": "grid-rows"
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
96
|
"name": "grid-columns",
|
|
97
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-
|
|
98
|
+
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-flow-grid-columns",
|
|
99
99
|
"type": "value",
|
|
100
100
|
"value": "grid-columns"
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
103
|
"name": "grid-order",
|
|
104
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-
|
|
105
|
+
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-flow-grid-order",
|
|
106
106
|
"type": "value",
|
|
107
107
|
"value": "grid-order"
|
|
108
108
|
}
|
|
109
109
|
],
|
|
110
110
|
"styleDeclaration": [
|
|
111
|
-
"reading-
|
|
112
|
-
"
|
|
111
|
+
"reading-flow",
|
|
112
|
+
"readingFlow"
|
|
113
113
|
]
|
|
114
114
|
},
|
|
115
115
|
{
|
package/css-overflow-4.json
CHANGED
|
@@ -357,7 +357,7 @@
|
|
|
357
357
|
"values": [
|
|
358
358
|
{
|
|
359
359
|
"name": "-webkit-discard",
|
|
360
|
-
"prose": "The -webkit-discard value behaves identically to discard, except that it only takes effect if the
|
|
360
|
+
"prose": "The -webkit-discard value behaves identically to discard, except that it only takes effect if the value of the display property is -webkit-box or -webkit-inline-box and the value of the -webkit-box-orient property is vertical.",
|
|
361
361
|
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-continue--webkit-discard",
|
|
362
362
|
"type": "value",
|
|
363
363
|
"value": "-webkit-discard"
|
|
@@ -371,7 +371,7 @@
|
|
|
371
371
|
},
|
|
372
372
|
{
|
|
373
373
|
"name": "discard",
|
|
374
|
-
"prose": "The box becomes a fragmentation container that captures region breaks, if it is not already. [CSS-BREAK-3] Content after the first region break is not rendered (see below). (If the box is a multi-column container, any overflow columns are also not rendered.)",
|
|
374
|
+
"prose": "The box must establish an independent formatting context and becomes a fragmentation container that captures region breaks, if it is not already. [CSS-BREAK-3] Content after the first region break is not rendered (see below). (If the box is a multi-column container, any overflow columns are also not rendered.)",
|
|
375
375
|
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-continue-discard",
|
|
376
376
|
"type": "value",
|
|
377
377
|
"value": "discard"
|
package/css-values.json
CHANGED
|
@@ -780,6 +780,54 @@
|
|
|
780
780
|
"type": "type",
|
|
781
781
|
"value": "e | pi | infinity | -infinity | NaN"
|
|
782
782
|
},
|
|
783
|
+
{
|
|
784
|
+
"name": "<boolean>",
|
|
785
|
+
"href": "https://drafts.csswg.org/css-values-4/#typedef-boolean",
|
|
786
|
+
"type": "type",
|
|
787
|
+
"value": "<bool-not> | <bool-in-parens> [ <bool-and>* | <bool-or>* ]"
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
"name": "<boolean-without-or>",
|
|
791
|
+
"href": "https://drafts.csswg.org/css-values-4/#typedef-boolean-without-or",
|
|
792
|
+
"type": "type",
|
|
793
|
+
"value": "<bool-not> | <bool-in-parens> <bool-and>*"
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"name": "<bool-not>",
|
|
797
|
+
"href": "https://drafts.csswg.org/css-values-4/#typedef-bool-not",
|
|
798
|
+
"type": "type",
|
|
799
|
+
"value": "not <bool-in-parens>"
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"name": "<bool-and>",
|
|
803
|
+
"href": "https://drafts.csswg.org/css-values-4/#typedef-bool-and",
|
|
804
|
+
"type": "type",
|
|
805
|
+
"value": "and <bool-in-parens>"
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"name": "<bool-or>",
|
|
809
|
+
"href": "https://drafts.csswg.org/css-values-4/#typedef-bool-or",
|
|
810
|
+
"type": "type",
|
|
811
|
+
"value": "or <bool-in-parens>"
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
"name": "<bool-in-parens>",
|
|
815
|
+
"href": "https://drafts.csswg.org/css-values-4/#typedef-bool-in-parens",
|
|
816
|
+
"type": "type",
|
|
817
|
+
"value": "( <boolean> ) | <bool-test> | <general-enclosed>"
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"name": "<general-enclosed>",
|
|
821
|
+
"href": "https://drafts.csswg.org/css-values-4/#typedef-general-enclosed",
|
|
822
|
+
"type": "type",
|
|
823
|
+
"value": "[ <function-token> <any-value>? ) ] | [ ( <any-value>? ) ]"
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
"name": "<bool-test>",
|
|
827
|
+
"prose": "Each specification using <boolean> must define what things are valid as <bool-test> values in that context, and whether it uses 2-value or 3-value logic. As well, <bool-test> values should either be wrapped in parentheses or be functions; if a specification needs to express some conditions in a different way, please contact the CSSWG for review.",
|
|
828
|
+
"href": "https://drafts.csswg.org/css-values-4/#typedef-bool-test",
|
|
829
|
+
"type": "type"
|
|
830
|
+
},
|
|
783
831
|
{
|
|
784
832
|
"name": "<quirky-length>",
|
|
785
833
|
"prose": "When CSS is being parsed in quirks mode, <quirky-length> is a type of <length> that is only valid in certain properties:",
|
package/mediaqueries-5.json
CHANGED
|
@@ -899,12 +899,6 @@
|
|
|
899
899
|
"type": "type",
|
|
900
900
|
"value": "<mf-lt> | <mf-gt> | <mf-eq>"
|
|
901
901
|
},
|
|
902
|
-
{
|
|
903
|
-
"name": "<general-enclosed>",
|
|
904
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-general-enclosed",
|
|
905
|
-
"type": "type",
|
|
906
|
-
"value": "[ <function-token> <any-value>? ) ] | [ ( <any-value>? ) ]"
|
|
907
|
-
},
|
|
908
902
|
{
|
|
909
903
|
"name": "<mq-boolean>",
|
|
910
904
|
"prose": "The <mq-boolean> value type is an <integer> with the value 0 or 1. Any other integer value is invalid. Note that -0 is always equivalent to 0 in CSS, and so is also accepted as a valid <mq-boolean> value.",
|
package/mediaqueries.json
CHANGED
|
@@ -524,12 +524,6 @@
|
|
|
524
524
|
"type": "type",
|
|
525
525
|
"value": "<mf-lt> | <mf-gt> | <mf-eq>"
|
|
526
526
|
},
|
|
527
|
-
{
|
|
528
|
-
"name": "<general-enclosed>",
|
|
529
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-general-enclosed",
|
|
530
|
-
"type": "type",
|
|
531
|
-
"value": "[ <function-token> <any-value>? ) ] | [ ( <any-value>? ) ]"
|
|
532
|
-
},
|
|
533
527
|
{
|
|
534
528
|
"name": "<mq-boolean>",
|
|
535
529
|
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-mq-boolean",
|
package/package.json
CHANGED
package/css-contain-3.json
DELETED
|
@@ -1,245 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS Containment Module Level 3",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-contain-3/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [
|
|
7
|
-
{
|
|
8
|
-
"name": "contain",
|
|
9
|
-
"value": "none | strict | content | [ [size | inline-size] || layout || style || paint ]",
|
|
10
|
-
"values": [
|
|
11
|
-
{
|
|
12
|
-
"name": "inline-size",
|
|
13
|
-
"prose": "This value turns on inline-size containment for the element. This prevents the inline-size of its principal box from directly depending on its contents.",
|
|
14
|
-
"href": "https://drafts.csswg.org/css-contain-3/#valdef-contain-inline-size",
|
|
15
|
-
"type": "value",
|
|
16
|
-
"value": "inline-size"
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
"styleDeclaration": [
|
|
20
|
-
"contain"
|
|
21
|
-
]
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"name": "container-type",
|
|
25
|
-
"href": "https://drafts.csswg.org/css-contain-3/#propdef-container-type",
|
|
26
|
-
"value": "normal | size | inline-size",
|
|
27
|
-
"initial": "normal",
|
|
28
|
-
"appliesTo": "all elements",
|
|
29
|
-
"inherited": "no",
|
|
30
|
-
"percentages": "n/a",
|
|
31
|
-
"computedValue": "specified keyword",
|
|
32
|
-
"canonicalOrder": "per grammar",
|
|
33
|
-
"animationType": "not animatable",
|
|
34
|
-
"values": [
|
|
35
|
-
{
|
|
36
|
-
"name": "size",
|
|
37
|
-
"prose": "Establishes a query container for container size queries on both the inline and block axis. Applies layout containment, style containment, and size containment to the principal box.",
|
|
38
|
-
"href": "https://drafts.csswg.org/css-contain-3/#valdef-container-type-size",
|
|
39
|
-
"type": "value",
|
|
40
|
-
"value": "size"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "inline-size",
|
|
44
|
-
"prose": "Establishes a query container for container size queries on the container’s own inline axis. Applies layout containment, style containment, and inline-size containment to the principal box.",
|
|
45
|
-
"href": "https://drafts.csswg.org/css-contain-3/#valdef-container-type-inline-size",
|
|
46
|
-
"type": "value",
|
|
47
|
-
"value": "inline-size"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"name": "normal",
|
|
51
|
-
"prose": "The element is not a query container for any container size queries, but remains a query container for container style queries.",
|
|
52
|
-
"href": "https://drafts.csswg.org/css-contain-3/#valdef-container-type-normal",
|
|
53
|
-
"type": "value",
|
|
54
|
-
"value": "normal"
|
|
55
|
-
}
|
|
56
|
-
],
|
|
57
|
-
"styleDeclaration": [
|
|
58
|
-
"container-type",
|
|
59
|
-
"containerType"
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"name": "container-name",
|
|
64
|
-
"href": "https://drafts.csswg.org/css-contain-3/#propdef-container-name",
|
|
65
|
-
"value": "none | <custom-ident>+",
|
|
66
|
-
"initial": "none",
|
|
67
|
-
"appliesTo": "all elements",
|
|
68
|
-
"inherited": "no",
|
|
69
|
-
"percentages": "n/a",
|
|
70
|
-
"computedValue": "the keyword none, or an ordered list of identifiers",
|
|
71
|
-
"canonicalOrder": "per grammar",
|
|
72
|
-
"animationType": "not animatable",
|
|
73
|
-
"values": [
|
|
74
|
-
{
|
|
75
|
-
"name": "none",
|
|
76
|
-
"prose": "The query container has no query container name.",
|
|
77
|
-
"href": "https://drafts.csswg.org/css-contain-3/#valdef-container-name-none",
|
|
78
|
-
"type": "value",
|
|
79
|
-
"value": "none"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"name": "<custom-ident>",
|
|
83
|
-
"prose": "Specifies a query container name as an identifier. The keywords none, and, not, and or are excluded from this <custom-ident>.",
|
|
84
|
-
"href": "https://drafts.csswg.org/css-contain-3/#valdef-container-name-custom-ident",
|
|
85
|
-
"type": "value",
|
|
86
|
-
"value": "<custom-ident>"
|
|
87
|
-
}
|
|
88
|
-
],
|
|
89
|
-
"styleDeclaration": [
|
|
90
|
-
"container-name",
|
|
91
|
-
"containerName"
|
|
92
|
-
]
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"name": "container",
|
|
96
|
-
"href": "https://drafts.csswg.org/css-contain-3/#propdef-container",
|
|
97
|
-
"value": "<'container-name'> [ / <'container-type'> ]?",
|
|
98
|
-
"initial": "see individual properties",
|
|
99
|
-
"appliesTo": "see individual properties",
|
|
100
|
-
"inherited": "see individual properties",
|
|
101
|
-
"percentages": "see individual properties",
|
|
102
|
-
"computedValue": "see individual properties",
|
|
103
|
-
"animationType": "see individual properties",
|
|
104
|
-
"canonicalOrder": "per grammar",
|
|
105
|
-
"styleDeclaration": [
|
|
106
|
-
"container"
|
|
107
|
-
]
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"name": "content-visibility",
|
|
111
|
-
"href": "https://drafts.csswg.org/css-contain-3/#propdef-content-visibility",
|
|
112
|
-
"value": "visible | auto | hidden",
|
|
113
|
-
"initial": "visible",
|
|
114
|
-
"appliesTo": "elements for which size containment can apply",
|
|
115
|
-
"inherited": "no",
|
|
116
|
-
"percentages": "n/a",
|
|
117
|
-
"computedValue": "as specified",
|
|
118
|
-
"canonicalOrder": "per grammar",
|
|
119
|
-
"animationType": "see § 8.1 Animating and Interpolating content-visibility",
|
|
120
|
-
"styleDeclaration": [
|
|
121
|
-
"content-visibility",
|
|
122
|
-
"contentVisibility"
|
|
123
|
-
]
|
|
124
|
-
}
|
|
125
|
-
],
|
|
126
|
-
"atrules": [
|
|
127
|
-
{
|
|
128
|
-
"name": "@container",
|
|
129
|
-
"prose": "The @container rule is a conditional group rule whose condition contains a container query, which is a boolean combination of container size queries and/or container style queries. Style declarations within the <block-contents> block of an @container rule are filtered by its condition to only match when the container query is true for their element’s query container.",
|
|
130
|
-
"href": "https://drafts.csswg.org/css-contain-3/#at-ruledef-container",
|
|
131
|
-
"descriptors": [
|
|
132
|
-
{
|
|
133
|
-
"name": "width",
|
|
134
|
-
"href": "https://drafts.csswg.org/css-contain-3/#descdef-container-width",
|
|
135
|
-
"for": "@container",
|
|
136
|
-
"value": "<length>",
|
|
137
|
-
"type": "range"
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"name": "height",
|
|
141
|
-
"href": "https://drafts.csswg.org/css-contain-3/#descdef-container-height",
|
|
142
|
-
"for": "@container",
|
|
143
|
-
"value": "<length>",
|
|
144
|
-
"type": "range"
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"name": "inline-size",
|
|
148
|
-
"href": "https://drafts.csswg.org/css-contain-3/#descdef-container-inline-size",
|
|
149
|
-
"for": "@container",
|
|
150
|
-
"value": "<length>",
|
|
151
|
-
"type": "range"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"name": "block-size",
|
|
155
|
-
"href": "https://drafts.csswg.org/css-contain-3/#descdef-container-block-size",
|
|
156
|
-
"for": "@container",
|
|
157
|
-
"value": "<length>",
|
|
158
|
-
"type": "range"
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
"name": "aspect-ratio",
|
|
162
|
-
"href": "https://drafts.csswg.org/css-contain-3/#descdef-container-aspect-ratio",
|
|
163
|
-
"for": "@container",
|
|
164
|
-
"value": "<ratio>",
|
|
165
|
-
"type": "range"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"name": "orientation",
|
|
169
|
-
"href": "https://drafts.csswg.org/css-contain-3/#descdef-container-orientation",
|
|
170
|
-
"for": "@container",
|
|
171
|
-
"value": "portrait | landscape",
|
|
172
|
-
"type": "discrete",
|
|
173
|
-
"values": [
|
|
174
|
-
{
|
|
175
|
-
"name": "portrait",
|
|
176
|
-
"prose": "The orientation container feature is portrait when the value of the height container feature is greater than or equal to the value of the width container feature.",
|
|
177
|
-
"href": "https://drafts.csswg.org/css-contain-3/#valdef-container-orientation-portrait",
|
|
178
|
-
"type": "value",
|
|
179
|
-
"value": "portrait"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"name": "landscape",
|
|
183
|
-
"prose": "Otherwise orientation is landscape.",
|
|
184
|
-
"href": "https://drafts.csswg.org/css-contain-3/#valdef-container-orientation-landscape",
|
|
185
|
-
"type": "value",
|
|
186
|
-
"value": "landscape"
|
|
187
|
-
}
|
|
188
|
-
]
|
|
189
|
-
}
|
|
190
|
-
],
|
|
191
|
-
"value": "@container <container-condition># { <block-contents> }"
|
|
192
|
-
}
|
|
193
|
-
],
|
|
194
|
-
"selectors": [],
|
|
195
|
-
"values": [
|
|
196
|
-
{
|
|
197
|
-
"name": "<container-condition>",
|
|
198
|
-
"href": "https://drafts.csswg.org/css-contain-3/#typedef-container-condition",
|
|
199
|
-
"type": "type",
|
|
200
|
-
"value": "[ <container-name> ]? <container-query>"
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"name": "<container-name>",
|
|
204
|
-
"href": "https://drafts.csswg.org/css-contain-3/#typedef-container-name",
|
|
205
|
-
"type": "type",
|
|
206
|
-
"value": "<custom-ident>"
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"name": "<container-query>",
|
|
210
|
-
"href": "https://drafts.csswg.org/css-contain-3/#typedef-container-query",
|
|
211
|
-
"type": "type",
|
|
212
|
-
"value": "not <query-in-parens> | <query-in-parens> [ [ and <query-in-parens> ]* | [ or <query-in-parens> ]* ]"
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"name": "<query-in-parens>",
|
|
216
|
-
"href": "https://drafts.csswg.org/css-contain-3/#typedef-query-in-parens",
|
|
217
|
-
"type": "type",
|
|
218
|
-
"value": "( <container-query> ) | ( <size-feature> ) | style( <style-query> ) | <general-enclosed>"
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"name": "<style-query>",
|
|
222
|
-
"href": "https://drafts.csswg.org/css-contain-3/#typedef-style-query",
|
|
223
|
-
"type": "type",
|
|
224
|
-
"value": "not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ] | <style-feature>"
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"name": "<style-in-parens>",
|
|
228
|
-
"href": "https://drafts.csswg.org/css-contain-3/#typedef-style-in-parens",
|
|
229
|
-
"type": "type",
|
|
230
|
-
"value": "( <style-query> ) | ( <style-feature> ) | <general-enclosed>"
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
"name": "<size-feature>",
|
|
234
|
-
"prose": "A container size query allows querying the size of the query container’s principal box. It is a boolean combination of individual size features (<size-feature>) that each query a single, specific dimensional feature of the query container. The syntax of a <size-feature> is the same as for a media feature: a feature name, a comparator, and a value. [mediaqueries-5] The boolean syntax and logic combining size features into a size query is the same as for CSS feature queries. (See @supports. [CSS-CONDITIONAL-3])",
|
|
235
|
-
"href": "https://drafts.csswg.org/css-contain-3/#typedef-size-feature",
|
|
236
|
-
"type": "type"
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
"name": "<style-feature>",
|
|
240
|
-
"prose": "A container style query allows querying the computed values of the query container. It is a boolean combination of individual style features (<style-feature>) that each query a single, specific property of the query container. The syntax of a <style-feature> is either the same as for a valid declaration [CSS-SYNTAX-3], a supported CSS property, or a <custom-property-name>.",
|
|
241
|
-
"href": "https://drafts.csswg.org/css-contain-3/#typedef-style-feature",
|
|
242
|
-
"type": "type"
|
|
243
|
-
}
|
|
244
|
-
]
|
|
245
|
-
}
|