diff options
Diffstat (limited to 'layout/reftests/bugs/1315632-1.html')
-rw-r--r-- | layout/reftests/bugs/1315632-1.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1315632-1.html b/layout/reftests/bugs/1315632-1.html new file mode 100644 index 0000000000..c69699b35a --- /dev/null +++ b/layout/reftests/bugs/1315632-1.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<style> +.x { position: absolute; color: red; } +.y { color: green; } +</style> +<div class=x>hello</div> +<script> +document.body.offsetHeight; +document.querySelector(".x").className = "y"; +document.body.offsetHeight; +</script> |