summaryrefslogtreecommitdiffstats
path: root/layout/reftests/display-list/1461231-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/display-list/1461231-1.html')
-rw-r--r--layout/reftests/display-list/1461231-1.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/display-list/1461231-1.html b/layout/reftests/display-list/1461231-1.html
new file mode 100644
index 0000000000..3dfb1698ac
--- /dev/null
+++ b/layout/reftests/display-list/1461231-1.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html lang="en" class="reftest-wait">
+<head>
+<style>
+ #test {
+ background: #050;
+ position: fixed;
+ width: 200px;
+ height: 200px;
+ }
+</style>
+</head>
+<body>
+<p id="test" onclick="this.remove()"></p>
+</body>
+<script>
+ function doTest() {
+ document.getElementById("test").remove();
+ document.documentElement.removeAttribute('class');
+ }
+ window.addEventListener("MozReftestInvalidate", doTest);
+</script>
+</html>