Bug 392188 - Don't allow click-through on XUL trees by default. r=Enn
authorMarkus Stange <mstange@themasta.com>
Fri, 16 Jul 2010 14:58:45 +0200
changeset 47796 e491889be2ec2d9d7b619e2b04b39da95d2c0bf9
parent 47795 3a1683e3fcfa96ca3bf37b79f11563b6bb013308
child 47797 f1cd1c78ebd3e4fc011b21b47b6178ae13662fbd
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 XUL trees by default. r=Enn
toolkit/content/widgets/tree.xml
--- a/toolkit/content/widgets/tree.xml
+++ b/toolkit/content/widgets/tree.xml
@@ -25,17 +25,17 @@
           return aEvent.ctrlKey;
 #endif
         ]]></body>
       </method>
     </implementation>
   </binding>
 
   <binding id="tree" extends="chrome://global/content/bindings/tree.xml#tree-base">
-    <content hidevscroll="true" hidehscroll="true">
+    <content hidevscroll="true" hidehscroll="true" clickthrough="never">
       <children includes="treecols"/>
       <xul:stack class="tree-stack" flex="1">
         <xul:treerows class="tree-rows" flex="1" xbl:inherits="hidevscroll">
           <children/>
         </xul:treerows>
         <xul:textbox anonid="input" class="tree-input" left="0" top="0" hidden="true"/>
       </xul:stack>
       <xul:hbox xbl:inherits="collapsed=hidehscroll">