summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/1039454-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/crashtests/1039454-1.html')
-rw-r--r--layout/generic/crashtests/1039454-1.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/generic/crashtests/1039454-1.html b/layout/generic/crashtests/1039454-1.html
new file mode 100644
index 0000000000..b049cbfa31
--- /dev/null
+++ b/layout/generic/crashtests/1039454-1.html
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML>
+<body>
+<div id="outer" style="width:200px; height:200px; background:blue; transform:translateY(10px)">
+ <div id="inner" style="width:200px; height:100px; background:yellow; transform:translateX(100px)">
+ </div>
+</div>
+<script>
+console.log(outer.getBoundingClientRect());
+outer.style.width = "400px";
+console.log(outer.getBoundingClientRect());
+outer.style.transform = "translateY(100px)";
+</script>