summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/1299736-1.html
blob: 078a120378e24e3027e641ceb98b470c5aee23b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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>