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:
Gijs Kruitbosch 2015-11-06 19:25:17 +00:00
parent 429e17413f
commit 40b7821a22
6 changed files with 8 additions and 5 deletions

View File

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

View File

@ -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();

View File

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

View File

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

View File

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

View File

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