<style>
    @font-face {
        font-family: family1;
        src: url(../../resources/Ahem.ttf);
        /* font-style: and font-weight: properties are not set. */
    }
</style>
<p>
    Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=34147">https://bugs.webkit.org/show_bug.cgi?id=34147</a> If @font-face does not provide an explicit italic/bold variant, regular is used</i>.
</p>
<p>Ahem regular:</p><p style="font-family: family1">Ahem regular</p>
<p>Ahem synthetic bold:</p><strong><p style="font-family: family1">Ahem synthetic bold</p></strong>
<p>Ahem synthetic italic:</p><i><p style="font-family: family1">Ahem synthetic italic</p></i>
<p>Ahem synthetic bold italic:</p><strong><i><p style="font-family: family1">Ahem synthetic bold italic</p></i></strong>
<script>
    if (window.testRunner) {
        testRunner.waitUntilDone();
        document.body.offsetTop;
        setTimeout(function() { testRunner.notifyDone(); }, 100);
    }
</script>
