Chromium Code Reviews
DescriptionMake leadingWhitespacePosition() to respect "white-space" CSS property
This patch makes |leadingWhitespacePosition()|, which returns collapsible
whitespace position, to return null |Position| when a previous position of
specified position is in a element which preserves whitespaces, e.g.
"white-space:pre", "white-space:pre-word", etc.
Before this patch, |leadingWhitespacePosition()| uses only
|isCollapsibleWhitespace(UChar)| to check collapsible whitespace without
considering "white-space" CSS property.
BUG=598665
TESET=run_layout_test editing/execCommand/insert_paragraph/insert_paragraph_pre_crash.html
Committed: https://crrev.com/2063467918ab92fe1969fbd9a1b37f29c4661cc6
Cr-Commit-Position: refs/heads/master@{#384509}
Patch Set 1 #
Total comments: 2
Patch Set 2 : 2016-04-01T14:49:00 #
Messages
Total messages: 11 (4 generated)
|
|||||||||||||||||||||||||||||||||||||