Closed Bug 1917144 Opened 1 year ago Closed 1 year ago

Add IntrinsicSizeInput::mContainingBlockSize for grid container's usage

Categories

(Core :: Layout, task)

task

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

References

Details

Attachments

(2 files)

Per bug 1865438 comment 3, we need grid container's containing block's size to resolving min-height: 60% during computing the grid container's intrinsic size.

Rename mPercentageBasis to mPercentageBasisForChildren to clarify that the
percentage basis is intended for resolving the percentage sizes for child
frames.

Currently, only the grid container needs the containing block size to resolve
the transferred min and max sizes for repeat() function in
nsGridContainerFrame::ComputeIntrinsicISize().

This patch is a preparation for Bug 1865438.

Assignee: nobody → aethanyc
Status: NEW → ASSIGNED
Pushed by aethanyc@gmail.com: https://hg.mozilla.org/integration/autoland/rev/038e04c5b5d1 Part 1 - Rename mPercentageBasis to mPercentageBasisForChildren in IntrinsicSizeInput. r=dholbert https://hg.mozilla.org/integration/autoland/rev/920539fb15c7 Part 2 - Add IntrinsicSizeInput::mContainingBlockSize. r=dholbert
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: