script: Set validation anchor to target element in ElementInternals::SetValidity when anchor is not given (#39247)

Testing: Covered by existing web platform tests

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
Simon Wülker 2025-09-11 03:26:09 +02:00 committed by GitHub
parent da64921877
commit 93ad2cf62a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 18 additions and 18 deletions

View file

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

View file

@ -1,3 +0,0 @@
[form-disabled-callback.html]
[A disabled form-associated custom element should not submit an entry for it]
expected: FAIL