| <!-- If you can see this this test has failed--> |
| <page xmlns:xhtml="http://www.w3.org/1999/xhtml"> |
| <header>This tests that xml viewer is not used when there is a tag in XHTML namespace.</header> |
| <FAIL/> |
| <xhtml:div style="color:green" id="green">This should be green.</xhtml:div> |
| <xhtml:div id="success"></xhtml:div> |
| |
| <xhtml:script type="text/javascript"> |
| <![CDATA[ |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| |
| if (document.getElementById("green").style.color == "green") |
| document.getElementById('success').textContent = "SUCCESS"; |
| ]]> |
| </xhtml:script> |
| </page> |