зеркало из https://github.com/mozilla/pjs.git
Bug 543206 followup: revert adjustTabstrip change, re-enable test_tabbrowser.xul
This commit is contained in:
Родитель
f969851182
Коммит
1c5a7096a4
|
@ -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 {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче