<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>