Don't hide/shrink the tab bar when the visibility of menu items is changed.

It unexpectedly reacted changes of the visibility of the menu item #menu_readerModeItem and others.
This commit is contained in:
YUKI Hiroshi 2016-01-18 19:01:07 +09:00
parent ffc3058a99
commit 6ba7134d08

View File

@ -156,6 +156,8 @@ BrowserUIShowHideObserver.prototype = {
TST.evaluateXPath(
// ignore modifications in the location bar (ex. identity icon)
'ancestor-or-self::xul:textbox |' +
// or menu items
'ancestor-or-self::xul:menupopup |' +
// or scrollable indicator in the vertical tab bar
'ancestor-or-self::xul:spacer[' +
'contains(@class, "arrowscrollbox-overflow-start-indicator") or ' +