DescriptionFix an assertion failure in HTMLTextAreaElement::subtreeHasChanged.
Selection.deleteFromDocument() leaves an empty Text node in innerEditor of
TEXTAREA element, and InsertLineBreakCommand inserted a placeholder BR element
*before* the empty Text node. It broke the assumption of TEXTAREA element.
This CL makes sure the BR element is appended at the last.
BUG=623547
Committed: https://crrev.com/3f6836d02c1cc98aec47ae8c1ff1e64522290403
Cr-Commit-Position: refs/heads/master@{#403853}
Patch Set 1 #
Total comments: 3
Messages
Total messages: 11 (4 generated)
|