Skip to content

Commit 73273a3

Browse files
committed
[css-multicol-1] Clarify containing block of spanner and its contents. #5612
* Spanners always form a containing block for their in-flow contents; don't imply that this causes them to trap abspos as well. * Clarify that the containing block of the spanner is the multicol container.
1 parent b79645c commit 73273a3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

css-multicol-1/Overview.bs

+5-3
Original file line numberDiff line numberDiff line change
@@ -1063,9 +1063,11 @@ Spanning Columns</h2>
10631063
An element that spans more than one column is called a <dfn export>spanning element</dfn>
10641064
and the box it creates is called a <dfn export>spanner</dfn>.
10651065

1066-
The spanner becomes the [=containing block=] for [=absolutely positioned boxes=] inside the spanner
1067-
where the spanning element establishes a [=containing block=],
1068-
otherwise the containing block chain goes to the multicol container.
1066+
The [=containing block=] of the [=spanner=] is the [=multicol container=] itself.
1067+
Consequently, in cases where the spanner itself does not establish
1068+
a [=containing block=] for [=absolutely positioned boxes=] inside the spanner,
1069+
their [=containing block chain=] skips directly to the [=multicol container=]
1070+
(skipping any ancestors between the [=spanner=] and the [=multicol container=]).
10691071

10701072
A spanning element is taken [=out-of-flow=], leaving a forced break.
10711073
This does not affect the <a href="https://www.w3.org/TR/CSS2/zindex.html">painting order</a> [[!CSS21]] of the spanning element.

0 commit comments

Comments
 (0)