<?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>265309</bug_id>
          
          <creation_ts>2023-11-24 06:39:40 -0800</creation_ts>
          <short_desc>Elements transformed with rotate(90deg) are not visible inside elements set with perspective</short_desc>
          <delta_ts>2024-04-08 01:03:02 -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>CSS</component>
          <version>Safari 17</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>258565</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ben Frain">contact</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>bunnyhero</cc>
    
    <cc>karlcow</cc>
    
    <cc>mattwoodrow</cc>
    
    <cc>me</cc>
    
    <cc>nicolas</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1994644</commentid>
    <comment_count>0</comment_count>
    <who name="Ben Frain">contact</who>
    <bug_when>2023-11-24 06:39:40 -0800</bug_when>
    <thetext>Here is a reduction of the issue: https://codepen.io/benfrain/pen/bGzKeGX

View in Chrome and Firefox and the &apos;goal posts&apos; display as expected.

In Safari they are invisible.

My suspicion is that this has something to do with Safari trying to optimise that an element with `rotateY(90deg)` would ordinarily be invisible (as end on), which isn&apos;t the case inside a element with perspective.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1995169</commentid>
    <comment_count>1</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2023-11-27 21:40:51 -0800</bug_when>
    <thetext>&lt;rdar://118006067&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1995170</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2023-11-27 21:42:12 -0800</bug_when>
    <thetext>This was reported recently also internally.
It&apos;s probably a regression
Regressed by https://github.com/WebKit/WebKit/commit/1aa517d47471fdc37ac5b6e2f3809de704ea8ac5
Bug 258565
rdar://111393557</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1995171</commentid>
    <comment_count>3</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2023-11-27 21:45:32 -0800</bug_when>
    <thetext>Also as a band aid… and I understand it&apos;s not ideal

450deg and 1.25turn both works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1995195</commentid>
    <comment_count>4</comment_count>
    <who name="Ben Frain">contact</who>
    <bug_when>2023-11-27 23:20:57 -0800</bug_when>
    <thetext>For anyone hitting this it is also possible to work around by using rotateY(90.01deg)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2007938</commentid>
    <comment_count>5</comment_count>
    <who name="Shannon Moeller">me</who>
    <bug_when>2024-01-26 09:12:16 -0800</bug_when>
    <thetext>I have also experienced this issue. I resolved it by using 89.99999deg.

Working pen using 89.99999deg: https://codepen.io/shannonmoeller/pen/MWpWJGB

Broken pen using 90deg: https://codepen.io/shannonmoeller/pen/JjzOygP</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2012559</commentid>
    <comment_count>6</comment_count>
    <who name="">bunnyhero</who>
    <bug_when>2024-02-10 23:15:51 -0800</bug_when>
    <thetext>I also notice the bug goes away if I disable the feature flag &quot;CSS 3D Transform Interoperability&quot; (which is enabled by default).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2012945</commentid>
    <comment_count>7</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-02-12 16:18:44 -0800</bug_when>
    <thetext>bunnyhero, 

in which version of Safari did you test?

I just did in STP 188 and this is working.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2012951</commentid>
    <comment_count>8</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-02-12 16:23:11 -0800</bug_when>
    <thetext>It is broken in Safari 17.3 indeed. So that should be fixed in a future version.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2012953</commentid>
    <comment_count>9</comment_count>
    <who name="">bunnyhero</who>
    <bug_when>2024-02-12 16:25:36 -0800</bug_when>
    <thetext>(In reply to Karl Dubost from comment #7)
&gt; bunnyhero, 
&gt; 
&gt; in which version of Safari did you test?
&gt; 
&gt; I just did in STP 188 and this is working.

interesting! i just tried this on STP 188 (Release 188 (Safari 17.4, WebKit 19619.1.2.1.1)) on macOS 14.3.1 and the goal posts at https://codepen.io/benfrain/pen/bGzKeGX are invisible. wonder what&apos;s different in our environments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2012960</commentid>
    <comment_count>10</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-02-12 16:33:02 -0800</bug_when>
    <thetext>(In reply to bunnyhero from comment #9)
&gt; (In reply to Karl Dubost from comment #7)
&gt; &gt; bunnyhero, 
&gt; &gt; 
&gt; &gt; in which version of Safari did you test?
&gt; &gt; 
&gt; &gt; I just did in STP 188 and this is working.
&gt; 
&gt; interesting! i just tried this on STP 188 (Release 188 (Safari 17.4, WebKit
&gt; 19619.1.2.1.1)) on macOS 14.3.1 and the goal posts at
&gt; https://codepen.io/benfrain/pen/bGzKeGX are invisible. wonder what&apos;s
&gt; different in our environments.

Yes, goal posts are missing even WebKit ToT (274497@main).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2012961</commentid>
    <comment_count>11</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-02-12 16:34:59 -0800</bug_when>
    <thetext>Indeed! 
I tested on STP 188 on Internal version of the OS and this is working
but testing on a released macOS 14.3.1 (23D60) on STP 188, it fails. 

So there is a dependency on the OS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2012962</commentid>
    <comment_count>12</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-02-12 16:35:41 -0800</bug_when>
    <thetext>(In reply to Karl Dubost from comment #11)
&gt; Indeed! 
&gt; I tested on STP 188 on Internal version of the OS and this is working
&gt; but testing on a released macOS 14.3.1 (23D60) on STP 188, it fails. 
&gt; 
&gt; So there is a dependency on the OS.

Should we mark it as &apos;RESOLVED MOVED&apos; then?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2012964</commentid>
    <comment_count>13</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-02-12 16:41:08 -0800</bug_when>
    <thetext>Yes. I confirmed. There is a dependency on the OS. 
So the good news is that it will be fixed in a future update. pfew.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2026698</commentid>
    <comment_count>14</comment_count>
    <who name="Matt Woodrow">mattwoodrow</who>
    <bug_when>2024-04-08 01:03:02 -0700</bug_when>
    <thetext>*** Bug 264343 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>