Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / pendingStylesheetFontSize.html
blobc00075b3ae0e1995743665f718b73e94a9f588f9
1 <html>
2 <head>
3 <style type="text/css">
4 @import "pretty.css";
5 </style>
6 </head>
8 <body>
9 <div id="div">FAILED: This test fails if the font-size unresolved or incorrect.</div>
11 <script type="text/javascript">
12 var elem = document.getElementById("div");
13 var style = document.defaultView.getComputedStyle(elem, null);
14 var fontSize = style.getPropertyValue("font-size");
15 elem.style.fontSize = fontSize;
17 if (fontSize == "16px")
18 elem.innerHTML = "SUCCEEDED! This test passes if the font-size is non-zero and is correctly 16px.";
19 </script>
20 </body>
21 </html>