aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmllinkelement.rs
diff options
context:
space:
mode:
authorjanvipalan <janvi@infoworks.io>2018-02-25 00:02:33 +0530
committerjanvipalan <janvi@infoworks.io>2018-02-25 00:02:33 +0530
commitcef24def1af15ffe505021d38ee6157073ceeecd (patch)
treea2f2af90078f010e1a681d55c60ea48dde0af5b4 /components/script/dom/htmllinkelement.rs
parenta0fff37de3a836ff04b78bc752950535326b1859 (diff)
downloadservo-cef24def1af15ffe505021d38ee6157073ceeecd.tar.gz
servo-cef24def1af15ffe505021d38ee6157073ceeecd.zip
removed the media match case from the attribute_mutated fn
Diffstat (limited to 'components/script/dom/htmllinkelement.rs')
-rw-r--r--components/script/dom/htmllinkelement.rs7
1 files changed, 0 insertions, 7 deletions
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::<Element>().get_attribute(&ns!(), &local_name!("href")) {
- self.handle_stylesheet_url(&href.value());
- }
- }
- },
_ => {},
}
}