valid-standard-font.html 573 Bytes
Newer Older
1 2 3 4 5
<html>
<body style="font-family:-webkit-body">
<!-- WebKit assumes that -webkit-body is a valid font. The font-family:inherit will crash on load if it isn't -->
<input style="font-family:inherit"/>
<script>
6 7 8
    if (window.testRunner) {
        testRunner.dumpAsText();
        testRunner.waitUntilDone();
9 10 11 12
    }
    window.setTimeout(runTest, 0);
    function runTest() {
        document.getElementById("result").innerText = "PASS";
13 14
        if (window.testRunner) {
            testRunner.notifyDone();
15 16 17 18 19 20
        }
    }
</script>
<div id="result">FAIL</div>
</body>
</html>