<?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>233636</bug_id>
          
          <creation_ts>2021-11-30 07:13:55 -0800</creation_ts>
          <short_desc>Pointer events are not triggered inside object elements on iPhone Safari</short_desc>
          <delta_ts>2021-12-07 07:14:21 -0800</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>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=203786</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>kari.pihkala</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>cdumez</cc>
    
    <cc>graouts</cc>
    
    <cc>hi</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1818710</commentid>
    <comment_count>0</comment_count>
      <attachid>445412</attachid>
    <who name="">kari.pihkala</who>
    <bug_when>2021-11-30 07:13:55 -0800</bug_when>
    <thetext>Created attachment 445412
testcase.html

Pointer events, such as onpointerdown, onpointerup, onpointerenter and onpointerleave, are not triggered on iPhone Safari.

How to reproduce:

1. Host the attached testcase.html file on a server.
2. Load the testcase.html page on iPhone Safari from the server.
3. Tap the black circle. Hold the finger down, the circle should become green (triggered by onpointerdown).
4. Release and the circle becomes dark gray (triggered by onclick).

Step 3 fails on iPhone Safari. The circle doesn&apos;t become green, which means that onpointerdown is not triggered. It does become dark gray when the touch is released, so onclick is correctly triggered.

Other pointer events are not triggered either (note: they are not tested by the testcase to keep it simple).

Tested to fail on iOS Safari 15.1. All events are triggered correctly on Mac Safari 15.1 (16612.2.9.1.30, 16612).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1818713</commentid>
    <comment_count>1</comment_count>
    <who name="">kari.pihkala</who>
    <bug_when>2021-11-30 07:23:52 -0800</bug_when>
    <thetext>Note: Step 1 is not necessary. Just open the testcase.html on iPhone or Mac by clicking the link to the attachment 445512.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1819118</commentid>
    <comment_count>2</comment_count>
    <who name="">kari.pihkala</who>
    <bug_when>2021-11-30 23:28:49 -0800</bug_when>
    <thetext>Sorry, it&apos;s the attachment 445412 (not 445512).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1821027</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-12-07 07:14:21 -0800</bug_when>
    <thetext>&lt;rdar://problem/86155189&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>445412</attachid>
            <date>2021-11-30 07:13:55 -0800</date>
            <delta_ts>2021-11-30 07:13:55 -0800</delta_ts>
            <desc>testcase.html</desc>
            <filename>testcase.html</filename>
            <type>text/html</type>
            <size>1199</size>
            <attacher>kari.pihkala</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KICAgIDxtZXRhIG5hbWU9InZpZXdwb3J0IiBj
b250ZW50PSJ3aWR0aD1kZXZpY2Utd2lkdGgsIGluaXRpYWwtc2NhbGU9MSI+CjwvaGVhZD4KPGJv
ZHk+C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