RESOLVED INVALID 88486
[Shadow][Editing] document.execCommand('Indent') in Shadow DOM causes element breeding
https://bugs.webkit.org/show_bug.cgi?id=88486
Summary [Shadow][Editing] document.execCommand('Indent') in Shadow DOM causes element...
Shinya Kawanaka
Reported 2012-06-06 19:52:03 PDT
When HTML is like: <div id="host" contenteditable></div> If Shadow DOM for host is like: <div>BEFORE</div> <content></content> <div>AFTER</div> and do document.execCommand('Indent') in BEFORE. Then the number of AFTER element increase... Funny.
Attachments
Shinya Kawanaka
Comment 1 2012-06-06 19:54:13 PDT
Some other commands also breed elements...
Shinya Kawanaka
Comment 2 2012-06-13 19:40:43 PDT
Sorry, the repro was wrong... But it actually removes Shadow DOM. funny.
Shinya Kawanaka
Comment 3 2012-06-25 15:40:48 PDT
I bed this is caused by rendererIsEditable(). I'll investigate it.
Shinya Kawanaka
Comment 4 2012-06-26 11:12:16 PDT
Hmm... I could not reproduce this... Let me mark this as invalid for now. If I could reproduce this, let me reopen it.
Note You need to log in before you can comment on or make changes to this bug.