Bug 392188 - Don't allow click-through on <browser>s by default. r=Enn
authorMarkus Stange <mstange@themasta.com>
Fri, 16 Jul 2010 14:51:17 +0200
changeset 47794 ffbbedb69cac431d91af064c1a4e659d14ae2775
parent 47793 e18854fb9aed5bfe72a05ec21eb09e60f839ce4e
child 47795 3a1683e3fcfa96ca3bf37b79f11563b6bb013308
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersEnn
bugs392188
milestone2.0b2pre
Bug 392188 - Don't allow click-through on <browser>s by default. r=Enn
toolkit/content/widgets/browser.xml
--- a/toolkit/content/widgets/browser.xml
+++ b/toolkit/content/widgets/browser.xml
@@ -46,16 +46,19 @@
   %findBarDTD;
 ]>
 
 <bindings id="browserBindings"
           xmlns="http://www.mozilla.org/xbl"
           xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
   <binding id="browser" extends="xul:browser">
+    <content clickthrough="never">
+      <children/>
+    </content>
     <implementation type="application/javascript" implements="nsIAccessibleProvider, nsIObserver, nsIDOMEventListener">
       <property name="accessibleType" readonly="true">
         <getter>
           <![CDATA[
             return Components.interfaces.nsIAccessibleProvider.OuterDoc;
           ]]>
         </getter>
       </property>