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 style="background:yellow">
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=559499
5 -->
6 <head>
7 <title>Test for Bug 559499</title>
8 <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
9 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
10 </head>
11 <body style="position:relative; z-index:-1; padding-top:100px;">
12 <p><a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=559499">Mozilla Bug 514127</a></p>
14 <pre id="test">
15 <script type="application/javascript">
17 /** Test for Bug 559499 **/
19 is(document.elementFromPoint(50, 50), document.body, "Able to hit body");
20 document.documentElement.style.display = "table";
21 is(document.elementFromPoint(50, 50), document.body, "Able to hit body (table)");
23 </script>
24 </pre>
25 </body>
26 </html>