Chromium Code Reviews
DescriptionFix line wrappiing when break-word/break-all and float with 100% width
This patch changes the line breaker to rewindToMidWordBreak() after it
computes fitBelowFloats().
rewindToMidWordBreak() uses LineWidth::availableWidth(), which
fitBelowFloats() may change if floats fill the whole line and the start
of the line is pushed down below the floats.
BUG=603679
Committed: https://crrev.com/a4e4eb3b4334905bc874dea2264b450f029fb605
Cr-Commit-Position: refs/heads/master@{#388996}
Patch Set 1 #Patch Set 2 : Fix #Patch Set 3 : Add test #Patch Set 4 : Add log div to the test #
Messages
Total messages: 11 (6 generated)
|
||||||||||||||||||||||||||||