diff options
Diffstat (limited to 'layout/reftests/bugs/670467-2.html')
-rw-r--r-- | layout/reftests/bugs/670467-2.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/layout/reftests/bugs/670467-2.html b/layout/reftests/bugs/670467-2.html new file mode 100644 index 000000000..7d40b5f42 --- /dev/null +++ b/layout/reftests/bugs/670467-2.html @@ -0,0 +1,11 @@ +<!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> |