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

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