DescriptionDon't indent if selection is none.
ApplyBlockElementCommand::doApply() assumes selection to indent points non-null
position. However, there is a chance this assumption is false, e.g. HTML used
in "indent-button-crash.html".
This patch makes ApplyBlockElementCommand::doApply() to check whether assumption
is satisfied or not.
BUG=368133
TEST=LayoutTests/editing/execCommand/indent-button-crash.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174671
Patch Set 1 : 2014-05-20T05:00:38 #
Total comments: 8
Patch Set 2 : 2014-05-20T06:41:02 #Patch Set 3 : 2014-05-21T10:27:57 #
Messages
Total messages: 9 (0 generated)
|