gecko-dev/layout
Emilio Cobos Álvarez f60d745bc2 Bug 1822131 - Allow XUL elements to shrink-by-default. r=dholbert
Bug 1821920 and bug 1821871 are instances of an interesting behavior
change from bug 1820534.

The default flex-basis of old XUL was auto instead of max-content,
because of this code:

  https://searchfox.org/mozilla-central/rev/af78418c4b5f2c8721d1a06486cf4cf0b33e1e8d/layout/generic/nsFlexContainerFrame.cpp#1327

So stuff that used to wrap now no longer does, in an horizontal flex
container, since xul.css prevents XUL elements from shrinking.

Per the comment, a few tests relied on this, but I believe it should
generally be safe to shrink the items. This only causes to shrink if
they have an explicit width but no min-width (including min-width:
auto).

Some tests like test_mousescroll.xhtml hit this, because they have
explicit sizes but min-width: auto ends up being 0 effectively, but I
believe we should tweak those tests instead.

Differential Revision: https://phabricator.services.mozilla.com/D172462
2023-03-13 20:43:34 +00:00
..
base Bug 1822131 - Allow XUL elements to shrink-by-default. r=dholbert 2023-03-13 20:43:34 +00:00
build Bug 1806495 - Stand up a background task queue for the MIDI service. r=nika 2023-01-09 17:07:34 +00:00
docs Bug 1807899 - Remove the trailing whitespace and Windows CR on md files r=linter-reviewers,necko-reviewers,marco,jesup 2022-12-30 15:23:21 +00:00
forms Backed out 5 changesets (bug 1809843) for causing Cargo related build bustages. CLOSED TREE 2023-03-13 13:53:26 +02:00
generic Bug 1822131 - Allow XUL elements to shrink-by-default. r=dholbert 2023-03-13 20:43:34 +00:00
inspector Bug 1814620 - [devtools] Remove color.js rgbToColorName. r=ochameau. 2023-02-07 12:39:19 +00:00
ipc
mathml Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
media
painting Bug 1758760 - Do not expire first scrollable frame displayport. r=tnikkel,botond 2023-03-08 18:39:04 +00:00
printing Bug 1793220 - Use at-page size rule as paper size when printing to PDF r=dholbert,AlaskanEmily 2023-02-27 20:22:18 +00:00
reftests Bug 1820534 - Move front-end to modern flexbox. r=Gijs,dao,settings-reviewers,credential-management-reviewers,sgalich,devtools-reviewers,nchevobbe 2023-03-08 16:13:57 +00:00
style Backed out 5 changesets (bug 1809843) for causing Cargo related build bustages. CLOSED TREE 2023-03-13 13:53:26 +02:00
svg Bug 1820757 - SVGImageFrame::NotifySVGChanged should not rely on the base class implementation but instead do nothing at all r=emilio 2023-03-13 16:57:30 +00:00
tables Bug 1815552 - Make positioned table parts deal correctly with switching position without being reframed. r=TYLin,layout-reviewers 2023-03-01 19:04:17 +00:00
tools Bug 1820593 - Convert AsyncSpellCheckTestHelper to an ES module. r=masayuki 2023-03-07 09:40:39 +00:00
xul Bug 1822131 - Allow XUL elements to shrink-by-default. r=dholbert 2023-03-13 20:43:34 +00:00
moz.build