summaryrefslogtreecommitdiff
path: root/layout/generic/nsFrame.h
diff options
context:
space:
mode:
authorFranklinDM <mrmineshafter17@gmail.com>2022-04-07 00:56:05 +0800
committerFranklinDM <mrmineshafter17@gmail.com>2022-04-07 18:35:50 +0800
commit567ba7ede6757311b32f0152abe6db6f5df6ff07 (patch)
tree16a29d97d7225367cf194da9c584ca63c07574bc /layout/generic/nsFrame.h
parent79b640795aacac89e67043a22cb3ceb622bd0864 (diff)
downloaduxp-567ba7ede6757311b32f0152abe6db6f5df6ff07.tar.gz
Issue #1370 - Part 4: Treat `flex-basis: content` as `max-content`
This uses a different approach and builds upon the refactoring made in the 576eb6ee01fb9ee3669cad634b26473c2886cab1. Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1374540
Diffstat (limited to 'layout/generic/nsFrame.h')
-rw-r--r--layout/generic/nsFrame.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/layout/generic/nsFrame.h b/layout/generic/nsFrame.h
index 3110335dd5..d703a62942 100644
--- a/layout/generic/nsFrame.h
+++ b/layout/generic/nsFrame.h
@@ -272,6 +272,7 @@ public:
* as 'width', for sizing purposes.
*/
void SetCoordToFlexBasis(bool aIsInlineFlexItem,
+ bool aIntrinsic,
const nsStyleCoord* aFlexBasis,
const nsStyleCoord** aInlineStyle,
const nsStyleCoord** aBlockStyle);