3 <style type=
"text/css">
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.";