mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Simplify our setup for font metric queries from style
This is a backport of https://phabricator.services.mozilla.com/D157589, by Emilio Cobos Álvarez, plus some additions so that Servo compiles, and some parts from https://phabricator.services.mozilla.com/D144455. Should have no change in behavior.
This commit is contained in:
parent
feaa66b597
commit
ab2ba273e3
21 changed files with 172 additions and 322 deletions
|
@ -351,7 +351,6 @@ where
|
|||
parent_style,
|
||||
parent_style,
|
||||
layout_parent_style,
|
||||
&self.context.thread_local.font_metrics_provider,
|
||||
Some(&self.context.thread_local.rule_cache),
|
||||
&mut conditions,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue