mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
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:
parent
04c93c511b
commit
8d7fe68ac3
4 changed files with 10 additions and 41 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue