зеркало из https://github.com/mozilla/gecko-dev.git
Bug 543206 followup: revert adjustTabstrip change, re-enable test_tabbrowser.xul
This commit is contained in:
Родитель
b9652b4313
Коммит
872f996a78
|
@ -91,7 +91,7 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
//testAccessibleTree(getNode("tabbrowser").tabContainer, tabsAccTree);
|
testAccessibleTree(getNode("tabbrowser").tabContainer, tabsAccTree);
|
||||||
|
|
||||||
var tabboxAccTree = {
|
var tabboxAccTree = {
|
||||||
role: ROLE_PANE,
|
role: ROLE_PANE,
|
||||||
|
|
|
@ -1257,6 +1257,8 @@
|
||||||
if (t.previousSibling.selected)
|
if (t.previousSibling.selected)
|
||||||
t.setAttribute("afterselected", true);
|
t.setAttribute("afterselected", true);
|
||||||
|
|
||||||
|
this.tabContainer.adjustTabstrip();
|
||||||
|
|
||||||
// Dispatch a new tab notification. We do this once we're
|
// Dispatch a new tab notification. We do this once we're
|
||||||
// entirely done, so that things are in a consistent state
|
// entirely done, so that things are in a consistent state
|
||||||
// even if the event listener opens or closes tabs.
|
// even if the event listener opens or closes tabs.
|
||||||
|
@ -2747,7 +2749,6 @@
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (tab.getAttribute("selected") == "true") {
|
if (tab.getAttribute("selected") == "true") {
|
||||||
this.adjustTabstrip();
|
|
||||||
this._fillTrailingGap();
|
this._fillTrailingGap();
|
||||||
this._handleTabSelect();
|
this._handleTabSelect();
|
||||||
} else {
|
} else {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче