removed the media match case from the attribute_mutated fn

This commit is contained in:
janvipalan 2018-02-25 00:02:33 +05:30
parent a0fff37de3
commit cef24def1a

View file

@ -194,13 +194,6 @@ impl VirtualMethods for HTMLLinkElement {
}
}
},
&local_name!("media") => {
if string_is_stylesheet(&rel) {
if let Some(href) = self.upcast::<Element>().get_attribute(&ns!(), &local_name!("href")) {
self.handle_stylesheet_url(&href.value());
}
}
},
_ => {},
}
}