| /* Base form of the rule: */ |
| if (document.getElementById("result").firstChild.style.fontSize === document.getElementById("expected").firstChild.style.fontSize) |
| document.getElementById("message").firstChild.data = "SUCCESS"; |
| document.getElementById("message").firstChild.data = "FAILURE"; |
| <body onload="runTest()"> |
| <p>Test parsing of CSS curly brackets block</p> |
| <p id="message">TEST DID NOT COMPLETE</p> |
| <p>Rules from the stylesheet:</p> |
| <p style="{font-size: 16px;}">Font size is 16px.</p> |
| <p style="font-size: 16px;">Font size is 16px.</p> |