@@ -142,8 +142,8 @@ Strong Containment: the 'contain' property</h2>
142
142
143
143
<dt> <dfn>strict</dfn>
144
144
<dd>
145
- This value computes to ''size layout paint'' ,
146
- and thus turns on all forms of <a>containment</a> <em> except </em> <a>style containment</a> for the element.
145
+ This value computes to ''size layout paint style '' ,
146
+ and thus turns on all forms of <a>containment</a> for the element.
147
147
148
148
<wpt>
149
149
contain-strict-001.html
@@ -155,8 +155,8 @@ Strong Containment: the 'contain' property</h2>
155
155
156
156
<dt> <dfn>content</dfn>
157
157
<dd>
158
- This value computes to ''layout paint'' ,
159
- and thus turns on all forms of <a>containment</a> <em> except</em> <a>size containment</a> and <a>style containment</a> for the element.
158
+ This value computes to ''layout paint style '' ,
159
+ and thus turns on all forms of <a>containment</a> <em> except</em> <a>size containment</a> for the element.
160
160
161
161
<wpt>
162
162
contain-content-001.html
@@ -173,7 +173,7 @@ Strong Containment: the 'contain' property</h2>
173
173
However, because it doesn't apply <a>size containment</a> ,
174
174
the element can still respond to the size of its contents,
175
175
which can cause layout-invalidation to percolate further up the tree than desired.
176
- Use ''contain: strict'' or ''contain: size layout style paint'' when possible,
176
+ Use ''contain: strict'' when possible,
177
177
to gain as much containment as you can.
178
178
179
179
<dt> <dfn>size</dfn>
@@ -1878,7 +1878,7 @@ This appendix is <em>informative</em>.
1878
1878
Changes from <a href="https://www.w3.org/TR/2020/WD-css-contain-2-20201216/">2020-12-16 Working Draft</a>
1879
1879
</h3>
1880
1880
1881
- None yet .
1881
+ * Included [=style containment=] in the ''strict'' and ''content'' keywords .
1882
1882
1883
1883
<h3 id="changes-since-2020-06-03">
1884
1884
Changes from <a href="https://www.w3.org/TR/2020/WD-css-contain-2-20200603/">2020-06-03 Working Draft</a>
0 commit comments