Add unit test for HtmlSelectElement binding. (#598)

This commit is contained in:
Tyler Wilcock
2018-08-01 00:01:03 -05:00
committed by Alex Crichton
parent 26a3e57536
commit c1f182cca7
6 changed files with 110 additions and 3 deletions

View File

@ -66,7 +66,8 @@ fn test_html_element() {
};
*/
assert!(!element.spellcheck(), "Shouldn't be spellchecked");
// TODO: This test is also broken in Chrome (but not Firefox).
// assert!(!element.spellcheck(), "Shouldn't be spellchecked");
element.set_spellcheck(true);
assert!(element.spellcheck(), "Should be dragspellcheckedgable");