mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
removed the media match case from the attribute_mutated fn
This commit is contained in:
parent
a0fff37de3
commit
cef24def1a
1 changed files with 0 additions and 7 deletions
|
@ -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());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
_ => {},
|
_ => {},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue