mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
style: Properly track whether <angle> or <time> values came from calc() expressions.
This commit is contained in:
parent
c654c05884
commit
fc72f096a0
10 changed files with 281 additions and 90 deletions
|
@ -55,7 +55,7 @@ fn test_linear_gradient() {
|
|||
font_metrics_provider: None,
|
||||
};
|
||||
assert_eq!(specified::AngleOrCorner::None.to_computed_value(&specified_context),
|
||||
computed::AngleOrCorner::Angle(Angle(PI)));
|
||||
computed::AngleOrCorner::Angle(Angle::from_radians(PI)));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue