diff --git a/components/script/dom/htmllinkelement.rs b/components/script/dom/htmllinkelement.rs index be4c974bf67..f3f82cb5ce1 100644 --- a/components/script/dom/htmllinkelement.rs +++ b/components/script/dom/htmllinkelement.rs @@ -194,13 +194,6 @@ impl VirtualMethods for HTMLLinkElement { } } }, - &local_name!("media") => { - if string_is_stylesheet(&rel) { - if let Some(href) = self.upcast::().get_attribute(&ns!(), &local_name!("href")) { - self.handle_stylesheet_url(&href.value()); - } - } - }, _ => {}, } }