1 <?xml-stylesheet href=
"resources/small.css" title=
"style" type=
"text/css"?>
2 <html xmlns=
"http://www.w3.org/1999/xhtml" xml:
lang=
"en">
3 <div id=
"result">FAIL
</div>
4 <script type=
"text/javascript">
5 if (window
.testRunner
) {
6 testRunner
.dumpAsText();
7 testRunner
.waitUntilDone();
10 document
.documentElement
.appendChild(document
.styleSheets
[0].ownerNode
);
11 // Note: xml stylesheet is only valid when its parent is the document
12 if (document
.styleSheets
.length
== 0)
13 document
.getElementById('result').innerText
= 'PASS';
14 if (window
.testRunner
)
15 testRunner
.notifyDone();