WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
312499
[macOS iOS] imported/w3c/web-platform-tests/shadow-dom/reference-target/tentative/form.html is a flaky text failure.
https://bugs.webkit.org/show_bug.cgi?id=312499
Summary
[macOS iOS] imported/w3c/web-platform-tests/shadow-dom/reference-target/tenta...
Diego De La Toba
Reported
2026-04-16 11:48:20 PDT
imported/w3c/web-platform-tests/shadow-dom/reference-target/tentative/form.html is a flaky text failure on macOS and iOS. HISTORY:
https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fshadow-dom%2Freference-target%2Ftentative%2Fform.html
DIFF: --- /Volumes/Data/worker/Apple-Tahoe-Release-AppleSilicon-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/shadow-dom/reference-target/tentative/form-expected.txt +++ /Volumes/Data/worker/Apple-Tahoe-Release-AppleSilicon-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/shadow-dom/reference-target/tentative/form-actual.txt @@ -5,7 +5,7 @@ PASS Reference target works with setAttribute('form') FAIL Reference target works with form-associated custom element. realForm.moveBefore is not a function. (In 'realForm.moveBefore(customElementInShadow, input)', 'realForm.moveBefore' is undefined) FAIL Reference target works with nested shadow trees. assert_equals: The .elements property should have 3 elements. expected 3 but got 2 -FAIL Form association is updated when form is inserted in or removed from shadow DOM, including in nested shadow DOM assert_equals: The first element should be the reset button outside the shadow root. expected Element node <button id="reset-button-6" type="reset" form="fancy-form... but got Element node <input id="input-in-shadow" value="default value" form="r... +FAIL Form association is updated when form is inserted in or removed from shadow DOM, including in nested shadow DOM assert_equals: The reset button should show the shadow host as its form property. expected Element node <fancy-form-6 id="fancy-form-6"></fancy-form-6> but got null FAIL Form association works for image inputs, which aren't in the elements collection assert_equals: expected Element node <fancy-form-7 id="fancy-form-7"> </fancy-form-7> but got null DIFF URL:
https://build.webkit.org/results/Apple-Tahoe-Release-AppleSilicon-WK2-Tests/311376@main%20(3306)/imported/w3c/web-platform-tests/shadow-dom/reference-target/tentative/form-pretty-diff.html
REPRODUCTION: I was able to reproduce this on macOS and iOS 26.4 with the following: run-webkit-tests --no-build --no-retry --no-show-results --exit-after-n-failures=1 --expect-pass --iterations=50 --force --ios-simulator --release imported/w3c/web-platform-tests/shadow-dom/reference-target/tentative/form.html I am going to mark expectations as pass fail while this pends investigation.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-04-16 11:48:27 PDT
<
rdar://problem/174939846
>
Diego De La Toba
Comment 2
2026-04-16 11:58:34 PDT
Test gardening pull request:
https://github.com/WebKit/WebKit/pull/62912
EWS
Comment 3
2026-04-16 12:01:36 PDT
Test gardening commit
311394@main
(871735e3600c): <
https://commits.webkit.org/311394@main
> Reviewed commits have been landed. Closing PR #62912 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug