зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 3a711e98c1ed
This commit is contained in:
Родитель
8cb1bd5722
Коммит
b898f51455
|
@ -36,8 +36,6 @@
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
|
||||||
function test() {
|
function test() {
|
||||||
is(gBrowser.tabs.length, 1, "one tab is open initially");
|
|
||||||
|
|
||||||
// Add several new tabs in sequence, interrupted by selecting a
|
// Add several new tabs in sequence, interrupted by selecting a
|
||||||
// different tab, moving a tab around and closing a tab,
|
// different tab, moving a tab around and closing a tab,
|
||||||
// returning a list of opened tabs for verifying the expected order.
|
// returning a list of opened tabs for verifying the expected order.
|
||||||
|
@ -78,9 +76,9 @@ function test() {
|
||||||
is(tabs[3], gBrowser.tabs[1], "next tab with referrer opened further to the right");
|
is(tabs[3], gBrowser.tabs[1], "next tab with referrer opened further to the right");
|
||||||
is(tabs[4], gBrowser.tabs[4], "tab selection changed, tab opens immediately to the right");
|
is(tabs[4], gBrowser.tabs[4], "tab selection changed, tab opens immediately to the right");
|
||||||
is(tabs[5], gBrowser.tabs[6], "blank tab with referrer opens to the right of 3rd original tab where removed tab was");
|
is(tabs[5], gBrowser.tabs[6], "blank tab with referrer opens to the right of 3rd original tab where removed tab was");
|
||||||
is(tabs[6], gBrowser.tabs[2], "tab has moved, new tab opens immediately to the right");
|
is(tabs[6], gBrowser.tabs[2], "tab has moved, new tab opens immediately to the right");
|
||||||
is(tabs[7], gBrowser.tabs[8], "blank tab without referrer opens at the end");
|
is(tabs[7], gBrowser.tabs[8], "blank tab without referrer opens at the end");
|
||||||
is(tabs[8], gBrowser.tabs[9], "tab without referrer opens at the end");
|
is(tabs[8], gBrowser.tabs[9], "tab without referrer opens at the end");
|
||||||
|
|
||||||
cleanUp(tabs);
|
cleanUp(tabs);
|
||||||
}
|
}
|
||||||
|
|
|
@ -75,17 +75,16 @@ treechildren::-moz-tree-row {
|
||||||
height: 1.3em;
|
height: 1.3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(multicol, odd) {
|
treechildren::-moz-tree-row(multicol, odd) {
|
||||||
background-color: -moz-oddtreerow;
|
background-color: -moz-oddtreerow;
|
||||||
}
|
}
|
||||||
|
|
||||||
treechildren::-moz-tree-row(selected),
|
treechildren::-moz-tree-row(selected) {
|
||||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected) {
|
|
||||||
background-color: -moz-cellhighlight;
|
background-color: -moz-cellhighlight;
|
||||||
}
|
}
|
||||||
|
|
||||||
treechildren::-moz-tree-row(selected, focus),
|
treechildren::-moz-tree-row(selected, focus),
|
||||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected, focus) {
|
treechildren::-moz-tree-row(multicol, odd, selected, focus) {
|
||||||
background-color: Highlight;
|
background-color: Highlight;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -65,19 +65,19 @@ treechildren::-moz-tree-row {
|
||||||
background-color: -moz-field;
|
background-color: -moz-field;
|
||||||
}
|
}
|
||||||
|
|
||||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(multicol, odd) {
|
treechildren::-moz-tree-row(multicol, odd) {
|
||||||
background-color: -moz-oddtreerow;
|
background-color: -moz-oddtreerow;
|
||||||
}
|
}
|
||||||
|
|
||||||
treechildren::-moz-tree-row(selected),
|
treechildren::-moz-tree-row(selected),
|
||||||
treechildren::-moz-tree-row(odd, selected),
|
treechildren::-moz-tree-row(odd, selected),
|
||||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(multicol, odd, selected) {
|
treechildren::-moz-tree-row(multicol, odd, selected) {
|
||||||
background-color: -moz-mac-secondaryhighlight;
|
background-color: -moz-mac-secondaryhighlight;
|
||||||
}
|
}
|
||||||
|
|
||||||
treechildren::-moz-tree-row(selected, focus),
|
treechildren::-moz-tree-row(selected, focus),
|
||||||
treechildren::-moz-tree-row(odd, selected, focus),
|
treechildren::-moz-tree-row(odd, selected, focus),
|
||||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(multicol, odd, selected, focus) {
|
treechildren::-moz-tree-row(multicol, odd, selected, focus) {
|
||||||
background-color: Highlight;
|
background-color: Highlight;
|
||||||
color: HighlightText;
|
color: HighlightText;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче