Skip to content

Commit f31e4c8

Browse files
committed
[css-contain-1][editorial] Move the 'possible optimizations' to non-normative subsections
Matches the corresponding change in L2 (see cf75d0c)
1 parent 5fe0ed4 commit f31e4c8

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

css-contain-1/Overview.bs

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -864,6 +864,12 @@ Size Containment</h3>
864864
and its [=natural height=] is treated as 0.
865865
</div>
866866

867+
868+
<h4 id='containment-size-opt' class="no-toc">
869+
Possible Size-Containment Optimizations</h4>
870+
871+
<em>This section is non-normative.</em>
872+
867873
By itself, <a>size containment</a> does not offer much optimization opportunity.
868874
Its primary benefit on its own is that tools which want to lay out the [=size containment box|containment box=]'s contents
869875
based on the [=size containment box|containment box=]'s size
@@ -1044,6 +1050,11 @@ Layout Containment</h3>
10441050
contain-layout-baseline-005.html
10451051
</wpt>
10461052

1053+
<h4 id='containment-layout-opt' class="no-toc">
1054+
Possible Layout-Containment Optimizations</h4>
1055+
1056+
<em>This section is non-normative.</em>
1057+
10471058
Possible optimizations that can be enabled by <a>layout containment</a> include (but are not limited to):
10481059

10491060
1. When laying out the page,
@@ -1160,7 +1171,11 @@ Paint Containment</h3>
11601171
contain-paint-baseline-001.html
11611172
</wpt>
11621173

1163-
<div class=informative>
1174+
<h4 id='containment-paint-opt' class="no-toc">
1175+
Possible Paint-Containment Optimizations</h4>
1176+
1177+
<em>This section is non-normative.</em>
1178+
11641179
Possible optimizations that can be enabled by <a>paint containment</a> include (but are not limited to):
11651180

11661181
1. If the [=paint containment box|containment box=] is off-screen or obscured,
@@ -1186,7 +1201,6 @@ Paint Containment</h3>
11861201

11871202
3. Because they are guaranteed to be stacking contexts,
11881203
scrolling elements can be painted into a single GPU layer.
1189-
</div>
11901204

11911205
Privacy and Security Considerations {#priv-sec}
11921206
==============================================

0 commit comments

Comments
 (0)