summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/1299736-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/1299736-1.html')
-rw-r--r--layout/base/crashtests/1299736-1.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/base/crashtests/1299736-1.html b/layout/base/crashtests/1299736-1.html
new file mode 100644
index 0000000000..078a120378
--- /dev/null
+++ b/layout/base/crashtests/1299736-1.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML>
+<title>Testcase, bug 1299736</title>
+
+<div id="A" style="transform: translateX(50px)">
+ <div id="B">
+ <div id="C" style="position: fixed">
+ </div>
+ </div>
+</div>
+
+<script>
+ document.getElementById("C").offsetLeft; // flush
+ document.getElementById("B").style.transform = "translateX(50px)";
+ document.getElementById("A").style.transform = "";
+</script>