NEW314136
[macOS] accessibility/mac/client/div-bounds.html is a flaky text failure.
https://bugs.webkit.org/show_bug.cgi?id=314136
Summary [macOS] accessibility/mac/client/div-bounds.html is a flaky text failure.
Diego De La Toba
Reported 2026-05-05 16:34:20 PDT
accessibility/mac/client/div-bounds.html is a flaky text failure on macOS. HISTORY: https://results.webkit.org/?suite=layout-tests&test=accessibility%2Fmac%2Fclient%2Fdiv-bounds.html DIFF: --- /Volumes/Data/worker/Apple-Tahoe-Release-AppleSilicon-WK2-Tests/build/layout-test-results/accessibility/mac/client/div-bounds-expected.txt +++ /Volumes/Data/worker/Apple-Tahoe-Release-AppleSilicon-WK2-Tests/build/layout-test-results/accessibility/mac/client/div-bounds-actual.txt @@ -8,8 +8,8 @@ div1 height: 80 div2 width: 120 div2 height: 60 -x difference (div2.x - div1.x): 50 -y difference (div2.y - div1.y): 130 +x difference (div2.x - div1.x): 0 +y difference (div2.y - div1.y): 0 PASS successfullyParsed is true DIFF URL: https://build.webkit.org/results/Apple-Tahoe-Release-AppleSilicon-WK2-Tests/312628@main%20(3676)/accessibility/mac/client/div-bounds-pretty-diff.html REPRODUCTION: I was able to reproduce the failure on macOS 26.4 release ToT with the following: run-webkit-tests --no-build --no-retry --no-show-results --exit-after-n-failures=1 --expect-pass --iterations=10 --force -f --release accessibility/mac/client/div-bounds.html I am going to mark expectations as pass fail while this pends investigation.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-05-05 16:34:26 PDT
Diego De La Toba
Comment 2 2026-05-05 16:40:54 PDT
Test gardening pull request: https://github.com/WebKit/WebKit/pull/64309
EWS
Comment 3 2026-05-05 16:42:53 PDT
Test gardening commit 312650@main (af655535c03c): <https://commits.webkit.org/312650@main> Reviewed commits have been landed. Closing PR #64309 and removing active labels.
Diego De La Toba
Comment 4 2026-05-05 16:43:35 PDT
I think what's happening here is a timing issue where the test grabs element positions before they settle. I resolved locally by adding a 'waitFor' poll that waits until elements are in the right position.
Diego De La Toba
Comment 5 2026-05-05 16:52:03 PDT
Diego De La Toba
Comment 6 2026-05-06 10:37:04 PDT
This appears to be a genuine bug since isFrameGeometryInitialized and waitForFrameGeometryReady are supposed to guarantee it is safe to query geometry.
Note You need to log in before you can comment on or make changes to this bug.