chromium/third_party/blink/web_tests/fast/dynamic/first-child-display-none.html

<!DOCTYPE html>
<style>
p:first-child {
    display:none;
}
</style>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
</script>
<p>You should see the word 'PASS' below:</p>
<div id="container">
    <p>PASS</p>
</div>
<script>
container.offsetTop;
container.insertBefore(document.createElement("p"), container.querySelector("p"));
</script>