<?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>274654</bug_id>
          
          <creation_ts>2024-05-24 07:45:38 -0700</creation_ts>
          <short_desc>Transformed button can not be clicked</short_desc>
          <delta_ts>2024-10-26 00:54:03 -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 17</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 17</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=237470</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=22787</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=53695</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=137313</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>3DTransformInterop, BrowserCompat, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Krystof T">kipashmobile</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>a_protyasha</cc>
    
    <cc>koivisto</cc>
    
    <cc>mattwoodrow</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2037631</commentid>
    <comment_count>0</comment_count>
      <attachid>471496</attachid>
    <who name="Krystof T">kipashmobile</who>
    <bug_when>2024-05-24 07:45:38 -0700</bug_when>
    <thetext>Created attachment 471496
Repro case. Click on the button, check console or observe alert.

## What is broken:
A button can&apos;t be clicked when multiple parent nodes have CSS transform property.
Adding `pointerdown` listener to all the elements reveal that the last element (button #projected) doesn&apos;t receive any event. 

I SPECULATE: that the visual is different then the interaction mask.

## How to reproduce:
I attach a clear HTML repro case where on Safari clicking the button doesn&apos;t pop the alert. 
Note: CSS Style is in head

## More Context:
This html is the result of Three.js&apos;s CSS3DRenderer feature which puts html into a 3D perspective matching the engine&apos;s perspective camera.
It utilizes 2 wrapper objects (#A, #B) with two `transform: matrix3d()` and other CSS translation properties.

## Reproduced in:
- Safari iOS 17.5.1 (21F90)
- iOS Chrome (125.0.6422.80)
- iOS Firefox (126.1 (41973))

## Works correctly in:
- Android Chrome (125.0.6422.52)
- Android Firefox (124.1.0)
- Windows Chrome (125.0.6422.77)
- Windows Firefox (126.0)

## Unconfirmed:
- Playwright&apos;s Webkit (Playwright 1.44.1) -&gt; There it transformed the button out of the screen.
- Safari OS X -&gt; A friend confirmed that it doesn&apos;t work for him. Unsure what OS version.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2037646</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-05-24 08:53:54 -0700</bug_when>
    <thetext>I am able to reproduce this in Safari 17.5 where click was not registered while Chrome Canary 127 and Firefox Nightly 128 are working fine and register click.

Marking this as &apos;BrowserCompat&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2037647</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-05-24 08:54:06 -0700</bug_when>
    <thetext>&lt;rdar://problem/128684292&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2038079</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2024-05-27 10:39:27 -0700</bug_when>
    <thetext>Probably a dupe of one or more bugs that I&apos;m relating.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2038246</commentid>
    <comment_count>4</comment_count>
    <who name="Abrar Rahman Protyasha">a_protyasha</who>
    <bug_when>2024-05-28 12:18:15 -0700</bug_when>
    <thetext>We should be able to write a WPT for this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2070717</commentid>
    <comment_count>5</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-10-26 00:54:03 -0700</bug_when>
    <thetext>Progressed in Safari 18.0, it is still happening on Safari 17.6 but not in Safari 18.0.1.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>471496</attachid>
            <date>2024-05-24 07:45:38 -0700</date>
            <delta_ts>2024-05-24 07:45:38 -0700</delta_ts>
            <desc>Repro case. Click on the button, check console or observe alert.</desc>
            <filename>ios_cant_button_click_after_multiple_transform.html</filename>
            <type>text/html</type>
            <size>1556</size>
            <attacher name="Krystof T">kipashmobile</attacher>
            
              <data encoding="base64">PGhlYWQ+DQogIDxzdHlsZT4NCiAgICAjY29udGFpbmVyIHsNCiAgICAgIG92ZXJmbG93OiBoaWRk
ZW47DQogICAgICBwb2ludGVyLWV2ZW50czogYWxsOw0KICAgICAgcG9zaXRpb246IGFic29sdXRl
Ow0KICAgICAgdG9wOiAwcHg7DQogICAgICB3aWR0aDogNzMzcHg7DQogICAgICBoZWlnaHQ6IDk5
NHB4Ow0KICAgIH0NCg0KICAgICNBIHsNCiAgICAgIHRyYW5zZm9ybS1zdHlsZTogcHJlc2VydmUt
M2Q7DQogICAgICB3aWR0aDogNzMzcHg7DQogICAgICBoZWlnaHQ6IDk5NHB4Ow0KICAgICAgdHJh
bnNmb3JtOiBwZXJzcGVjdGl2ZSgxMTk5Ljg2cHgpIHNjYWxlKDEpIHRyYW5zbGF0ZVooMTE5OS44
NnB4KSBtYXRyaXgzZCgtMC40MjcxMz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