fune/testing/web-platform/tests/css/css-multicol/float-with-line-after-spanner-ref.html
Morten Stenshorne d6bfd691a2 Bug 1523562 [wpt PR 14998] - Better fragmentation inside floats interrupted by spanners., a=testonly
Automatic update from web-platform-tests
Better fragmentation inside floats interrupted by spanners.

The current layout engine doesn't really handle this well, but we'll now
look ahead for sibling column sets if the flow thread coordinate isn't
contained by the current one. If we do this during layout, we then risk
matching against flow thread boundaries from the previous layout pass,
but that's really the best we can do.

Also corrected a flow thread coordinate boundary check.
page_boundary_rule == kAssociateWithFormerPage could actually hit the
wrong column set because of an off-by-one comparison meant for
page_boundary_rule == kAssociateWithLatterPage.

Bug: 914912
Change-Id: I39a170da21e640154de141f30e363baa9f7c20ec
Reviewed-on: https://chromium-review.googlesource.com/c/1425701
Commit-Queue: Emil A Eklund <eae@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#624914}

--

wpt-commits: ca8756813e375d9743479b5f16a4066bbe034b05
wpt-pr: 14998
2019-02-07 21:50:52 +00:00

7 lines
320 B
HTML

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<p>The word 'PASS' should be seen below, inside a blue square.</p>
<div style="font-size:50px; width:225px; height:225px; line-height:60px; color:white; background:blue;">
<div style="height:165px;"></div>
PASS
</div>