diff options
Diffstat (limited to 'components/style/matching.rs')
-rw-r--r-- | components/style/matching.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/components/style/matching.rs b/components/style/matching.rs index 42921f052c4..06e74810cfd 100644 --- a/components/style/matching.rs +++ b/components/style/matching.rs @@ -706,7 +706,10 @@ pub trait MatchMethods: TElement { let new_primary_style = data.styles.primary.as_ref().unwrap(); let mut cascade_requirement = ChildCascadeRequirement::CanSkipCascade; - if new_primary_style.flags.contains(ComputedValueFlags::IS_ROOT_ELEMENT_STYLE) { + if new_primary_style + .flags + .contains(ComputedValueFlags::IS_ROOT_ELEMENT_STYLE) + { let device = context.shared.stylist.device(); let new_font_size = new_primary_style.get_font().clone_font_size(); |