fune/layout/painting/crashtests
Ting-Yu Lin 46965e75de Bug 847368 - Reset floating first letter's reflow status before checking break-inside:avoid. r=emilio
As the comment in the moved hunk said, a floating first letter frame's
incomplete status means that there is more content to be reflowed on the line.
If the block containing the floating first letter has `break-inside:avoid`
style, the old code would call `SetInlineLineBreakBeforeAndReset()`, and the
block's parent frame would misinterpret the status as "this block needs to be
push to the next fragment" even if we are *not* in a paginated environment.
Hence the assertion "Shouldn't be incomplete if availableBSize is
UNCONSTRAINED."

To fix this bug, we can reset the float's reflow status for a first letter frame
before checking `ShouldAvoidBreakInside`.

Differential Revision: https://phabricator.services.mozilla.com/D149712
2022-06-20 23:04:50 +00:00
..
1402183-1.html
1405881-1.html
1407470-1.html
1413073-1.html
1413073-2.html
1418177-1.html
1418722-1.html
1419917.html
1425271-1.html
1428906-1.html
1430589-1.html
1454105-1.html
1455944-1.html
1458145.html
1465305-1.html
1468124-1.html
1469472.html
1477831-1.html
1504033.html
1514544-1.html
1547420-1.html
1549909.html
1551389-1.html
1555819-1.html
1574392.html
1589800-1.html
1714584-1.html
1717655-1.html
1763006-1.html
crashtests.list Bug 847368 - Reset floating first letter's reflow status before checking break-inside:avoid. r=emilio 2022-06-20 23:04:50 +00:00