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 class="reftest-wait"> |
michael@0 | 3 | <head> |
michael@0 | 4 | <script type="text/javascript"> |
michael@0 | 5 | function init() |
michael@0 | 6 | { |
michael@0 | 7 | window.addEventListener("blur", function (e) { e.stopPropagation(); }, |
michael@0 | 8 | true); |
michael@0 | 9 | document.getElementById("link").focus(); |
michael@0 | 10 | setTimeout(doTest, 0); |
michael@0 | 11 | } |
michael@0 | 12 | |
michael@0 | 13 | function doTest() |
michael@0 | 14 | { |
michael@0 | 15 | document.getElementById("link").blur(); |
michael@0 | 16 | setTimeout(finish, 0); |
michael@0 | 17 | } |
michael@0 | 18 | |
michael@0 | 19 | function finish() |
michael@0 | 20 | { |
michael@0 | 21 | document.documentElement.removeAttribute("class"); |
michael@0 | 22 | } |
michael@0 | 23 | </script> |
michael@0 | 24 | </head> |
michael@0 | 25 | <body onload="setTimeout(init, 0);"> |
michael@0 | 26 | <img src="100x80-white-rect-top-right.png" usemap="#map"> |
michael@0 | 27 | <map name="map"> |
michael@0 | 28 | <area id="link" shape="rect" coords="10,10,30,30" href="about:blank"> |
michael@0 | 29 | </map> |
michael@0 | 30 | </body> |
michael@0 | 31 | </html> |