Chromium Code Reviews
DescriptionAbort CompositeEditCommand::moveParagraphs if destination is inside moving range
This patch makes CompositeEditCommand::moveParagraphs abort in the above
mentioned case, because there is no way to move the contents to a destination
inside itself.
There might be a deeper cause of passing such invalid parameter combination
to the function, which is not covered by this patch.
BUG=585048
TEST=webkit_unit_tests --gtest_filter=TypingCommandTest.insertLineBreakWithIllFormedHTML
Committed: https://crrev.com/3e1ec97972c1e09d8e472aad4cf225d1ffc5dfef
Cr-Commit-Position: refs/heads/master@{#434844}
Patch Set 1 #
Messages
Total messages: 17 (11 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||