summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/883568-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/883568-1.html')
-rw-r--r--layout/reftests/bugs/883568-1.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/layout/reftests/bugs/883568-1.html b/layout/reftests/bugs/883568-1.html
new file mode 100644
index 0000000000..e310442637
--- /dev/null
+++ b/layout/reftests/bugs/883568-1.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<head>
+<style>
+#wrapper {
+ overflow: hidden;
+}
+#testDiv1 {
+ width: 500px;
+ height: 100px;
+ position: relative;
+ overflow: hidden;
+}
+</style>
+<script>
+window.addEventListener("MozReftestInvalidate", function() {
+ testDiv1.style.left = "-500px";
+ testDiv1.style.transform = "translateX(500px)";
+ document.documentElement.removeAttribute("class");
+});
+</script>
+</head>
+<body>
+<div id="wrapper">
+ <div id="testDiv1" style="background:yellow;"></div>
+</div>
+</body>
+</html>