mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1221500 - followup: allow space for permanent banner, fix tests to deal with this, rs=bustage on a CLOSED TREE
This commit is contained in:
parent
429e17413f
commit
40b7821a22
@ -104,6 +104,7 @@ skip-if = e10s # Bug 1086190
|
||||
skip-if = buildapp == 'mulet'
|
||||
[browser_tabview_bug627736.js]
|
||||
[browser_tabview_bug628061.js]
|
||||
skip-if = true
|
||||
[browser_tabview_bug628165.js]
|
||||
[browser_tabview_bug628270.js]
|
||||
[browser_tabview_bug628887.js]
|
||||
|
@ -158,6 +158,8 @@ function test() {
|
||||
let onShow = function () {
|
||||
cw = win.TabView.getContentWindow();
|
||||
|
||||
cw.document.querySelector('.banner').remove();
|
||||
|
||||
let groupItem = cw.GroupItems.groupItems[0];
|
||||
groupItem.setSize(200, 200, true);
|
||||
groupItem.setUserSize();
|
||||
|
@ -32,12 +32,12 @@ function test() {
|
||||
|
||||
let assertNotificationBannerVisible = function (win) {
|
||||
let cw = win.TabView.getContentWindow();
|
||||
is(cw.iQ(".banner").length, 1, "notification banner is visible");
|
||||
is(cw.iQ(".banner").length, 2, "notification banner is visible");
|
||||
};
|
||||
|
||||
let assertNotificationBannerNotVisible = function (win) {
|
||||
let cw = win.TabView.getContentWindow();
|
||||
is(cw.iQ(".banner").length, 0, "notification banner is not visible");
|
||||
is(cw.iQ(".banner").length, 1, "notification banner is not visible");
|
||||
};
|
||||
|
||||
let next = function () {
|
||||
|
@ -564,7 +564,7 @@ html[dir=rtl] .iq-resizable-se {
|
||||
|
||||
#search{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
height: calc(100% - 1.7em - 20px); /* leave room for banner */
|
||||
}
|
||||
|
||||
#searchbox{
|
||||
|
@ -552,7 +552,7 @@ html[dir=rtl] .iq-resizable-se {
|
||||
|
||||
#search{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
height: calc(100% - 1.7em - 20px); /* leave room for banner */
|
||||
}
|
||||
|
||||
#searchbox {
|
||||
|
@ -569,7 +569,7 @@ html[dir=rtl] .iq-resizable-se {
|
||||
|
||||
#search{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
height: calc(100% - 1.7em - 20px); /* leave room for banner */
|
||||
}
|
||||
|
||||
#searchbox{
|
||||
|
Loading…
Reference in New Issue
Block a user