<?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>301510</bug_id>
          
          <creation_ts>2025-10-27 06:39:15 -0700</creation_ts>
          <short_desc>[CSS @starting-style] entry animation is only respected on first transition</short_desc>
          <delta_ts>2026-04-02 15:51:23 -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>Layout and Rendering</component>
          <version>Safari 26</version>
          <rep_platform>Mac (Apple Silicon)</rep_platform>
          <op_sys>macOS 26</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=301461</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>jh3yyy</reporter>
          <assigned_to name="Kiet Ho">kiet.ho</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>fantasai.bugs</cc>
    
    <cc>graouts</cc>
    
    <cc>kiet.ho</cc>
    
    <cc>koivisto</cc>
    
    <cc>mic.gallego</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2154436</commentid>
    <comment_count>0</comment_count>
    <who name="">jh3yyy</who>
    <bug_when>2025-10-27 06:39:15 -0700</bug_when>
    <thetext>hey there, raising this off of another one raised last week

i&apos;ve noticed that @starting-style entry/exit transitions aren&apos;t being respected as expected. not sure if this is a regression as i haven&apos;t seen this happen before (much like the issue i had with showing the non-modal dialog in the other issue i filed)

Steps to Reproduce:
1. open the demo: https://codepen.io/jh3y/pen/RNrJEbw/b560906a4c78fda2f390fec86878e56f
2. open the dialog, note how the transform-origin is respected on the transition
3. close the dialog, note how it&apos;s a different transition
4. reopen the dialog, notice how the entry transition is now ignored and the exit is being reversed instead

Actual Results:
– entry transition is only respected on first play through

Expected Results:
– the entry and exit transitions should be respected on each playthrough</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2154448</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2025-10-27 08:50:41 -0700</bug_when>
    <thetext>Thank you for the report, I can reproduce with STP 230.

&gt; not sure if this is a regression as i haven&apos;t seen this happen before

Could you please elaborate? The dialog appears to be anchor-positioned, so the test relies on a new feature in Safari 26. Are you using a newer build, and unsure if this is a regression since Safari 26?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2154457</commentid>
    <comment_count>2</comment_count>
    <who name="">jh3yyy</who>
    <bug_when>2025-10-27 09:03:02 -0700</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #1)
&gt; Thank you for the report, I can reproduce with STP 230.
&gt; 
&gt; &gt; not sure if this is a regression as i haven&apos;t seen this happen before
&gt; 
&gt; Could you please elaborate? The dialog appears to be anchor-positioned, so
&gt; the test relies on a new feature in Safari 26. Are you using a newer build,
&gt; and unsure if this is a regression since Safari 26?

i figured this issue was related to @starting-style and i&apos;m sure that&apos;s been around since before v 26 unless this is specific to the way dialog behaves? i was using popovers previous to this 🙏</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2155964</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-11-03 05:40:12 -0800</bug_when>
    <thetext>&lt;rdar://problem/163928932&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2155999</commentid>
    <comment_count>4</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2025-11-03 09:40:56 -0800</bug_when>
    <thetext>This is likely going to be a similar issue or a duplicate of bug 301461. I expect this is only happening with anchor positioning and starting style mixed together.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2156093</commentid>
    <comment_count>5</comment_count>
    <who name="Kiet Ho">kiet.ho</who>
    <bug_when>2025-11-03 16:07:01 -0800</bug_when>
    <thetext>Might be fixed by bug 301461.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2156258</commentid>
    <comment_count>6</comment_count>
    <who name="Kiet Ho">kiet.ho</who>
    <bug_when>2025-11-04 05:07:21 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/53392</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2170724</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-01-09 11:07:56 -0800</bug_when>
    <thetext>Committed 305371@main (d9149b628100): &lt;https://commits.webkit.org/305371@main&gt;

Reviewed commits have been landed. Closing PR #53392 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2196409</commentid>
    <comment_count>8</comment_count>
    <who name="Kiet Ho">kiet.ho</who>
    <bug_when>2026-04-02 15:51:23 -0700</bug_when>
    <thetext>*** Bug 301070 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>