Skip to content

Commit f96ec77

Browse files
committed
[css-overflow-3] Account for discarded content in min-content/max-content inline sizes (to be consistent with fragmentation in general).
1 parent d19fd72 commit f96ec77

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

css-overflow-3/Overview.bs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,11 +504,16 @@ Limiting Visible Lines: the 'max-lines' property</h2>
504504
(which is the case if the box became a <a>fragmentation container</a>
505505
merely as a consequence of applying the 'max-lines' property),
506506
the rest of the <a>fragmented flow</a> is discarded,
507-
as if it were ''display: none'':
507+
similar to if it were ''display: none'':
508508
it is neither rendered,
509509
nor measured as part of the box’s contents for the purpose of
510-
finding its <a lt="min-content size">min-content</a> and <a>max-content sizes</a>,
510+
finding its <a lt="min-content block size">min-content</a> and <a>max-content</a> <a>block sizes</a>,
511511
nor does allow user interaction.
512+
However, since intrinsic sizes are calculated across all <a>fragmentation containers</a>,
513+
this content <em>is</em> taken into account
514+
for the purpose of finding the box’s
515+
<a lt="min-content inline size">min-content</a> and <a>max-content</a> <a>inline sizes</a>
516+
(see [[css-break-3#varying-size-boxes]]).
512517

513518
Note: In the case of <a href="https://www.w3.org/TR/css-break-3/#parallel-flows">parallel fragmentation flows</a>,
514519
content occuring after the <a>fragmentation break</a> in the box tree

0 commit comments

Comments
 (0)