1 <div id=
"description">This test checks to see if innerHTML is outputting in the proper case, i.e. all tags and methods lower-case.
</div>
3 <div id=
"test" style=
"display:none"></div>
5 <div id=
"console"></div>
7 <script language=
"javascript">
9 window
.testRunner
.dumpAsText();
11 function log(message
) {
12 var console
= document
.getElementById("console");
13 var li
= document
.createElement("li");
14 var pre
= document
.createElement("pre");
15 pre
.appendChild(document
.createTextNode(message
));
17 console
.appendChild(li
);
20 var html
= "<BR /><br /><HR /><hr /><Br><dIv sTyLe=\"color:bluE;\"></dIv>";
22 var e
= document
.getElementById("test");
25 log("Original: " + html
);
26 log("Result: " + e
.innerHTML
);