DescriptionRestore a collapsed leading space of text used for line break
When a text is wrapped during layout, the leading space of the
text can be collapsed and a line break is inserted instead of
the space. In this case, we need to restore the collapsed space
when we copy the text.
This CL can handle the following case:
<div style="width: 2em;"><b><i>foo</i></b> bar</div>
BUG=318925
TEST=editing/pasteboard/restore-collapsed-space-for-copy.html
Committed: https://crrev.com/362b0c753edcf2e994de8ec82d9000f18e2ed284
Cr-Commit-Position: refs/heads/master@{#417155}
Patch Set 1 #Patch Set 2 : Fix test fails #Patch Set 3 : Make fast/text/output-isolate-at-end-of-line-crash.html pass #Patch Set 4 : Refactoring #
Messages
Total messages: 22 (17 generated)
|