summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/ruby/add-text-to-block-ruby-with-after-pseudo-crash.html
blob: 8048d6d6d1215eff396238e2a7ee540260b3ab51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<style>
    ruby::after {
        display: block;
        content: "";
    }
    ruby {
        display: block;
    }
</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>