gecko-dev/testing/web-platform/tests/css/css-break/line-after-unbreakable-float-after-padding.html
Morten Stenshorne a8d67c9e8f Bug 1507250 [wpt PR 14058] - Floats in a next fragmentainer may push lines down., a=testonly
Automatic update from web-platform-testsFloats in a next fragmentainer may push lines down.

We cannot assume that when we push a line to the next fragmentainer
(because it doesn't fit in the current one), the line is going to fit
there. If the next fragmentainer has a float that nothing fits beside
and the float is too tall to fit the line below it, we need to jump to
yet another fragmentainer in order to find room for the line.

Bug: 902762
Change-Id: Ied14694ed1ad4fc25d28527edd1ca7389f00664c
Reviewed-on: https://chromium-review.googlesource.com/c/1335580
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#608414}

--

wpt-commits: a218e2f1678badf75722fd444524d98cd5996b3f
wpt-pr: 14058
2018-11-21 13:59:07 +00:00

11 lines
575 B
HTML

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-break-3/#unforced-breaks">
<link rel="match" href="line-after-unbreakable-float-after-padding-ref.html">
<p>The word "PASS" should be seen below.</p>
<div style="columns:3; column-gap:0; column-fill:auto; font-family:monospace; line-height:50px; width:6ch; height:101px; orphans:1; widows:1;">
<div style="padding-top:100px;">
<div style="float:left; break-inside:avoid; width:100%; height:75px;">PA</div>
SS
</div>
</div>