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 id14423
push usermstange@themasta.com
push dateFri, 16 Jul 2010 13:03:44 +0000
treeherdermozilla-central@ced41ebe9e75 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersEnn
bugs392188
milestone2.0b2pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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>