diff options
Diffstat (limited to '')
-rw-r--r-- | layout/generic/crashtests/786740-1.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/layout/generic/crashtests/786740-1.html b/layout/generic/crashtests/786740-1.html new file mode 100644 index 0000000000..22a6488c77 --- /dev/null +++ b/layout/generic/crashtests/786740-1.html @@ -0,0 +1,31 @@ +<!DOCTYPE HTML> +<html class="reftest-wait"> +<head> +<style> +#d { + transition:opacity 1s; +} +#p { + position:absolute; +} +</style> +</head> +<body> +<div id="d"> + Hello + <span id="s"><div id="p">Kitty</div></span> +</div> +<script> +var d = document.getElementById("d"); +d.getBoundingClientRect(); +d.style.opacity = 0.3; +window.addEventListener("MozReftestInvalidate", + function() { + setTimeout(function() { + document.body.removeChild(d); + document.documentElement.removeAttribute("class"); + }, 50); + }); +</script> +</body> +</html> |