Skip to content

Commit d34fff6

Browse files
committed
[css-overflow-3] Only count lines in the same BFC for max-lines
Closes #2429
1 parent 7efea4e commit d34fff6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

css-overflow-3/Overview.bs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,8 +520,9 @@ Limiting Visible Lines: the 'max-lines' property</h2>
520520
is forced after its <var>N</var>th
521521
descendant <a>in-flow</a> <a>line box</a>,
522522
where <var>N</var> is the specified value of 'max-lines'.
523-
The contents of descendants that are <a>scroll containers</a>
524-
or that are not <a>block containers</a>
523+
Only lines boxes in the same <a>Block Formatting Context</a>
524+
are counted:
525+
the contents of descendants that establish <a>independent formatting contexts</a>
525526
are skipped over while counting line boxes.
526527

527528
If fewer than <var>N</var> line boxes exist,

0 commit comments

Comments
 (0)