mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Bug 951928 - [Australis] Reduce the browser window's minimum size. r=jaws
This commit is contained in:
parent
5b84bba4dc
commit
70fd866481
@ -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 {
|
||||
|
@ -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");
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user