Bug 1909074. Don't pass OFFSET_BY_ORIGIN to GetResultingTransformMatrix when it's...
[gecko.git] / layout / style / test / test_bug470769.html
blob589cf790b04d69ea0a651f78392e26b5db908f21
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=470769
5 -->
6 <head>
7 <title>Test for Bug 470769</title>
8 <script src="/tests/SimpleTest/SimpleTest.js"></script>
9 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
10 </head>
11 <body>
12 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=470769">Mozilla Bug 470769</a>
13 <p id="display"></p>
14 <div id="content" style="display: none">
16 </div>
17 <pre id="test">
18 <script type="application/javascript">
20 /** Test for Bug 470769 **/
22 var e = document.getElementById("display");
23 e.setAttribute("style", "z-index: 2147483647"); // maximum signed 32-bit
24 is(e.style.zIndex, "2147483647", "element.style should roundtrip correctly");
25 is(window.getComputedStyle(e).zIndex, "2147483647",
26 "getComputedStyle should roundtrip correctly");
28 </script>
29 </pre>
30 </body>
31 </html>