@@ -310,17 +310,10 @@ Containing Blocks of Positioned Boxes</h3>
310310 it is defined as follows:
311311
312312 <dl class=switch>
313- <dt id="fixed-cb"> If the box has ''position: fixed'' :
314- <dd>
315- The [=containing block=] is established by
316- the [=viewport=] in the case of [=continuous media=] ,
317- or the [=page area=] in the case of [=paged media=] .
318- See [[#fixpos-insets]] .
319-
320313 <dt id="absolute-cb"> If the box has ''position: absolute'' :
321314 <dd>
322315 The [=containing block=] is established
323- by the nearest ancestor box with a 'position' other than ''position/static'' ,
316+ by the nearest ancestor box that establishes an <dfn export>absolute positioning containing block</dfn> ,
324317 in the following way:
325318
326319 <dl class=switch>
@@ -338,10 +331,29 @@ Containing Blocks of Positioned Boxes</h3>
338331
339332 Note: If the ancestor breaks across a line,
340333 the “start” position might more end-ward than the “end” position.
341-
342- <dt> If there is no such ancestor,
343- <dd> the [=containing block=] is the [=initial containing block=] .
344334 </dl>
335+
336+ If no ancestor establishes one,
337+ the [=absolute positioning containing block=] is
338+ the [=initial containing block=] .
339+
340+ Note: The 'position' property causes an element to establish an [=absolute positioning containing block=]
341+ for any value other than ''static'' ;
342+ other properties, such as 'contain' ,
343+ can also do so.
344+
345+ <dt id="fixed-cb"> If the box has ''position: fixed'' :
346+ <dd>
347+ The [=containing block=] is established
348+ by the nearest ancestor box that establishes an <dfn export>fixed positioning containing block</dfn> ,
349+ with the bounds of the [=containing block=]
350+ determined identically to the [=absolute positioning containing block=] .
351+
352+ If no ancestor establishes one,
353+ the [=fixed positioning containing block=] is
354+ the [=viewport=] in the case of [=continuous media=] ,
355+ or the [=page area=] in the case of [=paged media=] .
356+ See [[#fixpos-insets]] .
345357 </dl>
346358
347359<div class="example">
0 commit comments