summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css-generated-content/after-with-first-letter-float-crash.html
blob: f11ce13e6a43b5be96e9ee2c40c2c1388fdb873d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<html>
    <body>
        <style type="text/css">
            div::first-letter { float: right; content: "AB" }
            div::after { display: table; content: "CD" }
        </style>
        <div></div>
        PASS, if the script does not cause a crash or ASSERT failure
        <script>
            function runTest() {
                document.body.offsetTop;
                document.body.style.color = "blue";
                if (window.testRunner)
                    testRunner.dumpAsText();
            }
            window.onload = runTest;
        </script>
    </body>
</html>