diff options
Diffstat (limited to '')
-rw-r--r-- | layout/reftests/bugs/960277-1.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/bugs/960277-1.html b/layout/reftests/bugs/960277-1.html new file mode 100644 index 0000000000..14ec621353 --- /dev/null +++ b/layout/reftests/bugs/960277-1.html @@ -0,0 +1,14 @@ +<!DOCTYPE HTML> +<style> +#d { overflow:scroll; width:200px; height:200px; background:yellow; } +#d2 { right:0; width:100px; height:100px; background:purple; } +</style> +<div id="d"> + <div id="d2"></div> +</div> +<script> +d.getBoundingClientRect(); +d.style.transform = "translateX(100px)"; +d.getBoundingClientRect(); +d2.style.position = "absolute"; +</script> |