diff options
author | janvipalan <janvi@infoworks.io> | 2018-02-25 00:02:33 +0530 |
---|---|---|
committer | janvipalan <janvi@infoworks.io> | 2018-02-25 00:02:33 +0530 |
commit | cef24def1af15ffe505021d38ee6157073ceeecd (patch) | |
tree | a2f2af90078f010e1a681d55c60ea48dde0af5b4 /components/script/dom/htmllinkelement.rs | |
parent | a0fff37de3a836ff04b78bc752950535326b1859 (diff) | |
download | servo-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.rs | 7 |
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()); - } - } - }, _ => {}, } } |