gecko-dev/layout/reftests/columns/break-avoid-line-position-1-ref.html
L. David Baron e094153c1e Bug 1308876 - Don't continue reflow after deciding we need to try again due to page-break-inside:avoid. r=mats
The primary patch in this bug causes fewer dirty reflows, which leads to lines
being out-of-date for the reason described in the comment.  This causes
incorrect layout of some references sections on wikipedia, for which a
simplified testcase is included.

This bug was not caught by anything in our test suite, but I noticed it
while browsing wikipedia (since I use a build that has my patches in it
for my regular browsing).

MozReview-Commit-ID: 4hTQpGS2pZH
2017-07-12 19:37:12 -07:00

22 lines
753 B
HTML

<!DOCTYPE html>
<html lang="en" dir="ltr">
<meta charset="UTF-8"/>
<title>Wikipedia References Multicol Bug</title>
<style>
html { overflow: hidden }
div { width: 15em; margin-right: 2em; float: left; }
p { margin: 0 }
</style>
<div>
<p>abcdefghijkl0000000000 abcdefghijkl1111111111 abcdefghijkl2222222222</p>
<p>abcdefghijkl0000000000 abcdefghijkl1111111111 abcdefghijkl2222222222 abcdefghijkl3333333333</p>
<p>abcdefghijkl0000000000 abcdefghijkl1111111111 abcdefghijkl2222222222</p>
</div>
<div>
<p>abcdefghijkl0000000000 abcdefghijkl1111111111 abcdefghijkl2222222222 abcdefghijkl3333333333</p>
<p>abcdefghijkl0000000000 abcdefghijkl1111111111 abcdefghijkl2222222222</p>
<p>abcdefghijkl0000000000 abcdefghijkl1111111111</p>
</div>