@webref/css 5.4.4 → 6.0.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/CHANGELOG.md +66 -0
- package/CSS.json +416 -21
- package/README.md +4 -4
- package/SVG.json +42 -35
- package/compat.json +111 -75
- package/compositing.json +101 -12
- package/css-align.json +237 -29
- package/css-anchor.json +177 -19
- package/css-animations-2.json +37 -15
- package/css-animations.json +155 -31
- package/css-backgrounds-4.json +107 -32
- package/css-backgrounds.json +426 -59
- package/css-box.json +243 -20
- package/css-break.json +292 -11
- package/css-cascade-6.json +22 -13
- package/css-cascade.json +50 -15
- package/css-color-5.json +320 -35
- package/css-color-adjust.json +75 -8
- package/css-color.json +1100 -61
- package/css-conditional-4.json +11 -6
- package/css-conditional-5.json +38 -19
- package/css-conditional.json +28 -15
- package/css-contain-3.json +101 -26
- package/css-contain.json +71 -6
- package/css-content.json +263 -30
- package/css-counter-styles.json +455 -18
- package/css-display.json +250 -19
- package/css-easing.json +137 -25
- package/css-env.json +61 -6
- package/css-exclusions.json +65 -6
- package/css-extensions.json +20 -12
- package/css-flexbox.json +132 -11
- package/css-fonts-5.json +255 -13
- package/css-fonts.json +886 -74
- package/css-gcpm-4.json +30 -5
- package/css-gcpm.json +76 -15
- package/css-grid-3.json +10 -9
- package/css-grid.json +442 -42
- package/css-highlight-api.json +13 -5
- package/css-images-4.json +192 -67
- package/css-images.json +152 -33
- package/css-inline.json +525 -16
- package/css-layout-api.json +20 -0
- package/css-line-grid.json +80 -7
- package/css-lists.json +140 -19
- package/css-logical.json +125 -50
- package/css-masking.json +330 -47
- package/css-multicol-2.json +32 -5
- package/css-multicol.json +84 -13
- package/css-namespaces.json +15 -10
- package/css-nav.json +62 -7
- package/css-nesting.json +15 -0
- package/css-overflow-4.json +83 -10
- package/css-overflow.json +239 -18
- package/css-overscroll.json +110 -9
- package/css-page-floats.json +188 -16
- package/css-page.json +262 -67
- package/css-paint-api.json +8 -5
- package/css-position.json +269 -16
- package/css-properties-values-api.json +9 -7
- package/css-pseudo.json +67 -0
- package/css-regions.json +8 -7
- package/css-rhythm.json +69 -10
- package/css-round-display.json +47 -10
- package/css-ruby.json +136 -8
- package/css-scoping.json +27 -0
- package/css-scroll-anchoring.json +20 -5
- package/css-scroll-snap-2.json +272 -10
- package/css-scroll-snap.json +218 -29
- package/css-scrollbars.json +41 -6
- package/css-shadow-parts.json +8 -5
- package/css-shapes-2.json +190 -43
- package/css-shapes.json +130 -36
- package/css-size-adjust.json +26 -5
- package/css-sizing-4.json +404 -23
- package/css-sizing.json +231 -12
- package/css-speech.json +619 -35
- package/css-syntax.json +193 -92
- package/css-tables.json +10 -9
- package/css-text-4.json +800 -40
- package/css-text-decor-4.json +394 -23
- package/css-text-decor.json +159 -14
- package/css-text.json +371 -20
- package/css-transforms-2.json +177 -40
- package/css-transforms.json +137 -45
- package/css-transitions.json +33 -14
- package/css-ui.json +436 -42
- package/css-values-5.json +99 -14
- package/css-values.json +653 -146
- package/css-variables.json +12 -7
- package/css-view-transitions.json +45 -7
- package/css-will-change.json +36 -7
- package/css-writing-modes.json +141 -10
- package/fill-stroke.json +290 -35
- package/filter-effects-2.json +6 -5
- package/filter-effects.json +109 -45
- package/fullscreen.json +15 -0
- package/mathml-core.json +10 -9
- package/mediaqueries-5.json +505 -52
- package/mediaqueries.json +307 -40
- package/motion.json +99 -16
- package/package.json +1 -1
- package/scroll-animations.json +225 -24
- package/selectors.json +368 -30
- package/svg-strokes.json +8 -7
- package/upgrade-insecure-requests.json +26 -0
- package/html.json +0 -19
package/css-conditional-4.json
CHANGED
|
@@ -3,14 +3,19 @@
|
|
|
3
3
|
"title": "CSS Conditional Rules Module Level 4",
|
|
4
4
|
"url": "https://drafts.csswg.org/css-conditional-4/"
|
|
5
5
|
},
|
|
6
|
-
"properties":
|
|
7
|
-
"atrules":
|
|
8
|
-
"
|
|
9
|
-
|
|
6
|
+
"properties": [],
|
|
7
|
+
"atrules": [],
|
|
8
|
+
"selectors": [],
|
|
9
|
+
"values": [
|
|
10
|
+
{
|
|
11
|
+
"name": "<supports-feature>",
|
|
12
|
+
"type": "type",
|
|
10
13
|
"value": "<supports-selector-fn> | <supports-decl>"
|
|
11
14
|
},
|
|
12
|
-
|
|
15
|
+
{
|
|
16
|
+
"name": "<supports-selector-fn>",
|
|
17
|
+
"type": "type",
|
|
13
18
|
"value": "selector( <complex-selector> )"
|
|
14
19
|
}
|
|
15
|
-
|
|
20
|
+
]
|
|
16
21
|
}
|
package/css-conditional-5.json
CHANGED
|
@@ -3,35 +3,54 @@
|
|
|
3
3
|
"title": "CSS Conditional Rules Module Level 5",
|
|
4
4
|
"url": "https://drafts.csswg.org/css-conditional-5/"
|
|
5
5
|
},
|
|
6
|
-
"properties":
|
|
7
|
-
"atrules":
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
"
|
|
6
|
+
"properties": [],
|
|
7
|
+
"atrules": [
|
|
8
|
+
{
|
|
9
|
+
"name": "@when",
|
|
10
|
+
"prose": "The @when at-rule is a conditional group rule that generalizes the individual conditional group rules such as @media and @supports. It is defined as:",
|
|
11
|
+
"descriptors": [],
|
|
12
|
+
"value": "@when <boolean-condition> { <stylesheet> }"
|
|
11
13
|
},
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
"
|
|
14
|
+
{
|
|
15
|
+
"name": "@else",
|
|
16
|
+
"prose": "The @else rule is a conditional group rule used to form conditional rule chains, which associate multiple conditional rules and guarantee that only the first one that matches will evaluate its condition as true. It is defined as:",
|
|
17
|
+
"descriptors": [],
|
|
18
|
+
"value": "@else <boolean-condition>? { <stylesheet> }"
|
|
15
19
|
}
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
|
|
20
|
+
],
|
|
21
|
+
"selectors": [],
|
|
22
|
+
"values": [
|
|
23
|
+
{
|
|
24
|
+
"name": "<supports-feature>",
|
|
25
|
+
"type": "type",
|
|
19
26
|
"value": "<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-decl>"
|
|
20
27
|
},
|
|
21
|
-
|
|
28
|
+
{
|
|
29
|
+
"name": "<supports-font-tech-fn>",
|
|
30
|
+
"type": "type",
|
|
22
31
|
"value": "font-tech( <font-tech> )"
|
|
23
32
|
},
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
"<supports-font-format-fn>": {
|
|
33
|
+
{
|
|
34
|
+
"name": "<supports-font-format-fn>",
|
|
35
|
+
"type": "type",
|
|
28
36
|
"value": "font-format( <font-format> )"
|
|
29
37
|
},
|
|
30
|
-
|
|
38
|
+
{
|
|
39
|
+
"name": "media()",
|
|
40
|
+
"type": "function",
|
|
31
41
|
"value": "media( [ <mf-plain> | <mf-boolean> | <mf-range> ] )"
|
|
32
42
|
},
|
|
33
|
-
|
|
43
|
+
{
|
|
44
|
+
"name": "supports()",
|
|
45
|
+
"type": "function",
|
|
34
46
|
"value": "supports( <declaration> )"
|
|
35
47
|
}
|
|
36
|
-
|
|
48
|
+
],
|
|
49
|
+
"warnings": [
|
|
50
|
+
{
|
|
51
|
+
"msg": "Missing definition",
|
|
52
|
+
"name": "<font-format",
|
|
53
|
+
"value": "[ collection | embedded-opentype | opentype | svg | truetype | woff | woff2 ]"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
37
56
|
}
|
package/css-conditional.json
CHANGED
|
@@ -3,29 +3,42 @@
|
|
|
3
3
|
"title": "CSS Conditional Rules Module Level 3",
|
|
4
4
|
"url": "https://drafts.csswg.org/css-conditional-3/"
|
|
5
5
|
},
|
|
6
|
-
"properties":
|
|
7
|
-
"atrules":
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
"
|
|
6
|
+
"properties": [],
|
|
7
|
+
"atrules": [
|
|
8
|
+
{
|
|
9
|
+
"name": "@media",
|
|
10
|
+
"prose": "The @media rule is a conditional group rule whose condition is a media query. Its syntax is:",
|
|
11
|
+
"descriptors": [],
|
|
12
|
+
"value": "@media <media-query-list> { <stylesheet> }"
|
|
11
13
|
},
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
"
|
|
14
|
+
{
|
|
15
|
+
"name": "@supports",
|
|
16
|
+
"prose": "The @supports rule is a conditional group rule whose condition tests whether the user agent supports CSS property:value pairs. Authors can use it to write style sheets that use new features when available but degrade gracefully when those features are not supported. These queries are called CSS feature queries or (colloquially) supports queries.",
|
|
17
|
+
"descriptors": [],
|
|
18
|
+
"value": "@supports <supports-condition> { <stylesheet> }"
|
|
15
19
|
}
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
|
|
20
|
+
],
|
|
21
|
+
"selectors": [],
|
|
22
|
+
"values": [
|
|
23
|
+
{
|
|
24
|
+
"name": "<supports-condition>",
|
|
25
|
+
"type": "type",
|
|
19
26
|
"value": "not <supports-in-parens> | <supports-in-parens> [ and <supports-in-parens> ]* | <supports-in-parens> [ or <supports-in-parens> ]*"
|
|
20
27
|
},
|
|
21
|
-
|
|
28
|
+
{
|
|
29
|
+
"name": "<supports-in-parens>",
|
|
30
|
+
"type": "type",
|
|
22
31
|
"value": "( <supports-condition> ) | <supports-feature> | <general-enclosed>"
|
|
23
32
|
},
|
|
24
|
-
|
|
33
|
+
{
|
|
34
|
+
"name": "<supports-feature>",
|
|
35
|
+
"type": "type",
|
|
25
36
|
"value": "<supports-decl>"
|
|
26
37
|
},
|
|
27
|
-
|
|
38
|
+
{
|
|
39
|
+
"name": "<supports-decl>",
|
|
40
|
+
"type": "type",
|
|
28
41
|
"value": "( <declaration> )"
|
|
29
42
|
}
|
|
30
|
-
|
|
43
|
+
]
|
|
31
44
|
}
|
package/css-contain-3.json
CHANGED
|
@@ -3,15 +3,23 @@
|
|
|
3
3
|
"title": "CSS Containment Module Level 3",
|
|
4
4
|
"url": "https://drafts.csswg.org/css-contain-3/"
|
|
5
5
|
},
|
|
6
|
-
"properties":
|
|
7
|
-
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
8
|
"name": "contain",
|
|
9
9
|
"newValues": "layout || style || paint || [ size | inline-size ]",
|
|
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
|
+
"type": "value",
|
|
15
|
+
"value": "inline-size"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
10
18
|
"styleDeclaration": [
|
|
11
19
|
"contain"
|
|
12
20
|
]
|
|
13
21
|
},
|
|
14
|
-
|
|
22
|
+
{
|
|
15
23
|
"name": "container-type",
|
|
16
24
|
"value": "normal | size | inline-size",
|
|
17
25
|
"initial": "normal",
|
|
@@ -21,12 +29,32 @@
|
|
|
21
29
|
"computedValue": "the keyword normal or one or more of size, inline-size",
|
|
22
30
|
"canonicalOrder": "per grammar",
|
|
23
31
|
"animationType": "not animatable",
|
|
32
|
+
"values": [
|
|
33
|
+
{
|
|
34
|
+
"name": "size",
|
|
35
|
+
"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.",
|
|
36
|
+
"type": "value",
|
|
37
|
+
"value": "size"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "inline-size",
|
|
41
|
+
"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.",
|
|
42
|
+
"type": "value",
|
|
43
|
+
"value": "inline-size"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "normal",
|
|
47
|
+
"prose": "The element is not a query container for any container size queries, but remains a query container for container style queries.",
|
|
48
|
+
"type": "value",
|
|
49
|
+
"value": "normal"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
24
52
|
"styleDeclaration": [
|
|
25
53
|
"container-type",
|
|
26
54
|
"containerType"
|
|
27
55
|
]
|
|
28
56
|
},
|
|
29
|
-
|
|
57
|
+
{
|
|
30
58
|
"name": "container-name",
|
|
31
59
|
"value": "none | <custom-ident>+",
|
|
32
60
|
"initial": "none",
|
|
@@ -36,12 +64,26 @@
|
|
|
36
64
|
"computedValue": "the keyword none, or an ordered list of identifiers",
|
|
37
65
|
"canonicalOrder": "per grammar",
|
|
38
66
|
"animationType": "not animatable",
|
|
67
|
+
"values": [
|
|
68
|
+
{
|
|
69
|
+
"name": "none",
|
|
70
|
+
"prose": "The query container has no query container name.",
|
|
71
|
+
"type": "value",
|
|
72
|
+
"value": "none"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "<custom-ident>",
|
|
76
|
+
"prose": "Specifies a query container name as an identifier. The keywords none, and, not, and or are excluded from this <custom-ident>.",
|
|
77
|
+
"type": "value",
|
|
78
|
+
"value": "<custom-ident>"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
39
81
|
"styleDeclaration": [
|
|
40
82
|
"container-name",
|
|
41
83
|
"containerName"
|
|
42
84
|
]
|
|
43
85
|
},
|
|
44
|
-
|
|
86
|
+
{
|
|
45
87
|
"name": "container",
|
|
46
88
|
"value": "<'container-name'> [ / <'container-type'> ]?",
|
|
47
89
|
"initial": "see individual properties",
|
|
@@ -55,10 +97,11 @@
|
|
|
55
97
|
"container"
|
|
56
98
|
]
|
|
57
99
|
}
|
|
58
|
-
|
|
59
|
-
"atrules":
|
|
60
|
-
|
|
61
|
-
"
|
|
100
|
+
],
|
|
101
|
+
"atrules": [
|
|
102
|
+
{
|
|
103
|
+
"name": "@container",
|
|
104
|
+
"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 <stylesheet> 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.",
|
|
62
105
|
"descriptors": [
|
|
63
106
|
{
|
|
64
107
|
"name": "width",
|
|
@@ -94,35 +137,67 @@
|
|
|
94
137
|
"name": "orientation",
|
|
95
138
|
"for": "@container",
|
|
96
139
|
"value": "portrait | landscape",
|
|
97
|
-
"type": "discrete"
|
|
140
|
+
"type": "discrete",
|
|
141
|
+
"values": [
|
|
142
|
+
{
|
|
143
|
+
"name": "portrait",
|
|
144
|
+
"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.",
|
|
145
|
+
"type": "value",
|
|
146
|
+
"value": "portrait"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "landscape",
|
|
150
|
+
"prose": "Otherwise orientation is landscape.",
|
|
151
|
+
"type": "value",
|
|
152
|
+
"value": "landscape"
|
|
153
|
+
}
|
|
154
|
+
]
|
|
98
155
|
}
|
|
99
|
-
]
|
|
156
|
+
],
|
|
157
|
+
"value": "@container <container-condition> { <stylesheet> }"
|
|
100
158
|
}
|
|
101
|
-
|
|
102
|
-
"
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
"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 the same as for a declaration [CSS-SYNTAX-3], and its query is true if the computed value of the given property on the query container matches the given value (which is also computed with respect to the query container), unknown if the property or its value is invalid or unsupported, and false otherwise. The boolean syntax and logic combining style features into a style query is the same as for CSS feature queries. (See @supports. [CSS-CONDITIONAL-3])"
|
|
108
|
-
},
|
|
109
|
-
"<container-condition>": {
|
|
159
|
+
],
|
|
160
|
+
"selectors": [],
|
|
161
|
+
"values": [
|
|
162
|
+
{
|
|
163
|
+
"name": "<container-condition>",
|
|
164
|
+
"type": "type",
|
|
110
165
|
"value": "[ <container-name> ]? <container-query>"
|
|
111
166
|
},
|
|
112
|
-
|
|
167
|
+
{
|
|
168
|
+
"name": "<container-name>",
|
|
169
|
+
"type": "type",
|
|
113
170
|
"value": "<custom-ident>"
|
|
114
171
|
},
|
|
115
|
-
|
|
172
|
+
{
|
|
173
|
+
"name": "<container-query>",
|
|
174
|
+
"type": "type",
|
|
116
175
|
"value": "not <query-in-parens> | <query-in-parens> [ [ and <query-in-parens> ]* | [ or <query-in-parens> ]* ]"
|
|
117
176
|
},
|
|
118
|
-
|
|
177
|
+
{
|
|
178
|
+
"name": "<query-in-parens>",
|
|
179
|
+
"type": "type",
|
|
119
180
|
"value": "( <container-query> ) | ( <size-feature> ) | style( <style-query> ) | <general-enclosed>"
|
|
120
181
|
},
|
|
121
|
-
|
|
182
|
+
{
|
|
183
|
+
"name": "<style-query>",
|
|
184
|
+
"type": "type",
|
|
122
185
|
"value": "not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ] | <style-feature>"
|
|
123
186
|
},
|
|
124
|
-
|
|
187
|
+
{
|
|
188
|
+
"name": "<style-in-parens>",
|
|
189
|
+
"type": "type",
|
|
125
190
|
"value": "( <style-query> ) | ( <style-feature> ) | <general-enclosed>"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"name": "<size-feature>",
|
|
194
|
+
"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])",
|
|
195
|
+
"type": "type"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"name": "<style-feature>",
|
|
199
|
+
"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 the same as for a declaration [CSS-SYNTAX-3], and its query is true if the computed value of the given property on the query container matches the given value (which is also computed with respect to the query container), unknown if the property or its value is invalid or unsupported, and false otherwise. The boolean syntax and logic combining style features into a style query is the same as for CSS feature queries. (See @supports. [CSS-CONDITIONAL-3])",
|
|
200
|
+
"type": "type"
|
|
126
201
|
}
|
|
127
|
-
|
|
202
|
+
]
|
|
128
203
|
}
|
package/css-contain.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"title": "CSS Containment Module Level 2",
|
|
4
4
|
"url": "https://drafts.csswg.org/css-contain-2/"
|
|
5
5
|
},
|
|
6
|
-
"properties":
|
|
7
|
-
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
8
|
"name": "contain",
|
|
9
9
|
"value": "none | strict | content | [ size || layout || style || paint ]",
|
|
10
10
|
"initial": "none",
|
|
@@ -14,11 +14,55 @@
|
|
|
14
14
|
"computedValue": "the keyword none or one or more of size, layout, paint",
|
|
15
15
|
"canonicalOrder": "per grammar",
|
|
16
16
|
"animationType": "not animatable",
|
|
17
|
+
"values": [
|
|
18
|
+
{
|
|
19
|
+
"name": "none",
|
|
20
|
+
"prose": "This value indicates that the property has no effect. The element renders as normal, with no containment effects applied.",
|
|
21
|
+
"type": "value",
|
|
22
|
+
"value": "none"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "strict",
|
|
26
|
+
"prose": "This value computes to size layout paint style, and thus turns on all forms of containment for the element.",
|
|
27
|
+
"type": "value",
|
|
28
|
+
"value": "strict"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "content",
|
|
32
|
+
"prose": "This value computes to layout paint style, and thus turns on all forms of containment except size containment for the element.",
|
|
33
|
+
"type": "value",
|
|
34
|
+
"value": "content"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "size",
|
|
38
|
+
"prose": "The value turns on size containment for the element. This ensures that the containment box can be laid out without needing to examine its descendants.",
|
|
39
|
+
"type": "value",
|
|
40
|
+
"value": "size"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "layout",
|
|
44
|
+
"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.",
|
|
45
|
+
"type": "value",
|
|
46
|
+
"value": "layout"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "style",
|
|
50
|
+
"prose": "This value turns on style containment for the element. This ensures that, for properties which can have effects on more than just an element and its descendants, those effects don’t escape the element.",
|
|
51
|
+
"type": "value",
|
|
52
|
+
"value": "style"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "paint",
|
|
56
|
+
"prose": "This value turns on paint containment for the element. This ensures that the descendants of the containment box don’t display outside its bounds, so if an element is off-screen or otherwise not visible, its descendants are also guaranteed to be not visible.",
|
|
57
|
+
"type": "value",
|
|
58
|
+
"value": "paint"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
17
61
|
"styleDeclaration": [
|
|
18
62
|
"contain"
|
|
19
63
|
]
|
|
20
64
|
},
|
|
21
|
-
|
|
65
|
+
{
|
|
22
66
|
"name": "content-visibility",
|
|
23
67
|
"value": "visible | auto | hidden",
|
|
24
68
|
"initial": "visible",
|
|
@@ -28,12 +72,33 @@
|
|
|
28
72
|
"computedValue": "as specified",
|
|
29
73
|
"canonicalOrder": "per grammar",
|
|
30
74
|
"animationType": "not animatable",
|
|
75
|
+
"values": [
|
|
76
|
+
{
|
|
77
|
+
"name": "visible",
|
|
78
|
+
"prose": "No effect. The element’s contents are laid out and rendered as normal.",
|
|
79
|
+
"type": "value",
|
|
80
|
+
"value": "visible"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "hidden",
|
|
84
|
+
"prose": "The element skips its contents. The skipped contents must not be accessible to user-agent features, such as find-in-page, tab-order navigation, etc., nor be selectable or focusable.",
|
|
85
|
+
"type": "value",
|
|
86
|
+
"value": "hidden"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "auto",
|
|
90
|
+
"prose": "Changes the used value of the contain property so as to turn on layout containment, style containment, and paint containment for the element. If the element is not relevant to the user, it also skips its contents. Unlike hidden, the skipped contents must still be available as normal to user-agent features such as find-in-page, tab order navigation, etc., and must be focusable and selectable as normal.",
|
|
91
|
+
"type": "value",
|
|
92
|
+
"value": "auto"
|
|
93
|
+
}
|
|
94
|
+
],
|
|
31
95
|
"styleDeclaration": [
|
|
32
96
|
"content-visibility",
|
|
33
97
|
"contentVisibility"
|
|
34
98
|
]
|
|
35
99
|
}
|
|
36
|
-
|
|
37
|
-
"atrules":
|
|
38
|
-
"
|
|
100
|
+
],
|
|
101
|
+
"atrules": [],
|
|
102
|
+
"selectors": [],
|
|
103
|
+
"values": []
|
|
39
104
|
}
|