Bug 1958914: Treat AnchorResolved-using types as instantiations, not subtypes. r=layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D244658
This commit is contained in:
@@ -338,7 +338,7 @@ struct RepeatTrackSizingInput {
|
||||
// When computing the intrinsic inline size, disregard the explicit
|
||||
// inline-size property as it should not affect the final result.
|
||||
const auto styleSize = aAxis == LogicalAxis::Inline
|
||||
? AnchorResolvedSize::Auto()
|
||||
? AnchorResolvedSizeHelper::Auto()
|
||||
: pos->BSize(aWM, positionProperty);
|
||||
if (styleSize->ConvertsToLength()) {
|
||||
size = std::clamp(adjustForBoxSizing(styleSize->ToLength()), min, max);
|
||||
|
||||
Reference in New Issue
Block a user