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
This commit is contained in:
Ian Moody 2019-04-18 13:34:32 +01:00
parent 04c93c511b
commit 8d7fe68ac3
4 changed files with 10 additions and 41 deletions

View file

@ -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