diff options
author | Jeremy Andrews <athenian200@outlook.com> | 2022-08-16 02:14:53 -0500 |
---|---|---|
committer | Jeremy Andrews <athenian200@outlook.com> | 2022-08-16 02:14:53 -0500 |
commit | 2a57b39dbc1cc8b2bb32dedd87707680a1025430 (patch) | |
tree | 73588f620f0b15df6f139908c7f14304f5d12949 /layout/generic/nsFlexContainerFrame.h | |
parent | 50bd3acb5b664fab9a78e5cf160ad92cdb577a6e (diff) | |
download | uxp-2a57b39dbc1cc8b2bb32dedd87707680a1025430.tar.gz |
Issue #1986 - Use logical coordinates in flex containers.
This mostly reworks the way nsFlexContainerFrame handles things so that it can
deal with more than just height.
Diffstat (limited to 'layout/generic/nsFlexContainerFrame.h')
-rw-r--r-- | layout/generic/nsFlexContainerFrame.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/layout/generic/nsFlexContainerFrame.h b/layout/generic/nsFlexContainerFrame.h index 39de79b577..42ccdfeb85 100644 --- a/layout/generic/nsFlexContainerFrame.h +++ b/layout/generic/nsFlexContainerFrame.h @@ -207,20 +207,20 @@ protected: * This avoids exponential reflows, see the comment on * CachedMeasuringReflowResult. */ - const CachedMeasuringReflowResult& MeasureAscentAndHeightForFlexItem( + const CachedMeasuringReflowResult& MeasureAscentAndBSizeForFlexItem( FlexItem& aItem, nsPresContext* aPresContext, ReflowInput& aChildReflowInput); /** - * This method performs a "measuring" reflow to get the content height of - * aFlexItem.Frame() (treating it as if it had auto-height), & returns the - * resulting height. + * This method performs a "measuring" reflow to get the content BSize of + * aFlexItem.Frame() (treating it as if it had a computed BSize of "auto"), + * and returns the resulting BSize measurement. * (Helper for ResolveAutoFlexBasisAndMinSize().) */ - nscoord MeasureFlexItemContentHeight(nsPresContext* aPresContext, + nscoord MeasureFlexItemContentBSize(nsPresContext* aPresContext, FlexItem& aFlexItem, - bool aForceVerticalResizeForMeasuringReflow, + bool aForceBSizeForMeasuringReflow, const ReflowInput& aParentReflowInput); /** |