<?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>258565</bug_id>
          
          <creation_ts>2023-06-27 06:53:11 -0700</creation_ts>
          <short_desc>REGRESSION (257509@main): Tap event not registering on 3d transformed div</short_desc>
          <delta_ts>2023-11-27 21:42:12 -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 16</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 16</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=229141</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>265309</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Bernath">bernath.adam</reporter>
          <assigned_to name="Matt Woodrow">mattwoodrow</assigned_to>
          <cc>a_protyasha</cc>
    
    <cc>mattwoodrow</cc>
    
    <cc>richard_robinson2</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>volkov.slava31</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1963793</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Bernath">bernath.adam</who>
    <bug_when>2023-06-27 06:53:11 -0700</bug_when>
    <thetext>Dear Webkit team,

The latest iOS version does not register the same tap events as the previous versions did (tested on 14.8.1 and it also worked on the previous major iOS version 15 - before updating my phone to the latest one that is 16.5.1 at the time of writing).
Here is a site that you can test it on with different ios safari versions:
https://app.referric.com

When you tap the &quot;...&quot; buttons the divs turn 180 degrees with css transform, and the back side of the divs contain information and buttons which worked without any issue (and still works in older ios safari browsers), but the current version is not registering the same touch events and the links are not tappable, while on older ios safari browsers (eg 14.8.1) you can turn back the card with the &quot;x&quot; button.

Please look into this issue, as I have no idea where else to turn for help, my business is relying on iOS safari users, and would really appreciate some help.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1963830</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-06-27 08:50:59 -0700</bug_when>
    <thetext>&lt;rdar://problem/111393557&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1964040</commentid>
    <comment_count>2</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2023-06-28 09:10:53 -0700</bug_when>
    <thetext>Regressed at https://commits.webkit.org/257509@main</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1964043</commentid>
    <comment_count>3</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2023-06-28 09:18:48 -0700</bug_when>
    <thetext>https://commits.webkit.org/257255@main (Make hit-testing changes for css 3d transforms interop) might be the actual regression point.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1964052</commentid>
    <comment_count>4</comment_count>
      <attachid>466845</attachid>
    <who name="alan">zalan</who>
    <bug_when>2023-06-28 09:58:06 -0700</bug_when>
    <thetext>Created attachment 466845
Test reduction</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1964081</commentid>
    <comment_count>5</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2023-06-28 11:57:23 -0700</bug_when>
    <thetext>hittest on (double) rotated boxes works fine in flat space. Things start breaking when &quot;transform-style&quot; is &quot;preserve-3d&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1965086</commentid>
    <comment_count>6</comment_count>
    <who name="Adam Bernath">bernath.adam</who>
    <bug_when>2023-07-05 02:19:37 -0700</bug_when>
    <thetext>Hi, any update on this issue?

I can see its a problem of the 3d transform - but it wasnt an issue in earlier versions - even tried with the -webkit- equivalent, didnt help (although that is something that was an issue many years ago, and was fixed to work without the webkit prefix, if I&apos;m not mistaken).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1966037</commentid>
    <comment_count>7</comment_count>
    <who name="Matt Woodrow">mattwoodrow</who>
    <bug_when>2023-07-10 14:20:09 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/15707</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1967800</commentid>
    <comment_count>8</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-07-23 18:55:09 -0700</bug_when>
    <thetext>Committed 266237@main (1aa517d47471): &lt;https://commits.webkit.org/266237@main&gt;

Reviewed commits have been landed. Closing PR #15707 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1967815</commentid>
    <comment_count>9</comment_count>
    <who name="Adam Bernath">bernath.adam</who>
    <bug_when>2023-07-24 01:32:52 -0700</bug_when>
    <thetext>Thank you, I&apos;ve seen the progress, unfortunately there are still some issues:

- when transforming around the Y axis (ios safari https://app.referric.com) it partially works, I can flip back the cards, but the small link still dont get a tap event (terms and conditions above the cta)

- when transforming around the X axis it is still not getting events and no way to turn back the cards (ios safari eg. https://www.nyacasino.se) - other events also not firing on the back face (cta, terms link, x button)

Can you please look into it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1968194</commentid>
    <comment_count>10</comment_count>
    <who name="Matt Woodrow">mattwoodrow</who>
    <bug_when>2023-07-25 20:44:13 -0700</bug_when>
    <thetext>The fix here has only been merged into WebKit, it hasn&apos;t shipped in an iOS Safari release yet.

Both of those sites should work correctly when it does.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1968214</commentid>
    <comment_count>11</comment_count>
    <who name="Adam Bernath">bernath.adam</who>
    <bug_when>2023-07-26 06:12:12 -0700</bug_when>
    <thetext>(In reply to Matt Woodrow from comment #10)
&gt; The fix here has only been merged into WebKit, it hasn&apos;t shipped in an iOS
&gt; Safari release yet.
&gt; 
&gt; Both of those sites should work correctly when it does.

okay, makes sense - what do you think when will that happen roughly?</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>466845</attachid>
            <date>2023-06-28 09:58:06 -0700</date>
            <delta_ts>2023-06-28 09:58:06 -0700</delta_ts>
            <desc>Test reduction</desc>
            <filename>258565.html</filename>
            <type>text/html</type>
            <size>473</size>
            <attacher name="alan">zalan</attacher>
            
              <data encoding="base64">PHN0eWxlPiAKLnJvdGF0ZVggewogIHRyYW5zZm9ybTogcm90YXRlWCgxODBkZWcpOwogIHRyYW5z
Zm9ybS1zdHlsZTogcHJlc2VydmUtM2Q7CiAgd2lkdGg6IDMwMHB4OwogIGhlaWdodDogMjAwcHg7
CiAgYmFja2dyb3VuZDogY3lhbjsKIH0KCi5yb3RhdGVZIHsKICB3aWR0aDogMjAwcHg7CiAgaGVp
Z2h0OiAxMDBweDsKICB0cmFuc2Zvcm06IHJvdGF0ZVkoMTgwZGVnKTsKICBiYWNrZ3JvdW5kOiBi
bHVlOwp9CgojYnV0dG9uIHsKICB3aWR0aDogMTAwcHg7CiAgaGVpZ2h0OiA1MHB4OwogIGJhY2tn
cm91bmQtY29sb3I6IHJlZDsKfQo8L3N0eWxlPgpQQVNTIGlmIHRhcHBpbmcgb24gdGhlIHJlZCBy
ZWN0YW5nbGUgdHVybnMgaXQgaW50byBncmVlbi4KPGRpdiBjbGFzcz1yb3RhdGVYPjxkaXYgY2xh
c3M9cm90YXRlWT48ZGl2IGlkPWJ1dHRvbiBvbmNsaWNrPSJidXR0b24uc3R5bGUuYmFja2dyb3Vu
ZENvbG9yPSdncmVlbiciPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>