tizen beta release
[framework/web/webkit-efl.git] / LayoutTests / fast / css / pendingStylesheetFontSize.html
1 <html>
2 <head>
3 <style type="text/css">
4      @import "pretty.css";
5 </style>
6 </head>
7
8 <body>
9 <div id="div">FAILED: This test fails if the font-size unresolved or incorrect.</div>
10
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;
16
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>