chromium/third_party/blink/web_tests/fast/ruby/add-text-to-block-ruby-with-after-pseudo-crash.html

<!DOCTYPE html>
<style>
    ruby::after {
        display: block;
        content: "";
    }
    ruby {
        display: block ruby;
    }
</style>

<script>
if (window.testRunner)
    testRunner.dumpAsText();

onload = function() {
    var ruby = document.createElement('ruby');
    document.body.appendChild(ruby);
    document.body.offsetTop;
    ruby.appendChild(document.createTextNode('Passed if this test did not crash or assert.'));
}
</script>