<head>
    <script>
        if (window.testRunner)
            testRunner.dumpAsText();
    </script>
    <style>
        #target { font: 20px fantasy; }
        #target { font-family: sans-serif; }
        #target { font-size: 40px; }
        #target { font-style: italic; }
        #target { font-variant: small-caps; }
        #target { font-weight: 900; }
        #target { text-rendering: optimizelegibility; }
        #target { -webkit-font-smoothing: none; }
        #target { zoom: 2; }
    </style>
</head>
<body>
    <p>
        Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=41585">https://bugs.webkit.org/show_bug.cgi?id=41585</a>
        Reproducible crash with Optimize Legibility extension</i>.
    </p>
    <p>
        No crash means test passed.
    </p>
    <div id="target" style="text-indent: 2ex;"></div>
</body>
