Add style check, test, and code fixes for an else brace check.

This commit is contained in:
Travis Dean 2016-07-04 17:05:20 -04:00
parent 80cb0cf821
commit 6642358217
9 changed files with 26 additions and 20 deletions

View file

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