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
Review URL: https://codereview.chromium.org/1900393002
Cr-Commit-Position: refs/heads/master@{#388996}
(cherry picked from commit a4e4eb3b4334905bc874dea2264b450f029fb605)
Committed: https://chromium.googlesource.com/chromium/src/+/e583672da5cd5b223702b74e65c823a66c629f6c
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
||||||||||||||||||||||||||||