Bug 951928 - [Australis] Reduce the browser window's minimum size. r=jaws

This commit is contained in:
Dão Gottwald 2014-01-14 09:12:49 +01:00
parent 5b84bba4dc
commit 70fd866481
3 changed files with 5 additions and 5 deletions

View File

@ -7,9 +7,9 @@
#main-window:not([chromehidden~="toolbar"]) {
%ifdef XP_MACOSX
min-width: 425px;
min-width: 335px;
%else
min-width: 390px;
min-width: 300px;
%endif
}
@ -284,7 +284,7 @@ toolbarpaletteitem > #personal-bookmarks > #bookmarks-toolbar-placeholder,
}
#urlbar-container {
min-width: 50ch;
min-width: 30ch;
}
#search-container {

View File

@ -52,7 +52,7 @@ add_task(function() {
ok(!navbar.hasAttribute("overflowing"), "Should start with a non-overflowing toolbar.");
ok(CustomizableUI.inDefaultState, "Should start in default state.");
window.resizeTo(390, window.outerHeight);
window.resizeTo(380, window.outerHeight);
yield waitForCondition(() => navbar.hasAttribute("overflowing"));
ok(!navbar.querySelector("#search-container"), "Search container should be overflowing");
let searchbar = document.getElementById("searchbar");

View File

@ -108,7 +108,7 @@ add_task(function() {
ok(!navbar.hasAttribute("overflowing"), "Should start with a non-overflowing toolbar.");
ok(CustomizableUI.inDefaultState, "Should start in default state.");
window.resizeTo(480, window.outerHeight);
window.resizeTo(380, window.outerHeight);
yield waitForCondition(() => navbar.hasAttribute("overflowing"));
ok(!navbar.querySelector("#" + kSearchBox), "Search container should be overflowing");
let placements = CustomizableUI.getWidgetIdsInArea(navbar.id);