mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
additional output for browser_relatedTabs.js
This commit is contained in:
parent
7f591e1161
commit
6bf49b08f3
@ -36,6 +36,8 @@
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
function test() {
|
||||
is(gBrowser.tabs.length, 1, "one tab is open initially");
|
||||
|
||||
// Add several new tabs in sequence, interrupted by selecting a
|
||||
// different tab, moving a tab around and closing a tab,
|
||||
// returning a list of opened tabs for verifying the expected order.
|
||||
@ -76,9 +78,9 @@ function test() {
|
||||
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[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[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[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[8], gBrowser.tabs[9], "tab without referrer opens at the end");
|
||||
|
||||
cleanUp(tabs);
|
||||
}
|
||||
|
@ -75,16 +75,17 @@ treechildren::-moz-tree-row {
|
||||
height: 1.3em;
|
||||
}
|
||||
|
||||
treechildren::-moz-tree-row(multicol, odd) {
|
||||
background-color: -moz-oddtreerow;
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(multicol, odd) {
|
||||
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;
|
||||
}
|
||||
|
||||
treechildren::-moz-tree-row(selected, focus),
|
||||
treechildren::-moz-tree-row(multicol, odd, selected, focus) {
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected, focus) {
|
||||
background-color: Highlight;
|
||||
}
|
||||
|
||||
|
@ -65,19 +65,19 @@ treechildren::-moz-tree-row {
|
||||
background-color: -moz-field;
|
||||
}
|
||||
|
||||
treechildren::-moz-tree-row(multicol, odd) {
|
||||
background-color: -moz-oddtreerow;
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(multicol, odd) {
|
||||
background-color: -moz-oddtreerow;
|
||||
}
|
||||
|
||||
treechildren::-moz-tree-row(selected),
|
||||
treechildren::-moz-tree-row(odd, selected),
|
||||
treechildren::-moz-tree-row(multicol, odd, selected) {
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(multicol, odd, selected) {
|
||||
background-color: -moz-mac-secondaryhighlight;
|
||||
}
|
||||
|
||||
treechildren::-moz-tree-row(selected, focus),
|
||||
treechildren::-moz-tree-row(odd, selected, focus),
|
||||
treechildren::-moz-tree-row(multicol, odd, selected, focus) {
|
||||
treechildren:not(.autocomplete-treebody)::-moz-tree-row(multicol, odd, selected, focus) {
|
||||
background-color: Highlight;
|
||||
color: HighlightText;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user