summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/580160-1-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/580160-1-ref.html')
-rw-r--r--layout/reftests/bugs/580160-1-ref.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/reftests/bugs/580160-1-ref.html b/layout/reftests/bugs/580160-1-ref.html
new file mode 100644
index 000000000..5685dd582
--- /dev/null
+++ b/layout/reftests/bugs/580160-1-ref.html
@@ -0,0 +1,18 @@
+<!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="width:200px; height:400px;"></embed>
+<script>
+var p = document.getElementById("p");
+function doTest() {
+ document.documentElement.removeAttribute("class");
+}
+window.addEventListener("MozReftestInvalidate", doTest, false);
+</script>
+</body>
+</html>