DescriptionMake ApplyBlockElementCommand not to modify uneditable element
The issue 515249 is caused by calling |lastPositionInNode()| with null pointer
which is result of |SplitTextCommand| with uneditable text node.
This patch avoid this situation by making |ApplyBlockElementCommand| not to
modify uneditable element in |rangeForParagraphSplittingTextNodesIfNeeded()|
member function where we split text node.
BUG=515249
TEST=LayoutTests/editing/execCommand/format-block-uneditable-crash.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200238
Patch Set 1 : 2015-08-10T14:45:18 #
Messages
Total messages: 6 (2 generated)
|