gecko-dev/layout/reftests/bugs/1384065.html

15 строки
228 B
HTML

<!doctype html>
<style>
div {
display: none;
}
div::before {
content: "Should appear";
}
</style>
<div></div>
<script>
document.documentElement.offsetTop;
document.querySelector('div').style.display = "block";
</script>