зеркало из https://github.com/mozilla/gecko-dev.git
9900adffa0
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 |
||
---|---|---|
.. | ||
content | ||
gtest | ||
test | ||
xpcshell | ||
ProfileUnlockerAndroid.cpp | ||
ProfileUnlockerAndroid.h | ||
ProfileUnlockerWin.cpp | ||
ProfileUnlockerWin.h | ||
jar.mn | ||
moz.build | ||
notifications.txt | ||
nsIProfileMigrator.idl | ||
nsIProfileUnlocker.idl | ||
nsIToolkitProfile.idl | ||
nsIToolkitProfileService.idl | ||
nsProfileLock.cpp | ||
nsProfileLock.h | ||
nsToolkitProfileService.cpp | ||
nsToolkitProfileService.h |