2 <html class=
"reftest-wait">
5 <title>Contenteditable Selection Test Case
</title>
8 var editable
= document
.getElementById("editable");
9 var text
= document
.getElementById("text");
13 setTimeout(function () {
14 editable
.setAttribute("contenteditable", "false");
16 setTimeout(function () {
17 document
.body
.offsetHeight
;
18 document
.documentElement
.removeAttribute('class');
22 document
.addEventListener('MozReftestInvalidate', runTests
);
26 <div id=
"editable" contenteditable=
"true" tabindex=
"0" spellcheck=
"false">This is a contenteditable.
</div>
27 <div id=
"text" tabindex=
"0">This is focusable text
</div>