DescriptionDuring deletion, we make style and link elements to direct child of editable root in DeleteSelectionCommand::makeStylingElementsDirectChildrenOfEditableRootToPreventStyleLoss().
Although, if style and link elements don't have root editable element, e.g. inside contentnEditable="false", appendNode() refers null pointer.
This patch changes to avoid above situation.
BUG=177470
R=ojan@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=150296
Patch Set 1 : 2013-05-13T16:49 #
Total comments: 4
Patch Set 2 : 2013-05-14T12:59 #
Total comments: 2
Patch Set 3 : 2013-05-14T15:16 #
Messages
Total messages: 6 (0 generated)
|