diff options
-rw-r--r-- | components/script/dom/htmlfontelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlfontelement.rs b/components/script/dom/htmlfontelement.rs index 30dd8533242..dbd876b1751 100644 --- a/components/script/dom/htmlfontelement.rs +++ b/components/script/dom/htmlfontelement.rs @@ -66,7 +66,7 @@ impl VirtualMethods for HTMLFontElement { fn attribute_mutated(&self, attr: &Attr, mutation: AttributeMutation) { self.super_type().unwrap().attribute_mutated(attr, mutation); match attr.local_name() { - &atom!(color) => { + &atom!(color) => { self.color.set(mutation.new_value(attr).and_then(|value| { str::parse_legacy_color(&value).ok() })); |