From 70fd86648152cbb6ec3ad1d146d3bb147a23b692 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A3o=20Gottwald?= Date: Tue, 14 Jan 2014 09:12:49 +0100 Subject: [PATCH] Bug 951928 - [Australis] Reduce the browser window's minimum size. r=jaws --- browser/base/content/browser.css | 6 +++--- .../test/browser_901207_searchbar_in_panel.js | 2 +- .../test/browser_914138_widget_API_overflowable_toolbar.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/browser/base/content/browser.css b/browser/base/content/browser.css index 533d45fc69ba..80a29c1354fe 100644 --- a/browser/base/content/browser.css +++ b/browser/base/content/browser.css @@ -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 { diff --git a/browser/components/customizableui/test/browser_901207_searchbar_in_panel.js b/browser/components/customizableui/test/browser_901207_searchbar_in_panel.js index 50fb924ac291..377c6a599c68 100644 --- a/browser/components/customizableui/test/browser_901207_searchbar_in_panel.js +++ b/browser/components/customizableui/test/browser_901207_searchbar_in_panel.js @@ -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"); diff --git a/browser/components/customizableui/test/browser_914138_widget_API_overflowable_toolbar.js b/browser/components/customizableui/test/browser_914138_widget_API_overflowable_toolbar.js index 26320daea81e..71dd565a4fba 100644 --- a/browser/components/customizableui/test/browser_914138_widget_API_overflowable_toolbar.js +++ b/browser/components/customizableui/test/browser_914138_widget_API_overflowable_toolbar.js @@ -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);