gecko-dev/toolkit/profile
Emilio Cobos Álvarez 9900adffa0 Bug 1822578 - Make flex="1" on XUL set a zero flex basis like the flex shorthand does. r=Gijs,mconley,settings-reviewers,desktop-theme-reviewers,dao
In a setup with:

<hbox>
 <something flex="1"/>
 <something-else/>
</hbox>

Before bug 1822131 <something flex="1"> ended up with flex-basis: auto,
but was the only thing able to shrink, so <something-else> stayed the
same size.

After that bug however <something-else> is able to shrink too, so both
elements shrink. This wouldn't happen if flex="1" actually worked like
flex: 1 does.

However flex: 1 causes stuff like explicit main sizes to be
(effectively) ignored, so we need to fix up a few cases where now we'd
start flexing too much. For that, add a debug assert to
nsFlexContainerFrame to catch the would-be behavior changes here.

For the most part they're actually no-op since they're setting tiny
sizes, but preferences and devtools needed a couple real fixes.

The profile selection spacer is useless (zero-size).

Hopefully the last xul.css change I need to do :')

Differential Revision: https://phabricator.services.mozilla.com/D172704
2023-03-16 00:06:29 +00:00
..
content Bug 1822578 - Make flex="1" on XUL set a zero flex basis like the flex shorthand does. r=Gijs,mconley,settings-reviewers,desktop-theme-reviewers,dao 2023-03-16 00:06:29 +00:00
gtest
test
xpcshell Bug 1812557 - Disable Snap profile tests in Thunderbird. r=mkaply 2023-02-04 04:45:13 +00:00
jar.mn
moz.build
notifications.txt
nsIProfileMigrator.idl
nsIProfileUnlocker.idl
nsIToolkitProfile.idl
nsIToolkitProfileService.idl
nsProfileLock.cpp
nsProfileLock.h
nsToolkitProfileService.cpp
nsToolkitProfileService.h
ProfileUnlockerAndroid.cpp
ProfileUnlockerAndroid.h
ProfileUnlockerWin.cpp
ProfileUnlockerWin.h