1 <html xmlns=
"http://www.w3.org/1999/xhtml">
4 if (window
.layoutTestController
)
5 layoutTestController
.dumpAsText();
9 // This shouldn't be known since we haven't parsed that far yet.
10 var d
= document
.getElementById('div1');
18 <script src=
"resources/xhtml-scripts.js"/>
21 This tests that parsing stops when a script is encountered in an XML document. Parsing resumes when the script has finished executing.
22 <div id=
"result">FAILURE
</div>
26 document
.getElementById('result').firstChild
.nodeValue
= 'SUCCESS';