1 <?xml-stylesheet href=
"a" type=
"text/css"?>
2 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml">
7 This text should be styled green.
10 if (window
.testRunner
)
11 testRunner
.dumpAsText();
13 if (!document
.firstChild
.data
.match(/href="a"/))
14 alert("Please don't rename the stylesheet - the test needs its URL to be single character");
18 if (document
.firstChild
.sheet
.cssRules
.length
)
19 document
.getElementsByTagName("p")[0].innerHTML
+= " PASS.";