stylo: Use gecko's font metrics

This commit is contained in:
Manish Goregaokar 2017-04-07 15:49:44 -07:00 committed by Manish Goregaokar
parent 1154600dd4
commit 25667d0321
10 changed files with 72 additions and 58 deletions

View file

@ -53,6 +53,7 @@ fn test_linear_gradient() {
layout_parent_style: initial_style,
style: initial_style.clone(),
font_metrics_provider: &ServoMetricsProvider,
in_media_query: false,
};
assert_eq!(specified::AngleOrCorner::None.to_computed_value(&specified_context),
computed::AngleOrCorner::Angle(Angle::from_radians(PI)));