Commit d59b8073 authored by Christian Biesinger's avatar Christian Biesinger Committed by Commit Bot

[css-flexbox] Add comment to IntrinsicContentBlockSize

As requested in https://crrev.com/c/1546002

R=dgrogan@chromium.org

Bug: 945214
Change-Id: I20f6d82971b3a1b4ab632f7ac30db56ff792c36f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1546938
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Reviewed-by: default avatarDavid Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#646610}
parent 99f30a0f
...@@ -314,6 +314,13 @@ class FlexLayoutAlgorithm { ...@@ -314,6 +314,13 @@ class FlexLayoutAlgorithm {
bool ShouldApplyMinSizeAutoForChild(const LayoutBox& child) const; bool ShouldApplyMinSizeAutoForChild(const LayoutBox& child) const;
// Returns the intrinsic size of this box in the block direction. Call this
// after all flex lines have been created and processed (ie. after the
// ComputeLineItemsPosition stage).
// For a column flexbox, this will return the max across all flex lines of
// the length of the line, minus any added spacing due to justification.
// For row flexboxes, this returns the bottom (block axis) of the last flex
// line. In both cases, border/padding is not included.
LayoutUnit IntrinsicContentBlockSize() const; LayoutUnit IntrinsicContentBlockSize() const;
static TransformedWritingMode GetTransformedWritingMode(const ComputedStyle&); static TransformedWritingMode GetTransformedWritingMode(const ComputedStyle&);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment