mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Add style check, test, and code fixes for an else brace check.
This commit is contained in:
parent
80cb0cf821
commit
6642358217
9 changed files with 26 additions and 20 deletions
|
@ -374,8 +374,7 @@ pub fn handle_is_selected(context: &BrowsingContext,
|
|||
}
|
||||
else if let Some(_) = node.downcast::<HTMLElement>() {
|
||||
Ok(false) // regular elements are not selectable
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
Err(())
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue