Create a contenteditable div and set the contents to: <span>hello</span> Place the cursor at the start of the span and press enter. The div now contains: <span><div><span><br></span></div>hello</span> There shouldn't be a block <div> element inside an inline <span> element. See comments 10 and 11 on bug 62621 for more details.
Created attachment 97377 [details] Patch
Comment on attachment 97377 [details] Patch Clearing flags on attachment: 97377 Committed r89145: <http://trac.webkit.org/changeset/89145>
All reviewed patches have been landed. Closing bug.