summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1190635-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/1190635-1.html')
-rw-r--r--layout/reftests/bugs/1190635-1.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1190635-1.html b/layout/reftests/bugs/1190635-1.html
new file mode 100644
index 000000000..c215543df
--- /dev/null
+++ b/layout/reftests/bugs/1190635-1.html
@@ -0,0 +1,17 @@
+<!DOCTYPE HTML>
+<html class="reftest-wait">
+<body style="width:500px; border:2px solid black;">
+<div style="width:300px; height:300px; background:yellow; float:left;"></div>
+<div style="width:300px; height:400px;">
+ <span style="display:inline-block; outline:3px solid cyan">
+ <span style="display:inline-block; width:0; height:0; outline:5px solid red" id="d"></span>
+ </span>
+</div>
+<script>
+window.addEventListener("MozReftestInvalidate", function() {
+ d.style.width = "300px";
+ d.style.height = "100px";
+ document.documentElement.removeAttribute("class");
+});
+</script>
+</body>