Bug 239810 - iOS Safari "click" events use the MouseEvent interface instead of the PointerEvent interface
Summary: iOS Safari "click" events use the MouseEvent interface instead of the Pointer...
Status: RESOLVED DUPLICATE of bug 218665
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: Safari 15
Hardware: iPhone / iPad iOS 15
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-27 08:05 PDT by Jarod Gowgiel
Modified: 2022-04-27 09:48 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jarod Gowgiel 2022-04-27 08:05:47 PDT
Per https://www.w3.org/TR/uievents/#event-type-click, a "click" event should use the PointerEvent interface. In iOS Safari, these events instead use the MouseEvent interface.

Steps to reproduce:

On iOS Safari, tap the "Target" box on https://codepen.io/JarodG/pen/qBPaVgJ. Notice: 
* pointer<type> events use PointerEvent (correct)
* touch<type> events use TouchEvent (correct)
* mouse<type> events use MouseEvent (correct)
* click uses a MouseEvent (incorrect - should be PointerEvent)
Comment 1 Sam Sneddon [:gsnedders] 2022-04-27 09:48:01 PDT

*** This bug has been marked as a duplicate of bug 218665 ***