summaryrefslogtreecommitdiffstats
path: root/layout/reftests/display-list/1551053-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/display-list/1551053-1.html')
-rw-r--r--layout/reftests/display-list/1551053-1.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/layout/reftests/display-list/1551053-1.html b/layout/reftests/display-list/1551053-1.html
new file mode 100644
index 0000000000..700d5ba1d7
--- /dev/null
+++ b/layout/reftests/display-list/1551053-1.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=utf-8">
+<style>
+.will-merge {
+ opacity: 0.5;
+}
+</style>
+</head>
+
+<body>
+<span id="foo">foo</span>
+<span class="will-merge">bar<br>baz</span>
+<span>qux</span>
+<script type="text/javascript">
+function doTest() {
+ var e = document.getElementById("foo");
+ e.parentNode.removeChild(e);
+ document.documentElement.removeAttribute("class");
+}
+
+window.addEventListener("MozReftestInvalidate", doTest);
+setTimeout(doTest, 5000);
+</script>
+</body>
+</html>