gecko/layout/reftests/bugs/670467-2.html

12 lines
360 B
HTML

<!DOCTYPE html>
<style>
body::first-line { color: purple; }
</style>
<body style="width: 0; color: red"><span id="x" style="visibility: hidden">This is some text</span>
<script type="text/javascript">
document.body.offsetWidth;
document.getElementById("x").style.visibility = "visible";
document.body.style.color = "green";
</script>
</body>