Add check for valid custom element name in element::attach_shadow (#34749)

* Add valid custom element name check

Signed-off-by: stevennovaryo <steven.novaryo@gmail.com>

* Update wpt test expectation

Signed-off-by: stevennovaryo <steven.novaryo@gmail.com>

---------

Signed-off-by: stevennovaryo <steven.novaryo@gmail.com>
This commit is contained in:
Steven Novaryo 2024-12-24 11:36:57 +08:00 committed by GitHub
parent ac372cf205
commit d8b7195c75
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 70 additions and 49 deletions

View file

@ -1,6 +1,3 @@
[ElementInternals-validation.html]
["anchor" argument of setValidity()]
expected: FAIL
[Custom control affects :valid :invalid for FORM and FIELDSET]
expected: FAIL

View file

@ -1,2 +1,3 @@
[disabled-delegatesFocus.html]
expected: ERROR
[Focus events fire on disabled form-associated custom elements with delegatesFocus]
expected: FAIL