mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Add more enum types to avoid unreachable!() for selector case-sensitivity
This commit is contained in:
parent
7149a6a29d
commit
76166bce58
6 changed files with 57 additions and 48 deletions
|
@ -103,7 +103,7 @@ fn test_parse_stylesheet() {
|
|||
local_name_lower: local_name!("type"),
|
||||
operator: AttrSelectorOperator::Equal,
|
||||
value: "hidden".to_owned(),
|
||||
case_sensitivity: CaseSensitivity::AsciiCaseInsensitive,
|
||||
case_sensitivity: ParsedCaseSensitivity::AsciiCaseInsensitive,
|
||||
never_matches: false,
|
||||
}
|
||||
]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue