Repository navigation
Commit 4882c7a
[line-clamp] ASSERT in RenderTreeNeedsLayoutChecker when all inline content is after the clamp point
<div style="line-clamp: 1">Line 1<div><span style="display: inline-block"></span>Line 2</div></div>
The inner div's inline content all comes after the clamp point, so inline layout discards it without building a
single line and returns no layout result. Without a result, the integration does not know the content was
discarded and leaves the inline-block needing layout. Check the line-clamp budget when there is no result.
WebKit-Bug: https://bugs.webkit.org/show_bug.cgi?id=326198
WebKit-Canonical-Link: https://commits.webkit.org/322753@main1 parent 8cef509 commit 4882c7a
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments