Bug 1507250 [wpt PR 14058] - Floats in a next fragmentainer may push lines down., a=testonly
☠☠ backed out by 46ad93280b06 ☠ ☠
authorMorten Stenshorne <mstensho@chromium.org>
Mon, 19 Nov 2018 18:45:20 +0000
changeset 503724 1e351d1c2022041dfaa89127de5c94a574a8955b
parent 503723 031385cb555895046e3fb6493d1a928c5ed5dd6b
child 503725 6a730fb5a7e4ee98c0bae520320985ee607cc5de
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1507250, 14058, 902762, 1335580, 608414
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
testing/web-platform/tests/css/css-break/line-after-unbreakable-float-after-padding-ref.html
testing/web-platform/tests/css/css-break/line-after-unbreakable-float-after-padding.html
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-break/line-after-unbreakable-float-after-padding-ref.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
+<p>The word "PASS" should be seen below.</p>
+<div style="margin-left:2ch; font-family:monospace; line-height:50px;">
+  <div style="float:left;">PA</div>
+  <div style="float:left;">SS</div>
+</div>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-break/line-after-unbreakable-float-after-padding.html
@@ -0,0 +1,11 @@
+<!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>