1 <?xml version=
"1.0" encoding=
"ISO-8859-1"?>
2 <html xmlns=
"http://www.w3.org/1999/xhtml">
4 <div id=
"description">This test checks to see if setting innerHTML to a single non-breaking space works.
</div>
5 <div id=
"test" style=
"display:none"></div>
6 <div id=
"console"></div>
10 testRunner.dumpAsText();
12 function log(message) {
13 var console = document.getElementById(
"console");
14 console.appendChild(document.createTextNode(message));
15 console.appendChild(document.createElement('br'));
19 var testElement = document.getElementById(
"test");
21 testElement.innerHTML = html;
23 log(
"FAIL, exception thrown: " + e);
26 if (html == testElement.innerHTML)
29 log(
"FAIL, expected: " + html +
" actual: " + testElement.innerHTML);