summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1475971-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/1475971-1.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1475971-1.html b/layout/reftests/bugs/1475971-1.html
new file mode 100644
index 0000000000..b3b5e681f2
--- /dev/null
+++ b/layout/reftests/bugs/1475971-1.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<style>
+div {
+ width: 200px;
+ height: 200px;
+}
+</style>
+
+<div style="position:fixed;">
+ <div style="transform:translateX(50px);">
+ <div id="resize" style="background-color:blue;">
+ </div>
+ </div>
+</div>
+
+<script>
+ function doTest() {
+ document.getElementById("resize").style.width = "300px";
+ document.documentElement.removeAttribute("class");
+ }
+ window.addEventListener("MozReftestInvalidate", doTest);
+</script>
+</html>