Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
1 <!doctype html>
2 <!--
3 https://bugzilla.mozilla.org/show_bug.cgi?id=725426
4 -->
5 <title>Test for bug 725426</title>
6 <script src=/tests/SimpleTest/SimpleTest.js></script>
7 <link rel=stylesheet href=/tests/SimpleTest/test.css>
8 <body style=margin:0>
9 <div style="-moz-transform: perspective(200px)">
10 <div style="-moz-transform: translatez(-100px);
11 width:100px;height:100px;background:blue">
12 </div></div>
13 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=725426">
14 Mozilla Bug 725426</a>
15 <pre id=test>
16 <script class=testbody>
17 var rect = document.querySelector("div>div").getBoundingClientRect();
18 is(rect.top, 0, "Incorrect bounding rect top");
19 is(rect.right, 100, "Incorrect bounding rect top");
20 is(rect.bottom, 100, "Incorrect bounding rect top");
21 is(rect.left, 0, "Incorrect bounding rect top");
22 </script>
23 </pre>