Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <div style="overflow: auto; transform:translate(100px,0);">
5 <div style="position: relative;"><div id="x" style="position:fixed; display:none"></div></div>
6 </div>
7 <script>
8 document.body.getBoundingClientRect();
9 document.getElementById('x').style.display = '';
10 </script>
11 </body>
12 </html>