mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
Use HTMLElement interface for possible CEs
This commit is contained in:
parent
e83a0045f9
commit
37cbc85727
3 changed files with 5 additions and 8 deletions
|
@ -750,7 +750,7 @@ impl ElementQueue {
|
|||
}
|
||||
|
||||
/// https://html.spec.whatwg.org/multipage/#valid-custom-element-name
|
||||
fn is_valid_custom_element_name(name: &str) -> bool {
|
||||
pub fn is_valid_custom_element_name(name: &str) -> bool {
|
||||
// Custom elment names must match:
|
||||
// PotentialCustomElementName ::= [a-z] (PCENChar)* '-' (PCENChar)*
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue