Bug 299322

Summary: REGRESSION(300277@main): [macOS] imported/w3c/web-platform-tests/uievents/mouse/mouse_boundary_events_after_reappending_last_over_target.tentative.html is consistently failing
Product: WebKit Reporter: Marta Darbinyan <darbinyan>
Component: New BugsAssignee: Marta Darbinyan <darbinyan>
Status: RESOLVED FIXED    
Severity: Normal CC: lily_spiniolas, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Marta Darbinyan
Reported 2025-09-22 15:05:48 PDT
The following test is failing very frequently on macOS after the change 300277@main imported/w3c/web-platform-tests/uievents/mouse/mouse_boundary_events_after_reappending_last_over_target.tentative.html FAIL After re-appending the last over element to outside the deepest mouseenter target at mouseover, mouse boundary events should be fired only on the element under the cursor assert_equals: expected "mouseover@div#child, mouseenter@body, mouseenter@div#grandparent, mouseenter@div#parent, mouseenter@div#child, mousemove@div#child, mouseover@div#parent" but got "mouseover@div#child, mouseenter@body, mouseenter@div#grandparent, mouseenter@div#parent, mouseenter@div#child, mousemove@div#child" PASS After re-appending the last over element to the deepest mouseenter target without the original parent at mouseover, mouse boundary events should not be fired FAIL After re-appending the last over element to outside the deepest mouseenter target (but keeps under the cursor) after mouseover, mouse boundary events should be fired on it again to correct the following mouseleave event targets assert_equals: expected "mouseover@div#child, mouseenter@body, mouseenter@div#grandparent, mouseenter@div#parent, mouseenter@div#child, mousemove@div#child, mouseleave@div#parent, mouseover@div#child, mouseenter@div#child" but got "mouseover@div#child, mouseenter@body, mouseenter@div#grandparent, mouseenter@div#parent, mouseenter@div#child, mousemove@div#child" -FAIL After re-appending the last over element to outside the deepest mouseenter target after mouseover, mouse boundary events should be fired only on the element under the cursor assert_equals: expected "mouseover@div#child, mouseenter@body, mouseenter@div#grandparent, mouseenter@div#parent, mouseenter@div#child, mousemove@div#child, mouseover@div#parent" but got "mouseover@div#child, mouseenter@body, mouseenter@div#grandparent, mouseenter@div#parent, mouseenter@div#child, mousemove@div#child, mouseover@div#parent, mouseenter@body, mouseenter@div#grandparent, mouseenter@div#parent" +FAIL After re-appending the last over element to outside the deepest mouseenter target after mouseover, mouse boundary events should be fired only on the element under the cursor assert_equals: expected "mouseover@div#child, mouseenter@body, mouseenter@div#grandparent, mouseenter@div#parent, mouseenter@div#child, mousemove@div#child, mouseover@div#parent" but got "mouseover@div#child, mouseenter@body, mouseenter@div#grandparent, mouseenter@div#parent, mouseenter@div#child, mousemove@div#child" PASS After re-appending the last over element to the deepest mouseenter target without the original parent after mouseover, mouse boundary events should not be fired PASS After removing and re-appending the last over element with flushing layout after mouseover, mouse boundary events should not be fired FAIL After removing after mouseover and re-appending the last over element at next animation frame, mouse boundary events should be fired assert_equals: expected "mouseover@div#child, mouseenter@body, mouseenter@div#grandparent, mouseenter@div#parent, mouseenter@div#child, mousemove@div#child, mouseover@div#parent, mouseout@div#parent, mouseover@div#child, mouseenter@div#child" but got "mouseover@div#child, mouseenter@body, mouseenter@div#grandparent, mouseenter@div#parent, mouseenter@div#child, mousemove@div#child" Test history: https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fuievents%2Fmouse%2Fmouse_boundary_events_after_reappending_last_over_target.tentative.html Test results: https://ews-build.webkit.org/#/builders/122/builds/37215
Attachments
Radar WebKit Bug Importer
Comment 1 2025-09-22 15:06:45 PDT
Marta Darbinyan
Comment 2 2025-09-22 16:37:26 PDT
EWS
Comment 3 2025-09-23 10:23:58 PDT
Committed 300404@main (89d6134568f3): <https://commits.webkit.org/300404@main> Reviewed commits have been landed. Closing PR #51154 and removing active labels.
EWS
Comment 4 2025-09-23 13:56:51 PDT
Test gardening commit 300424@main (4219938cf9d9): <https://commits.webkit.org/300424@main> Reviewed commits have been landed. Closing PR #51213 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.