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 id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersEnn
bugs392188
milestone2.0b2pre
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>