summaryrefslogtreecommitdiff
path: root/layout/generic/nsFlexContainerFrame.h
diff options
context:
space:
mode:
authorJeremy Andrews <athenian200@outlook.com>2022-08-16 02:14:53 -0500
committerJeremy Andrews <athenian200@outlook.com>2022-08-16 02:14:53 -0500
commit2a57b39dbc1cc8b2bb32dedd87707680a1025430 (patch)
tree73588f620f0b15df6f139908c7f14304f5d12949 /layout/generic/nsFlexContainerFrame.h
parent50bd3acb5b664fab9a78e5cf160ad92cdb577a6e (diff)
downloaduxp-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.h12
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);
/**