mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-14 19:27:30 +09:00
Issue #2284 - Add exception for flex/grid items resolving percentages against parent.
This folds in BZ bugs 1578586 and 1092007 part 2.
This commit is contained in:
parent
dc5702a0f2
commit
5235861f6e
3 changed files with 68 additions and 4 deletions
|
|
@ -206,6 +206,13 @@ public:
|
|||
uint32_t mIsFlexContainerMeasuringHeight:1; // nsFlexContainerFrame is
|
||||
// reflowing this child to
|
||||
// measure its intrinsic height.
|
||||
uint32_t mTreatBSizeAsIndefinite:1; // If this flag is set, the BSize of this frame should be considered
|
||||
// indefinite for the purposes of percent resolution on child frames (we
|
||||
// should behave as if ComputedBSize() were NS_INTRINSIC_ISIZE when doing
|
||||
// percent resolution against this.ComputedBSize()). For example: flex
|
||||
// items may have their ComputedBSize() resolved ahead-of-time by their
|
||||
// flex container, and yet their BSize might have to be considered
|
||||
// indefinite per https://drafts.csswg.org/css-flexbox/#definite-sizes
|
||||
uint32_t mDummyParentReflowInput:1; // a "fake" reflow state made
|
||||
// in order to be the parent
|
||||
// of a real one
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue