Bug 543206 followup: revert adjustTabstrip change, re-enable test_tabbrowser.xul

This commit is contained in:
Dão Gottwald 2010-06-14 11:54:18 +02:00
Родитель b9652b4313
Коммит 872f996a78
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -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 {