<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>239810</bug_id>
          
          <creation_ts>2022-04-27 08:05:47 -0700</creation_ts>
          <short_desc>iOS Safari &quot;click&quot; events use the MouseEvent interface instead of the PointerEvent interface</short_desc>
          <delta_ts>2022-04-27 09:48:01 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>UI Events</component>
          <version>Safari 15</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 15</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>218665</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jarod Gowgiel">jarod.gowgiel</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1864802</commentid>
    <comment_count>0</comment_count>
    <who name="Jarod Gowgiel">jarod.gowgiel</who>
    <bug_when>2022-04-27 08:05:47 -0700</bug_when>
    <thetext>Per https://www.w3.org/TR/uievents/#event-type-click, a &quot;click&quot; event should use the PointerEvent interface. In iOS Safari, these events instead use the MouseEvent interface.

Steps to reproduce:

On iOS Safari, tap the &quot;Target&quot; box on https://codepen.io/JarodG/pen/qBPaVgJ. Notice: 
* pointer&lt;type&gt; events use PointerEvent (correct)
* touch&lt;type&gt; events use TouchEvent (correct)
* mouse&lt;type&gt; events use MouseEvent (correct)
* click uses a MouseEvent (incorrect - should be PointerEvent)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1864833</commentid>
    <comment_count>1</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2022-04-27 09:48:01 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 218665 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>