aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/element.rs
diff options
context:
space:
mode:
authorIan Moody <moz-ian@perix.co.uk>2019-04-18 13:34:32 +0100
committerIan Moody <moz-ian@perix.co.uk>2019-04-18 13:46:59 +0100
commit8d7fe68ac3fc3eb6ec6caf4a6356c4b57bf06243 (patch)
treebc4a089ac039fe1d843473d8b0e5b40afd389873 /components/script/dom/element.rs
parent04c93c511b021a1e76512f997992667540657c4e (diff)
downloadservo-8d7fe68ac3fc3eb6ec6caf4a6356c4b57bf06243.tar.gz
servo-8d7fe68ac3fc3eb6ec6caf4a6356c4b57bf06243.zip
Remove :-servo-case-sensitive-type-attr()
No longer needed now that the case-sensitive flag for attributes selectors is supported. Update user-agent CSS sheet to use the standard flag. Fixes #23227
Diffstat (limited to 'components/script/dom/element.rs')
-rw-r--r--components/script/dom/element.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/components/script/dom/element.rs b/components/script/dom/element.rs
index 6da5d92fdb1..c3d5fbb55d0 100644
--- a/components/script/dom/element.rs
+++ b/components/script/dom/element.rs
@@ -2889,10 +2889,6 @@ impl<'a> SelectorsElement for DomRoot<Element> {
},
},
- NonTSPseudoClass::ServoCaseSensitiveTypeAttr(ref expected_value) => self
- .get_attribute(&ns!(), &local_name!("type"))
- .map_or(false, |attr| attr.value().eq(expected_value)),
-
// FIXME(heycam): This is wrong, since extended_filtering accepts
// a string containing commas (separating each language tag in
// a list) but the pseudo-class instead should be parsing and