blob: c00075b3ae0e1995743665f718b73e94a9f588f9 [file] [log] [blame]
<html>
<head>
<style type="text/css">
@import "pretty.css";
</style>
</head>
<body>
<div id="div">FAILED: This test fails if the font-size unresolved or incorrect.</div>
<script type="text/javascript">
var elem = document.getElementById("div");
var style = document.defaultView.getComputedStyle(elem, null);
var fontSize = style.getPropertyValue("font-size");
elem.style.fontSize = fontSize;
if (fontSize == "16px")
elem.innerHTML = "SUCCEEDED! This test passes if the font-size is non-zero and is correctly 16px.";
</script>
</body>
</html>