1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/478811-2.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,22 @@ 1.4 +<!DOCTYPE html> 1.5 +<html style="height: 100%"> 1.6 + <head> 1.7 + <script> 1.8 + function doIt() { 1.9 + var d = document.createElement("div"); 1.10 + d.setAttribute("style", 1.11 + "position: absolute; left: 0; right: 0; top: 0; " + 1.12 + "bottom: 0; background: green"); 1.13 + document.getElementById("x").appendChild(d); 1.14 + } 1.15 + </script> 1.16 + </head> 1.17 + <body style="height: 100%" onload="doIt()"> 1.18 + <!-- Button shouldn't get pointer events because it confuses tests if it 1.19 + can be hovered --> 1.20 + <button id="x" style="position: relative; display: table; width: 50%; 1.21 + height: 50%; top: 25%; left: 25%; 1.22 + pointer-events: none"> 1.23 + </button> 1.24 + </body> 1.25 +</html>