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