@@ -18,39 +18,35 @@ Abstract: This CSS module describes the 'contain' property, which indicates that
1818Test Suite : https://test.csswg.org/harness/results/css-contain-1_dev/
1919WPT Path Prefix : css/css-contain/
2020</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+
3422<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
3728spec:css-display-3; type:property; text:display
38- spec:css2; type:property; text:counter-increment
3929spec:css-ui-3; type:property; text:text-overflow
30+ spec:css-ui-4; type:property; text:pointer-events
4031spec: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
4841spec: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
5450</pre>
5551
5652<h2 id='intro'>
@@ -1052,7 +1048,7 @@ Paint Containment</h3>
10521048 1. The contents of the element
10531049 including any [=ink overflow|ink=] or [=scrollable overflow=]
10541050 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.
10561052 This does not include the creation of any mechanism
10571053 to access or indicate the presence of the clipped content;
10581054 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 {#
13051301 are not painted
13061302 (as if they had ''visibility: hidden'' )
13071303 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).
13091308
13101309 <wpt>
13111310 content-visibility/content-visibility-080.html
@@ -1625,7 +1624,7 @@ Restrictions and Clarifications {#cv-notes}
16251624
16261625 If an element is not available to user-agent features
16271626 (for example, if it is [=skipped=]
1628- due to a ''content-visiblity : hidden'' ancestor),
1627+ due to a ''content-visibility : hidden'' ancestor),
16291628 then scrolling operations
16301629 must not scroll to it at all,
16311630 as if it did not have a layout box.
@@ -1668,7 +1667,7 @@ Restrictions and Clarifications {#cv-notes}
16681667 animation and transitions are sampled
16691668 according to the styles at the time of that [=style change event=] :
16701669
1671- [[css-animations-2#events]] and [[css-transitions-2#events]]
1670+ [[css-animations-2#events]] and [[css-transitions-2#transition- events]]
16721671 defines what objects are created
16731672 and what events are fired,
16741673 with what data,
@@ -1705,7 +1704,7 @@ Restrictions and Clarifications {#cv-notes}
17051704 as if it were ''display: none'' .
17061705
17071706 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,
17091708 will still generate boxes as normal,
17101709 and might thus become un-[=skipped=] .
17111710
0 commit comments