Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2025-01-29 12:26:22 +08:00
commit bf90272692
6 changed files with 776 additions and 837 deletions

View file

@ -4519,6 +4519,7 @@ nsGridContainerFrame::Tracks::ResolveIntrinsicSize(
// Check if we need to apply "Automatic Minimum Size" and cache it.
if ((state & TrackSize::eAutoMinSizing) &&
!(state & TrackSize::eFlexMaxSizing) &&
gridItem.ShouldApplyAutoMinSize(wm, mAxis, aPercentageBasis)) {
gridItem.mState[mAxis] |= ItemState::eApplyAutoMinSize;
}