:defined works

This commit is contained in:
Patrick Shaughnessy 2020-01-27 21:00:34 -05:00
parent 6d220d02de
commit 8ca4db2cd6
9 changed files with 52 additions and 7 deletions

View file

@ -200,6 +200,8 @@ fn create_html_element(
None => {
if is_valid_custom_element_name(&*name.local) {
result.set_custom_element_state(CustomElementState::Undefined);
} else {
result.set_custom_element_state(CustomElementState::Uncustomized);
}
},
};