aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/matching.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2020-02-10 16:50:57 +0100
committerEmilio Cobos Álvarez <emilio@crisal.io>2020-02-12 02:43:23 +0100
commit071ce6f345556e4cdce79b8b30816316c04c8c96 (patch)
tree70373048c7c720692ba5282c34e5a91da9c4cde0 /components/style/matching.rs
parent1754c832d8ef7e96559cb3e1941b8cfdd48e4953 (diff)
downloadservo-071ce6f345556e4cdce79b8b30816316c04c8c96.tar.gz
servo-071ce6f345556e4cdce79b8b30816316c04c8c96.zip
style: Rustfmt recent changes.
Diffstat (limited to 'components/style/matching.rs')
-rw-r--r--components/style/matching.rs5
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();