Bug 392188 - Don't allow click-through on tab close buttons. r=Enn
authorMarkus Stange <mstange@themasta.com>
Fri, 16 Jul 2010 14:57:32 +0200
changeset 47795 3a1683e3fcfa96ca3bf37b79f11563b6bb013308
parent 47794 ffbbedb69cac431d91af064c1a4e659d14ae2775
child 47796 e491889be2ec2d9d7b619e2b04b39da95d2c0bf9
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 tab close buttons. r=Enn
browser/base/content/tabbrowser.xml
--- a/browser/base/content/tabbrowser.xml
+++ b/browser/base/content/tabbrowser.xml
@@ -3096,16 +3096,17 @@
                  class="tab-icon-image"
                  role="presentation"/>
       <xul:label flex="1"
                  xbl:inherits="value=label,crop,accesskey"
                  class="tab-text"
                  role="presentation"/>
       <xul:toolbarbutton anonid="close-button"
                          tabindex="-1"
+                         clickthrough="never"
                          class="tab-close-button"/>
     </content>
 
     <implementation>
       <property name="pinned" readonly="true">
         <getter>
           return this.getAttribute("pinned") == "true";
         </getter>