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
michael@0 | 1 | <HTML><HEAD style="display: table-row;"></HEAD> |
michael@0 | 2 | <BODY style="display: table-row;"> |
michael@0 | 3 | <CODE> |
michael@0 | 4 | <span> |
michael@0 | 5 | <IFRAME style="display:table-column-group;"></IFRAME> |
michael@0 | 6 | </span> |
michael@0 | 7 | </CODE> |
michael@0 | 8 | <span style="display:table-column-group;"></span> |
michael@0 | 9 | <SCRIPT> |
michael@0 | 10 | function doe2() { |
michael@0 | 11 | document.body.setAttribute('style', ''); |
michael@0 | 12 | document.getElementsByTagName('head')[0].setAttribute('style', ''); |
michael@0 | 13 | document.body.offsetHeight; |
michael@0 | 14 | document.getElementsByTagName('span')[0].setAttribute('style', 'display: table-row;'); |
michael@0 | 15 | } |
michael@0 | 16 | setTimeout(doe2,100); |
michael@0 | 17 | |
michael@0 | 18 | function tripleclick(){ |
michael@0 | 19 | netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); |
michael@0 | 20 | var wu = window.QueryInterface(Components.interfaces.nsIInterfaceRequestor) |
michael@0 | 21 | .getInterface(Components.interfaces.nsIDOMWindowUtils); |
michael@0 | 22 | wu.sendMouseEvent('mousedown', 500, 500, 0, 3, 0); |
michael@0 | 23 | setTimeout(tripleclick,20); |
michael@0 | 24 | setTimeout(function(){window.location.reload()}, 200); |
michael@0 | 25 | } |
michael@0 | 26 | setTimeout(tripleclick,200); |
michael@0 | 27 | </SCRIPT> |
michael@0 | 28 | </BODY></HTML> |