Bug 239810

Summary: iOS Safari "click" events use the MouseEvent interface instead of the PointerEvent interface
Product: WebKit Reporter: Jarod Gowgiel <jarod.gowgiel>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal    
Priority: P2    
Version: Safari 15   
Hardware: iPhone / iPad   
OS: iOS 15   

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 ***