blob: 000badc08e95fef1307a540dd09a1771b9feec5a [file] [log] [blame]
<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>
<div id="test" style="display:none"></div>
<div id="console"></div>
<script language="javascript">
if (window.testRunner)
window.testRunner.dumpAsText();
function log(message) {
var console = document.getElementById("console");
var li = document.createElement("li");
var pre = document.createElement("pre");
pre.appendChild(document.createTextNode(message));
li.appendChild(pre);
console.appendChild(li);
}
var html = "<BR /><br /><HR /><hr /><Br><dIv sTyLe=\"color:bluE;\"></dIv>";
var e = document.getElementById("test");
e.innerHTML = html;
log("Original: " + html);
log("Result: " + e.innerHTML);
</script>