mirror of
https://github.com/servo/servo.git
synced 2025-08-13 17:35:36 +01:00
style: Use used, rather than computed font-size for font-metric dependent units
Differential Revision: https://phabricator.services.mozilla.com/D165737
This commit is contained in:
parent
d30400d3ea
commit
18b9e1b615
11 changed files with 64 additions and 39 deletions
|
@ -53,7 +53,7 @@ impl RuleCacheConditions {
|
|||
}
|
||||
|
||||
if let Some(fs) = self.font_size {
|
||||
if style.get_font().clone_font_size().size != fs {
|
||||
if style.get_font().clone_font_size().computed_size != fs {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue