Skip to content

Commit b961c0b

Browse files
committed
[css-position-3] Update CB definition for fragmented inlines w3c#8284
1 parent e06c3a7 commit b961c0b

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

css-position-3/Overview.bs

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -317,22 +317,21 @@ Containing Blocks of Positioned Boxes</h3>
317317
(for example, see [[CSS-GRID-1#abspos-items]]).
318318

319319
<dt>If the ancestor is an [=inline box=],
320+
using the [=writing mode=] of that box,
320321
<dd>
321-
the [=containing block=] is formed by
322-
the [=block-start=] and [=inline-start=] [=content edges=] of the first [=box fragment=] of the ancestor,
323-
and the [=block-end=] and [=inline-end=] [=content edges=] of the last [=box fragment=] of the ancestor.
322+
the [=containing block=] is formed by forming a rectangle from
323+
the [=start=]-most [=content edges=] (in both axes) of the first [=box fragment=] of the ancestor,
324+
and the [=end=]-most [=content edges=] of the [=end=]-most [=box fragment=](s) of the ancestor in each axis.
324325
If there are multiple fragments on the same line
325326
(e.g. due to [[css-writing-modes-3#bidi-box-model|bidi reordering]]),
326-
take the [=start=]most/[=end=]most fragment
327-
as the first/last fragment.
327+
take the [=start=]-most fragment
328+
as the first fragment.
328329

329-
However, since a [=containing block=] cannot have negative area:
330-
if the [=block-end=] edge would be [=start=]wards of the [=block-start=] edge,
331-
then the [=block-end=] edge of the [=containing block=]
332-
instead uses the [=block-start=] edge;
333-
and analogously for the [=inline axis=].
334-
(Thus the [=containing block=] will have zero height and/or width as a result.)
330+
ISSUE(8284): What is a useful containing block to form
331+
when the box is fragmented across multiple lines?
335332

333+
Note: The [=containing block=] formed by a fragmented [=inline box=]
334+
was undefined in [[CSS2]].
336335
</dl>
337336

338337
If no ancestor establishes one,
@@ -1719,6 +1718,15 @@ Acknowledgments</h2>
17191718

17201719
<h2 class="no-num" id="changes">Changes</h2>
17211720

1721+
The following significant changes were made since the
1722+
<a href="https://www.w3.org/TR/2023/WD-css-position-3-20230217/">17 February 2023 Working Draft</a>:
1723+
<ul>
1724+
<li>Updated the [[#def-cb|containing block formed by inline boxes fragmented across multiple lines]]
1725+
to use the endmost edge of all the fragments in each axis;
1726+
this proposed definition is still under discussion, however.
1727+
(<a href="https://github.com/w3c/csswg-drafts/issues/8284">Issue 8284</a>)
1728+
</ul>
1729+
17221730
The following significant changes were made since the
17231731
<a href="https://www.w3.org/TR/2022/WD-css-position-3-20220901/">01 September 2022 Working Draft</a>:
17241732
<ul>

0 commit comments

Comments
 (0)