mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-21 03:43:16 +09:00
Issue #2688 - Don't apply auto min-sizing when flex max-sizing.
A grid item spanning multiple grid rows/columns which include a flexible track should not participate in the auto min-sizing calculation. Resolves #2688
This commit is contained in:
parent
0590764f1f
commit
0849deeacf
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue