gecko-dev/docshell
Emilio Cobos Álvarez 25e4585462 Bug 1798836 - Improve sizing of the profile manager (again). r=Gijs,webidl,smaug
Instead of imposing the min-width as a max-size, make prefwidth act as
it should (as suggesting a preferred width, but with min-content as a
minimum).

This can be reproduced locally by applying a patch like:

```
diff --git a/toolkit/profile/content/profileSelection.xhtml b/toolkit/profile/content/profileSelection.xhtml
index 3dd1c864f79f1..7e8cbf8ce8c3e 100644
--- a/toolkit/profile/content/profileSelection.xhtml
+++ b/toolkit/profile/content/profileSelection.xhtml
@@ -17,7 +17,7 @@
   data-l10n-id="profile-selection-window"
   orient="vertical"
   prefwidth="min-width"
-  style="min-width: 30em;"
+  style="min-width: 10em;"
   onload="startup();">
 <dialog id="profileWindow"
   buttons="accept,cancel"
```

Before patch, stuff overflowed. This patch guarantees that everything is
on-screen.

Differential Revision: https://phabricator.services.mozilla.com/D161229
2022-11-05 19:24:31 +00:00
..
base Bug 1798836 - Improve sizing of the profile manager (again). r=Gijs,webidl,smaug 2022-11-05 19:24:31 +00:00
build Bug 1347955 - Move the logging facilities from about:networking to a new page, about:logging. r=valentin,fluent-reviewers,flod 2022-10-20 12:10:19 +00:00
shistory Bug 1769189, ensure history state is updated if beforeunload listener calls replaceState, r=peterv 2022-10-17 12:56:37 +00:00
test Bug 1787315, starting a new load after reload() should take precedence, r=peterv,ochameau 2022-11-04 10:29:54 +00:00
moz.build Bug 1734217 - Merge all about:neterror front-end handling under toolkit. r=mkmelin,smaug,nalexander,flod,Gijs 2022-10-07 18:40:27 +00:00