mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 405137 - no tooltip for tab close button, r=mano, a=beltzner
This commit is contained in:
parent
81d839b21e
commit
7d64d9a402
@ -50,6 +50,7 @@ _TEST_FILES = test_feed_discovery.html \
|
|||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
_BROWSER_FILES = browser_bug321000.js \
|
_BROWSER_FILES = browser_bug321000.js \
|
||||||
|
browser_bug405137.js \
|
||||||
browser_bug409481.js \
|
browser_bug409481.js \
|
||||||
browser_autodiscovery.js \
|
browser_autodiscovery.js \
|
||||||
autodiscovery.html \
|
autodiscovery.html \
|
||||||
|
5
browser/base/content/test/browser_bug405137.js
Normal file
5
browser/base/content/test/browser_bug405137.js
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
function test(){
|
||||||
|
var tab = gBrowser.addTab();
|
||||||
|
ok(tab.getAttribute("closetabtext") != "", "tab has non-empty closetabtext");
|
||||||
|
gBrowser.removeTab(tab);
|
||||||
|
}
|
@ -1,5 +1,12 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
|
<!DOCTYPE bindings [
|
||||||
|
<!ENTITY % tabBrowserDTD SYSTEM "chrome://browser/locale/tabbrowser.dtd" >
|
||||||
|
%tabBrowserDTD;
|
||||||
|
<!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
|
||||||
|
%globalDTD;
|
||||||
|
]>
|
||||||
|
|
||||||
<bindings id="globalBindings"
|
<bindings id="globalBindings"
|
||||||
xmlns="http://www.mozilla.org/xbl"
|
xmlns="http://www.mozilla.org/xbl"
|
||||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||||
@ -78,7 +85,7 @@
|
|||||||
</content>
|
</content>
|
||||||
</binding>
|
</binding>
|
||||||
<binding id="tabbrowser-tab" extends="chrome://browser/content/tabbrowser.xml#tabbrowser-tab">
|
<binding id="tabbrowser-tab" extends="chrome://browser/content/tabbrowser.xml#tabbrowser-tab">
|
||||||
<content>
|
<content chromedir="&locale.dir;" closetabtext="&closeTab.label;">
|
||||||
<xul:hbox class="tab-image-left" xbl:inherits="selected"/>
|
<xul:hbox class="tab-image-left" xbl:inherits="selected"/>
|
||||||
<xul:hbox class="tab-image-middle" flex="1" align="center" xbl:inherits="selected">
|
<xul:hbox class="tab-image-middle" flex="1" align="center" xbl:inherits="selected">
|
||||||
<xul:stack class="tab-icon">
|
<xul:stack class="tab-icon">
|
||||||
|
Loading…
Reference in New Issue
Block a user