4 /* Base form of the rule: */
11 if (window
.testRunner
)
12 testRunner
.dumpAsText();
14 if (document
.getElementById("result").firstChild
.style
.fontSize
=== document
.getElementById("expected").firstChild
.style
.fontSize
)
15 document
.getElementById("message").firstChild
.data
= "SUCCESS";
17 document
.getElementById("message").firstChild
.data
= "FAILURE";
24 <body onload=
"runTest()">
26 <p>Test parsing of CSS curly brackets block
</p>
28 <p id=
"message">TEST DID NOT COMPLETE
</p>
30 <p>Rules from the stylesheet:
</p>
33 <p style=
"{font-size: 16px;}">Font size is
16px.
</p>
37 <p>Expected result:
</p>
40 <p style=
"font-size: 16px;">Font size is
16px.
</p>