mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
style: Simplify our setup for font metric queries from style
While looking at moving the flag around I realized that the only reason we have FontMetricsProvider and co is because we didn't have access to the per-document font-prefs cache. That's trivial to fix tho, so do that and simplify the setup for font queries even more. Differential Revision: https://phabricator.services.mozilla.com/D157589
This commit is contained in:
parent
99d588a90e
commit
8a63d9e059
3 changed files with 6 additions and 9 deletions
|
@ -10,7 +10,7 @@ use crate::parser::{Parse, ParserContext};
|
|||
use crate::values::computed::font::{FamilyName, FontFamilyList, SingleFontFamily};
|
||||
use crate::values::computed::FontSizeAdjust as ComputedFontSizeAdjust;
|
||||
use crate::values::computed::{font as computed, Length, NonNegativeLength};
|
||||
use crate::values::computed::{Percentage as ComputedPercentage};
|
||||
use crate::values::computed::Percentage as ComputedPercentage;
|
||||
use crate::values::computed::{CSSPixelLength, Context, ToComputedValue};
|
||||
use crate::values::generics::font::VariationValue;
|
||||
use crate::values::generics::font::{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue