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.
Some other commands also breed elements...
Sorry, the repro was wrong... But it actually removes Shadow DOM. funny.
I bed this is caused by rendererIsEditable(). I'll investigate it.
Hmm... I could not reproduce this... Let me mark this as invalid for now. If I could reproduce this, let me reopen it.