<html>
Test passes if it does not crash.
<style>
@font-face {
    font-family: inherit;
}

@font-face {
    font-family: initial;
}

@font-face {
    font-family: test;
    src: inherit;
}

@font-face {
    font-family: test;
    src: initial;
}

@font-face {
    font-family: test;
    src: local(Times);
    font-style: inherit;
}

@font-face {
    font-family: test;
    src: local(Times);
    font-style: initial;
}

@font-face {
    font-family: test;
    src: local(Times);
    font-weight: inherit;
}

@font-face {
    font-family: test;
    src: local(Times);
    font-weight: initial;
}

@font-face {
    font-family: test;
    src: local(Times);
    font-stretch: inherit;
}

@font-face {
    font-family: test;
    src: local(Times);
    font-stretch: initial;
}

@font-face {
    font-family: test;
    src: local(Times);
    unicode-range: inherit;
}

@font-face {
    font-family: test;
    src: local(Times);
    unicode-range: initial;
}

@font-face {
    font-family: test;
    src: local(Times);
    font-variant: inherit;
}

@font-face {
    font-family: test;
    src: local(Times);
    font-variant: initial;
}

@font-face {
    font-family: test;
    src: local(Times);
    -webkit-font-feature-settings: inherit;
}

@font-face {
    font-family: test;
    src: local(Times);
    -webkit-font-feature-settings: initial;
}
</style>
<script>
if (window.testRunner)
    testRunner.dumpAsText();

document.body.offsetTop;
</script>
</html>
