mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Rename CaseSensitivity::CaseInsensitive to AsciiCaseInsensitive
This commit is contained in:
parent
864f5509d8
commit
0b1e51de53
3 changed files with 5 additions and 5 deletions
|
@ -415,7 +415,7 @@ fn matches_simple_selector<E, F>(
|
|||
Component::AttrEqual(ref attr, ref value, case_sensitivity) => {
|
||||
match case_sensitivity {
|
||||
CaseSensitivity::CaseSensitive => element.match_attr_equals(attr, value),
|
||||
CaseSensitivity::CaseInsensitive => element.match_attr_equals_ignore_ascii_case(attr, value),
|
||||
CaseSensitivity::AsciiCaseInsensitive => element.match_attr_equals_ignore_ascii_case(attr, value),
|
||||
}
|
||||
}
|
||||
Component::AttrIncludes(ref attr, ref value) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue