diff options
Diffstat (limited to 'layout/style/crashtests/822766-1.html')
-rw-r--r-- | layout/style/crashtests/822766-1.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/layout/style/crashtests/822766-1.html b/layout/style/crashtests/822766-1.html new file mode 100644 index 0000000000..77bb1e25a8 --- /dev/null +++ b/layout/style/crashtests/822766-1.html @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<html> +<head> +<style> + +@-moz-keyframes togreen { + 100% { + color: green; + } +} + +.a:after { + animation-name: togreen; + animation-duration: 10s; +} + +</style> +<script> + +function boom() +{ + document.documentElement.setAttribute("class", "a"); + document.documentElement.offsetHeight; + document.documentElement.appendChild(document.createElement("span")); + document.documentElement.removeAttribute("class"); +} + +</script> +</head> +<body onload="boom();"></body> +</html> |