зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1855161 [wpt PR 42164] - May break before float, but still fit subsequent in-flow content., a=testonly
Automatic update from web-platform-tests May break before float, but still fit subsequent in-flow content. It is possible for a float to be pushed to the next fragmentainer, while still fitting subsequent in-flow content in the current fragmentainer. Therefore, keep looking for content inside a culled inline, even if we've found a float that belongs in a later fragmentainer. This is similar to how a float may be pushed below the current line if it doesn't fit beside it, while still laying out items that come after it DOM-tree-wise, on the same line. A float may be pushed to the next fragmentainer if it doesn't fit in the current one. But there may still be room for plenty of in-flow lines in the current fragmentainer. Bug: 1486411 Change-Id: Ic935dc9655d628ce33d2c5a0f20369ef5eba590f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4891619 Commit-Queue: Koji Ishii <kojii@chromium.org> Auto-Submit: Morten Stenshorne <mstensho@chromium.org> Reviewed-by: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/main@{#1201198} -- wpt-commits: f6b30e57b0af46515a6b2988873b1d30ec25eaee wpt-pr: 42164
This commit is contained in:
Родитель
92d9d2e93c
Коммит
4bead4f812
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
||||
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1486411">
|
||||
<div style="columns:2; column-fill:auto; height:100px; orphans:1; widows:1;">
|
||||
<br>
|
||||
<span>
|
||||
<div style="float:left; break-inside:avoid; width:100%; height:200px;"></div>
|
||||
x
|
||||
</span>
|
||||
</div>
|
Загрузка…
Ссылка в новой задаче