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:
David Shin
2025-04-08 02:29:19 +00:00
parent c6aa1be101
commit c291c3a105
9 changed files with 127 additions and 199 deletions

View File

@@ -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);