2 <html class=
"reftest-wait">
3 <body onload=
"setTimeout(doTest,0);">
5 <iframe id=
"edit" style=
"display:none;" src=
""></iframe>
8 var x
=document
.getElementById('edit');
10 x
.style
.display
='block';
11 x
.contentDocument
.body
.innerHTML
="This is a test";
12 x
.contentDocument
.designMode
='on';
13 x
.contentDocument
.execCommand("selectAll", false, "");
14 x
.contentDocument
.execCommand("bold", false, "");
15 x
.contentDocument
.execCommand("justifyCenter", false, "");
16 x
.contentWindow
.getSelection().removeAllRanges();
17 document
.documentElement
.className
= "";