Chromium Code Reviews
DescriptionMerge 2924: Fix break-all/word-break are applied to inline elements
This patch improves when properties that can break lines in the middle
of a word (word-break: break-all and break-word) are applied to inline
elements.
When no characters can fit but there is a break opportunity in previous
runs, the line should break at the opportunity.
Also this fix revealed that we have tests of element boundaries relying
on parent's style, and they pass only under certain conditions. This
was fixed to refer to the parent's style, as recently clarified in CSS
Text[1].
[1] https://github.com/w3c/csswg-drafts/issues/189
BUG=668399
Review-Url: https://codereview.chromium.org/2532393006
Cr-Commit-Position: refs/heads/master@{#435899}
(cherry picked from commit f2ba82966d78cccb307a6046606a616e27c1f0df)
Committed: https://chromium.googlesource.com/chromium/src/+/58e8ebffee4354ed11d2308a6dca6ea7cca6ace3
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||||||||||||||||||||