@@ -188,7 +188,7 @@ Size Containment</h3>
188188 size containment has no effect.
189189 Otherwise, giving an element <dfn export>size containment</dfn> has the following effects:
190190
191- 1. When laying out the containing element,
191+ 1. When calculating the size of the containing element,
192192 it must be treated as having no contents.
193193
194194 Note: Even when the element's [=sizing properties=] are ''height/auto''
@@ -197,9 +197,12 @@ Size Containment</h3>
197197 such as the 'columns' property or the 'grid' property,
198198 continue to be taken into account.
199199
200- After layout of the element is complete ,
200+ Then ,
201201 its contents must then be laid out into the containing element's resolved size.
202202
203+ Note: [=size containment=] does not suppress baseline alignment.
204+ See [=layout containment=] for that.
205+
203206 <a>Replaced elements</a> must be treated as having an intrinsic width and height of 0.
204207 2. Elements with <a>size containment</a> are <a spec=css-break-3>monolithic</a> (See [[CSS-BREAK-3#possible-breaks]] ).
205208
@@ -312,6 +315,12 @@ Layout Containment</h3>
312315 Note: This introduces the previously non-existent possibility that [=forced breaks=]
313316 may occur between a box and its container (See [[CSS-BREAK-3#possible-breaks]] ).
314317
318+ 7. For the purpose of the 'vertical-align' property,
319+ or any other property whose effects
320+ need to relate the position of the containing element's baseline
321+ to something other than its descendants,
322+ the containing element is treated as having no baseline.
323+
315324 Possible optimizations that can be enabled by <a>layout containment</a> include (but are not limited to):
316325
317326 1. When laying out the page,
@@ -516,6 +525,7 @@ This appendix is <em>informative</em>.
516525<h3 id="2018-05-24-changes">Changes from the
517526<a href="https://www.w3.org/TR/2018/CR-css-contain-1-20180524/">Candidate Recommendation of 24 May 2018</a></h3>
518527
528+ * Layout containment suppresses baseline alignement, but size containment does not
519529* Layout containment causes the element to establish a new stacking context
520530* Size containment does not apply to tables
521531* Clarify that the columns and grid properties affect the size of size-contained elements
0 commit comments