Bug 841714 - Set the 'validate' attribute directly on tab-icon-image rather than inheriting it from the tab. r=gavin

--HG--
extra : rebase_source : 065499b0c59adc3c6e7483a6c1116f02e4eb3a34
This commit is contained in:
Dão Gottwald 2013-02-16 11:11:29 +01:00
parent 0760deb884
commit df606ebbad

View File

@ -1250,7 +1250,6 @@
t.setAttribute("label", aURI);
t.setAttribute("crop", "end");
t.setAttribute("validate", "never");
t.setAttribute("onerror", "this.removeAttribute('image');");
t.className = "tabbrowser-tab";
@ -2883,7 +2882,6 @@
tab.setAttribute("label",
this.tabbrowser.mStringBundle.getString("tabs.emptyTabTitle"));
tab.setAttribute("crop", "end");
tab.setAttribute("validate", "never");
tab.setAttribute("onerror", "this.removeAttribute('image');");
this.adjustTabstrip();
@ -4095,8 +4093,9 @@
class="tab-throbber"
role="presentation"
layer="true" />
<xul:image xbl:inherits="validate,src=image,fadein,pinned,selected"
<xul:image xbl:inherits="src=image,fadein,pinned,selected"
class="tab-icon-image"
validate="never"
role="presentation"/>
<xul:label flex="1"
xbl:inherits="value=label,crop,accesskey,fadein,pinned,selected"