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

@ -683,6 +683,7 @@ impl MaybeNew for ViewportConstraints {
layout_parent_style: device.default_computed_values(),
style: device.default_computed_values().clone(),
font_metrics_provider: &provider,
in_media_query: false,
};
// DEVICE-ADAPT § 9.3 Resolving 'extend-to-zoom'