blob: 377a2c24fc9ac7fe5cc477ccaa55302261f30d93 [file] [log] [blame]
<style>
.display-when-first-child { display: none; }
.display-when-first-child:first-child { display: block; }
</style>
<div id="test"></div>
<div class="display-when-first-child">PASS</div>
<script>
document.body.removeChild(test);
if (window.testRunner)
testRunner.dumpAsText();
</script>