commit | 3f6836d02c1cc98aec47ae8c1ff1e64522290403 | [log] [tgz] |
---|---|---|
author | tkent <tkent@chromium.org> | Wed Jul 06 05:21:40 2016 |
committer | Commit bot <commit-bot@chromium.org> | Wed Jul 06 05:23:12 2016 |
tree | aae1a5b476ad4dffff0e0de3cd78c72f82204868 | |
parent | cb9092d095295e44f0d636886ba9404ed218609c [diff] |
Fix 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 Review-Url: https://codereview.chromium.org/2125553002 Cr-Commit-Position: refs/heads/master@{#403853}