summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/580160-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/580160-1.html')
-rw-r--r--layout/reftests/bugs/580160-1.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/layout/reftests/bugs/580160-1.html b/layout/reftests/bugs/580160-1.html
new file mode 100644
index 0000000000..1cc3213dc6
--- /dev/null
+++ b/layout/reftests/bugs/580160-1.html
@@ -0,0 +1,19 @@
+<!DOCTYPE HTML>
+<html class="reftest-wait">
+<head>
+<script src="forceloadplugin.js">
+</script>
+</head>
+<body onLoad="forceLoadPlugin('p', true)">
+<embed type="application/x-test" id="p"
+ style="position:fixed; width:200px; height:200px;"></embed>
+<script>
+var p = document.getElementById("p");
+function doTest() {
+ p.style.height = "400px";
+ document.documentElement.removeAttribute("class");
+}
+window.addEventListener("MozReftestInvalidate", doTest);
+</script>
+</body>
+</html>