Skip to content

Commit 88aa0c2

Browse files
committed
[css-overflow-3] Intrinsic block sizes with continue:discard
Measure to the first **forced** break. Closes #3214
1 parent f987414 commit 88aa0c2

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

css-overflow-3/Overview.bs

+11-9
Original file line numberDiff line numberDiff line change
@@ -1096,10 +1096,9 @@ Once it is sufficiently stable in this specification,
10961096
or the position of the first [=unforced break=],
10971097
which ever comes sooner,
10981098
is treated as the end of the <a>fragmentation container</a>,
1099-
and the rest of the <a>fragmented flow</a> is laid out in
1100-
the next <a>fragmentation container</a> in the <a>fragmentation context</a>.
1101-
The remaining content after the [=fragmentation break=] is discarded,
1099+
and the remaining content after the [=fragmentation break=] is discarded,
11021100
similar to if it were ''display: none'':
1101+
* It is not rendered
11031102
* Just as the content is visually hidden, it is not made available for speech rendering
11041103
* It does not allow user interaction
11051104
* Issue(2970): Make sure effects on OM are well defined
@@ -1109,17 +1108,20 @@ Once it is sufficiently stable in this specification,
11091108
Discussions in the <a href="https://lists.w3.org/Archives/Public/www-style/2018Jul/0030.html">Syndey F2F meeting</a>
11101109
seemed to generally converge on this,
11111110
but other possibilities were raised.
1112-
* It is neither rendered,
1113-
nor measured as part of the box’s contents for the purpose of
1114-
finding its <a lt="min-content block size">min-content</a>, <a>max-content</a>, or <a lt="automatic size">automatic</a> <a>block sizes</a>
11151111

1116-
However, since intrinsic sizes are calculated across all <a>fragmentation containers</a>,
1112+
However, since intrinsic sizes are calculated across <a>fragmentation containers</a>,
11171113
this content <em>is</em> taken into account
11181114
for the purpose of finding the box’s
11191115
<a lt="min-content inline size">min-content</a> and <a>max-content</a> <a>inline sizes</a>
11201116
(see [[css-break-3#varying-size-boxes]]).
1121-
1122-
Issue(3214): The effect on intrinsic sizing is under discussion.
1117+
<a lt="min-content inline size">Min-content</a> and <a>max-content</a> <a>block sizes</a>
1118+
are calculated based on the content
1119+
from the start of the [=fragmented flow=]
1120+
to the first [=forced break=] if any,
1121+
or to the end of the [=fragmented flow=] if there is no forced break.
1122+
1123+
Note: Calculating intrinsic block sizes to the first forced <em>or unforced</em> break
1124+
would cause intrinsic sizes to depend on layout, which would cause circularities.
11231125

11241126
The effect on [=multi-column containers=] is to discard any [=overflow column=].
11251127

0 commit comments

Comments
 (0)