Closed lilyspiniolas closed 3 weeks ago
cc @mustaqahmed @flackr @edgarchen @smaug---- @masayuki-nakano
Yes the asserts should have allowed interleaving. Thanks for spotting this.
FYI: in pointerevent_support.js, we have the utility method arePointerEventsBeforeCompatMouseEvents()
that checks proper interleaving.
PR which resolves this issue: https://github.com/web-platform-tests/wpt/pull/47395
Closing this issue now that https://github.com/web-platform-tests/wpt/pull/47395 has merged.
Test List
https://wpt.fyi/results/pointerevents/mouse-pointer-boundary-events-for-shadowdom.html?label=experimental&label=master&aligned
Rationale
The test currently checks for an array of four events in a specific order (2 pointer events followed by 2 mouse events) but according to https://w3c.github.io/pointerevents/#compatibility-mapping-with-mouse-events:
The test currently fails for the intended (but not required) interleaved order of events, and should be updated to allow for the correct events to occur in any order.