<!DOCTYPE html>
<html>
    <head>
        <title>Tests overflow handling in ruby</title>
        <style>
            ruby, q, sup {
                padding-left: 56477874%;
            }
        </style>
    </head>
    <body>
        <ruby>
            <q></q>
            <wbr><sup></sup>
        </ruby>
        <p>
            Test passes if it does not crash.
        </p>
        <script>
            if (window.testRunner)
                testRunner.dumpAsText();
        </script>
    </body>
</html>
