Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / parsing-css-block.html
blob238ac6d379d6e200680f6b8801d5e46d7edb7f8a
1 <head>
2 <style>
4 /* Base form of the rule: */
5 </style>
7 <script>
9 function runTest()
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";
16 else
17 document.getElementById("message").firstChild.data = "FAILURE";
20 </script>
22 </head>
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>
32 <pre id="result">
33 <p style="{font-size: 16px;}">Font size is 16px.</p>
35 </pre>
37 <p>Expected result:</p>
39 <pre id="expected">
40 <p style="font-size: 16px;">Font size is 16px.</p>
42 </pre>
44 <script>
46 </script>
47 </body>