blob: bbf782e293ca9c2401002d7c88ec7cca0e441116 [file] [log] [blame]
<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>