mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
19a23b3d8b
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.
3 lines
119 B
HTML
3 lines
119 B
HTML
<!DOCTYPE html>
|
|
<body contenteditable onload="document.body.innerHTML='<div contenteditable=false>foo</div>';"></body>
|