Bug 1190209 - tabbox.xml should still set the visuallyselected attribute. r=mconley
authorDão Gottwald <dao@mozilla.com>
Sun, 02 Aug 2015 12:50:00 -0400
changeset 287785 c67439c13ec0316f260b60037ee0130ab54995b6
parent 287784 12de634ab37b9ce625f99d9f780c90ef2bdf405e
child 287786 f52bfe71d212377a9bd48708e3e8467727a4f791
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley
bugs1190209
milestone42.0a1
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 1190209 - tabbox.xml should still set the visuallyselected attribute. r=mconley CLOSED TREE
toolkit/content/widgets/tabbox.xml
--- a/toolkit/content/widgets/tabbox.xml
+++ b/toolkit/content/widgets/tabbox.xml
@@ -724,20 +724,23 @@
         </getter>
       </property>
 
       <property name="selected" readonly="true"
                 onget="return this.getAttribute('selected') == 'true';"/>
 
       <property name="_selected">
         <setter><![CDATA[
-          if (val)
+          if (val) {
             this.setAttribute("selected", "true");
-          else
+            this.setAttribute("visuallyselected", "true");
+          } else {
             this.removeAttribute("selected");
+            this.removeAttribute("visuallyselected");
+          }
 
           this._setPositionAttributes(val);
 
           return val;
         ]]></setter>
       </property>
 
       <method name="_setPositionAttributes">