Upgrade Stylo to 2025-05-01 (#36835)

This continues #35990

Changelog:
- Upstream:
4558df359b...ca369cbc83
- Servo fixups:
2bc1e5183b...7edd19e2f0

Stylo tracking issue: https://github.com/servo/stylo/issues/178

---------

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2025-05-05 07:08:49 -07:00 committed by GitHub
parent 1f6050f931
commit 2fa96cf961
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 64 additions and 41 deletions

View file

@ -375,6 +375,9 @@ impl ComputedValuesExt for ComputedValues {
Inset::Auto => LengthPercentageOrAuto::Auto,
Inset::AnchorFunction(_) => unreachable!("anchor() should be disabled"),
Inset::AnchorSizeFunction(_) => unreachable!("anchor-size() should be disabled"),
Inset::AnchorContainingCalcFunction(_) => {
unreachable!("anchor() and anchor-size() should be disabled")
},
}
}
let position = self.get_position();
@ -495,7 +498,9 @@ impl ComputedValuesExt for ComputedValues {
match inset {
Margin::LengthPercentage(v) => LengthPercentageOrAuto::LengthPercentage(v),
Margin::Auto => LengthPercentageOrAuto::Auto,
Margin::AnchorSizeFunction(_) => unreachable!("anchor-size() should be disabled"),
Margin::AnchorSizeFunction(_) | Margin::AnchorContainingCalcFunction(_) => {
unreachable!("anchor-size() should be disabled")
},
}
}
let margin = self.get_margin();