mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
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:
parent
1f6050f931
commit
2fa96cf961
9 changed files with 64 additions and 41 deletions
|
@ -767,7 +767,9 @@ impl From<StyleSize> for Size<LengthPercentage> {
|
|||
StyleSize::FitContent => Size::FitContent,
|
||||
StyleSize::FitContentFunction(lp) => Size::FitContentFunction(lp.0),
|
||||
StyleSize::Stretch => Size::Stretch,
|
||||
StyleSize::AnchorSizeFunction(_) => unreachable!("anchor-size() should be disabled"),
|
||||
StyleSize::AnchorSizeFunction(_) | StyleSize::AnchorContainingCalcFunction(_) => {
|
||||
unreachable!("anchor-size() should be disabled")
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -782,7 +784,9 @@ impl From<StyleMaxSize> for Size<LengthPercentage> {
|
|||
StyleMaxSize::FitContent => Size::FitContent,
|
||||
StyleMaxSize::FitContentFunction(lp) => Size::FitContentFunction(lp.0),
|
||||
StyleMaxSize::Stretch => Size::Stretch,
|
||||
StyleMaxSize::AnchorSizeFunction(_) => unreachable!("anchor-size() should be disabled"),
|
||||
StyleMaxSize::AnchorSizeFunction(_) | StyleMaxSize::AnchorContainingCalcFunction(_) => {
|
||||
unreachable!("anchor-size() should be disabled")
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue