<!DOCTYPE html>
<html>
<style>
#test {
    -webkit-text-combine: horizontal;
    -webkit-writing-mode: vertical-rl;
    height: 0px;
}
#test::first-line {
    color: black;
}
</style>
This test passes if it does not CRASH.
<span id="test">'''
</span>
<script>
document.documentElement.offsetTop;
test.innerText = '';
if (window.testRunner)
    testRunner.dumpAsText();
</script>
</html>
