summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css-generated-content/bug91547.html
blob: 97abcada72057980f663bdad81e23f73dbe5edbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<script>
if (window.testRunner) {
    testRunner.waitUntilDone();
    testRunner.dumpAsText();
}
onload = function() {
    if (location.hash != "#1") {
        location.hash = '#1';
        setTimeout(function(){ location.reload() }, 0);
    } else {
        // If you run this test in Safari you'll still see this text even if Webkit crashed
        // because Safari instantly reloads the page with the #1 url.
        document.body.appendChild(document.createTextNode('PASS: WebKit did not crash.'));
        if (window.testRunner)
            testRunner.notifyDone();
    }
}
</script>
<style>
    section::after {
        float: left;
        content: open-quote; 
    }
</style>

<section>
    <div></div>
    Should not crash.
</section>