Bug 1461096 - Move onselect attribute from tabbrowser-tabbox to tabbrowser-tabpanels. r=mconley

MozReview-Commit-ID: 2p1TU29bKrE

--HG--
extra : rebase_source : a0a4f527b48ea3e0c051e176b4957989c4c8bc80
This commit is contained in:
Dão Gottwald 2018-05-12 13:58:12 +02:00
parent f4b02c2f37
commit 0074f85133

View File

@ -1222,9 +1222,10 @@
<vbox id="appcontent" flex="1">
<notificationbox id="high-priority-global-notificationbox" notificationside="top"/>
<tabbox id="tabbrowser-tabbox"
flex="1" eventnode="document" tabcontainer="tabbrowser-tabs"
onselect="if (event.target.localName == 'tabpanels') gBrowser.updateCurrentBrowser();">
<tabpanels flex="1" class="plain" selectedIndex="0" id="tabbrowser-tabpanels">
flex="1" eventnode="document" tabcontainer="tabbrowser-tabs">
<tabpanels id="tabbrowser-tabpanels"
flex="1" class="plain" selectedIndex="0"
onselect="if (event.target == this) gBrowser.updateCurrentBrowser();">
<notificationbox flex="1" notificationside="top">
<!-- Set large flex to allow the devtools toolbox to set a flex attribute.
We don't want the toolbox to actually take up free space, but we do want it to collapse when the window shrinks, and with flex=0 it can't.