<!DOCTYPE html>
<html>
    <head>
        <style>
            .asdf {
                background-color: green;
            }
        </style>
    </head>
    <body style="-webkit-writing-mode: vertical-rl; font-size: 320px;">
        <span id="w" style="-webkit-text-combine: horizontal;">39</span>
		<script>
            if (window.testRunner)
                testRunner.waitUntilDone();
            window.setTimeout(function() {
                document.getElementById("w").className = "asdf";
                if (window.testRunner)
                    testRunner.notifyDone();
            }, 0);
        </script>
    </body>
</html>
