mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
:defined works
This commit is contained in:
parent
6d220d02de
commit
8ca4db2cd6
9 changed files with 52 additions and 7 deletions
|
@ -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);
|
||||
}
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue