7 /** Changes the result text font size. */
10 document
.getElementById("result").firstChild
.setAttribute("style","font-size: 16\\70\r\nx;");
12 if (window
.testRunner
)
13 testRunner
.dumpAsText();
15 if (document
.getElementById("result").firstChild
.style
.fontSize
=== document
.getElementById("expected").firstChild
.style
.fontSize
)
16 document
.getElementById("message").firstChild
.data
= "SUCCESS";
18 document
.getElementById("message").firstChild
.data
= "FAILURE";
25 <body onload=
"runTest()">
27 <p>Test parsing of CSS '\r\n' newline characters.
</p>
29 <p id=
"message">TEST DID NOT COMPLETE
</p>
31 <p>Rules from the stylesheet:
</p>
34 <p style=
"font-size: 12px;">Font size is
16px.
</p>
38 <p>Expected result:
</p>
41 <p style=
"font-size: 16px;">Font size is
16px.
</p>