blob: b72a2235aaeaa98aa10c9c349b3c91115abaf5c3 [file] [log] [blame]
<style>
* { counter-reset: c; }
ol { display: contents; }
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
onload = function fun() {
Q.style.setProperty("counter-increment", "c");
}
</script>
<body>
<p>This tests an element with CSS counter having a sibling with display: contents.</p>
<p>The test passes if WebKit doesn't crash or hit an assertion.</p>
</body>
<select></select><ol><time></ol><q id="Q"></q>