gecko-dev/editor/reftests/911201.html
Ehsan Akhgari 19a23b3d8b Bug 911201 - Do not create a bogus br node for editable areas containing non-editable block elements; r=roc
We no longer rely on the bogus br node for positioning the caret.
If an editable region has a non-editable block element, we can
probably rely on the block element to reserve the vertical
height, so in those cases we should be able to get away without
a bogus br node.
2014-11-27 21:06:44 -05:00

3 lines
119 B
HTML

<!DOCTYPE html>
<body contenteditable onload="document.body.innerHTML='<div contenteditable=false>foo</div>';"></body>