Chromium Code Reviews
DescriptionMake sure calling moveParagaph() with proper parameters in CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary()
This patch changes CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary()
to calculate start and end positions of paragraph to move before calling
moveParagraph(), because inserting paragraph element at |upstream| can change
start and end positions represented by |VisiblePosition|.
This patch is similar to http://crrev.com/311593003, for
InsertListCommand::listifyParagraph().
BUG=325222, 351291
TEST=LayoutTests/editing/execCommand/apply-style-empty-paragraph-start-crash.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175523
Patch Set 1 #
Total comments: 2
Patch Set 2 : 2014-06-05T10:29:01 #
Messages
Total messages: 6 (0 generated)
|
|||||||||||||||||||||||||||||||||||||