summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/dynamic/crash-generated-counter.html
blob: bbf782e293ca9c2401002d7c88ec7cca0e441116 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html>
    <body>
        <style>
            div:before
            {
                counter-reset: foobar;
                content: counter(foobar, upper-roman);
                display: block;
                overflow: hidden;
                width: 100;
                height: 100;
            }
        </style>
        Test for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=61411">61411</a>: ASSERTION FAILED: !m_layoutRoot->container() || !m_layoutRoot->container()->needsLayout() with generated content<br>
        Test passes if it does not crash.
        <script>
            if (window.testRunner)
                testRunner.dumpAsText();

            document.body.offsetTop;
        </script><div></div>
    </body>
</html>