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
|
@ -817,9 +817,6 @@ impl<'le> ::selectors::Element for ServoLayoutElement<'le> {
|
|||
_ => true,
|
||||
}
|
||||
},
|
||||
NonTSPseudoClass::ServoCaseSensitiveTypeAttr(ref expected_value) => self
|
||||
.get_attr_enum(&ns!(), &local_name!("type"))
|
||||
.map_or(false, |attr| attr == expected_value),
|
||||
NonTSPseudoClass::ReadOnly => !self
|
||||
.element
|
||||
.get_state_for_layout()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue