@@ -18,39 +18,35 @@ Abstract: This CSS module describes the 'contain' property, which indicates that
18
18
Test Suite : https://test.csswg.org/harness/results/css-contain-1_dev/
19
19
WPT Path Prefix : css/css-contain/
20
20
</pre>
21
- <pre class="anchors">
22
- spec: css2; urlPrefix: https://www.w3.org/TR/CSS2/
23
- type: property; url: generate.html#propdef-content; text: content
24
- type: property; url: visudet.html#propdef-vertical-align; text: vertical-align
25
- type: value; for: content; url: generate.html#value-def-open-quote; text: open-quote
26
- type: value; for: content; url: generate.html#value-def-close-quote; text: close-quote
27
- type: value; for: content; url: generate.html#value-def-no-open-quote; text: no-open-quote
28
- type: value; for: content; url: generate.html#value-def-no-close-quote; text: no-close-quote
29
- type: dfn; url: box.html#padding-edge; text: padding edge
30
-
31
- spec: css-backgrounds-3;
32
- type: dfn; url: https://drafts.csswg.org/css-backgrounds-3/#corner-clipping; text: corner clipping
33
- </pre>
21
+
34
22
<pre class=link-defaults>
35
- spec:css2; type:dfn; text:stacking context
36
- spec:css2; type:property; text:content
23
+ spec:css2;
24
+ type:dfn; text:stacking context
25
+ type:property;
26
+ text:content
27
+ text:counter-increment
37
28
spec:css-display-3; type:property; text:display
38
- spec:css2; type:property; text:counter-increment
39
29
spec:css-ui-3; type:property; text:text-overflow
30
+ spec:css-ui-4; type:property; text:pointer-events
40
31
spec:css-grid-1; type:property; text:grid
41
- spec:css-break-3; type:dfn; text:forced break
42
- spec:css-break-3; type:dfn; text:fragmentation
43
- spec:css-break-3; type:dfn; text:fragmentation container
44
- spec:css-break-3; type:dfn; text:fragmentation context
45
- spec:css-break-3; type:dfn; text:fragmented flow
46
- spec:css-sizing-4; type:property; text:contain-intrinsic-size
47
- spec:css-sizing-4; type:property; text:aspect-ratio
32
+ spec:css-break-3; type:dfn;
33
+ text:forced break
34
+ text:fragmentation
35
+ text:fragmentation container
36
+ text:fragmentation context
37
+ text:fragmented flow
38
+ spec:css-sizing-4; type:property;
39
+ text:contain-intrinsic-size
40
+ text:aspect-ratio
48
41
spec:intersection-observer; type:dfn; text:intersection root
49
- spec:css-sizing-3; type:value; for:height; text:auto
50
- spec:css-sizing-3; type:property; text:width
51
- spec:css-sizing-3; type:property; text:height
52
- spec:css-sizing-3; type:value; for:width; text:min-content
53
- spec:css-sizing-3; type:value; for:width; text:max-content
42
+ spec:css-sizing-3;
43
+ type:value;
44
+ for:height; text:auto
45
+ for:width; text:min-content
46
+ for:width; text:max-content
47
+ type:property;
48
+ text:width
49
+ text:height
54
50
</pre>
55
51
56
52
<h2 id='intro'>
@@ -1052,7 +1048,7 @@ Paint Containment</h3>
1052
1048
1. The contents of the element
1053
1049
including any [=ink overflow|ink=] or [=scrollable overflow=]
1054
1050
must be clipped to the <a>overflow clip edge</a> of the [=paint containment box=] ,
1055
- taking <a> corner clipping</a> into account.
1051
+ taking [[css-backgrounds-3# corner clipping|corner clipping]] into account.
1056
1052
This does not include the creation of any mechanism
1057
1053
to access or indicate the presence of the clipped content;
1058
1054
nor does it inhibit the creation of any such mechanism through other properties,
@@ -1305,7 +1301,10 @@ Suppressing An Element's Contents Entirely: the 'content-visibility' property {#
1305
1301
are not painted
1306
1302
(as if they had ''visibility: hidden'' )
1307
1303
and do not respond to hit-testing
1308
- (as if they had ''pointer-events: none'' ).
1304
+ (as if they had ''pointer-events: none'' ),
1305
+ and to a large extent do not update their styles at all
1306
+ unless explicitly requested by script
1307
+ (see [[#cv-notes]] for details).
1309
1308
1310
1309
<wpt>
1311
1310
content-visibility/content-visibility-080.html
@@ -1625,7 +1624,7 @@ Restrictions and Clarifications {#cv-notes}
1625
1624
1626
1625
If an element is not available to user-agent features
1627
1626
(for example, if it is [=skipped=]
1628
- due to a ''content-visiblity : hidden'' ancestor),
1627
+ due to a ''content-visibility : hidden'' ancestor),
1629
1628
then scrolling operations
1630
1629
must not scroll to it at all,
1631
1630
as if it did not have a layout box.
@@ -1668,7 +1667,7 @@ Restrictions and Clarifications {#cv-notes}
1668
1667
animation and transitions are sampled
1669
1668
according to the styles at the time of that [=style change event=] :
1670
1669
1671
- [[css-animations-2#events]] and [[css-transitions-2#events]]
1670
+ [[css-animations-2#events]] and [[css-transitions-2#transition- events]]
1672
1671
defines what objects are created
1673
1672
and what events are fired,
1674
1673
with what data,
@@ -1705,7 +1704,7 @@ Restrictions and Clarifications {#cv-notes}
1705
1704
as if it were ''display: none'' .
1706
1705
1707
1706
Note: An element [=skipped=] for other reasons,
1708
- such as having a ''content-visiblity : auto'' ancestor,
1707
+ such as having a ''content-visibility : auto'' ancestor,
1709
1708
will still generate boxes as normal,
1710
1709
and might thus become un-[=skipped=] .
1711
1710
0 commit comments