Chromium Code Reviews
DescriptionEnsure before/after is within the editable in moveParagraphWithClones
When the selection starts at the beginning of the editable host and
execCommand "FormatBlock" is executed, moveParagraphWithClones computed
the before the selection crossing the editing boundaries. This resulted
in isEditablePosition() to fail, and aborted the editing operation.
This patch ensures before and after the selection to stay within the
editable host.
BUG=656866
Patch Set 1 #Patch Set 2 : Add test #Patch Set 3 : Rebaseline #
Total comments: 3
Messages
Total messages: 20 (11 generated)
|
|||||||||||||||||||||||||||||||||||||