Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
1 <!DOCTYPE html>
2 <html style="height: 100%">
3 <head>
4 <script>
5 function doIt() {
6 var d = document.createElement("div");
7 d.setAttribute("style",
8 "position: absolute; left: 0; right: 0; top: 0; " +
9 "bottom: 0; background: green");
10 document.getElementById("x").appendChild(d);
11 }
12 </script>
13 </head>
14 <body style="height: 100%" onload="doIt()">
15 <!-- Button shouldn't get pointer events because it confuses tests if it
16 can be hovered -->
17 <button id="x" style="position: relative; display: table-row; width: 50%;
18 height: 50%; top: 25%; left: 25%;
19 pointer-events: none">
20 </button>
21 </body>
22 </html>