Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / parsing-css-wrap.html
blob18a4efb595af3a8228fa9c500b96127f4b9f2f16
1 <head>
2 <style>
3 </style>
5 <script>
7 /** Changes the result text font size. */
8 function runTest()
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";
17 else
18 document.getElementById("message").firstChild.data = "FAILURE";
21 </script>
23 </head>
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>
33 <pre id="result">
34 <p style="font-size: 12px;">Font size is 16px.</p>
36 </pre>
38 <p>Expected result:</p>
40 <pre id="expected">
41 <p style="font-size: 16px;">Font size is 16px.</p>
43 </pre>
45 <script>
47 </script>
48 </body>