<?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>289473</bug_id>
          
          <creation_ts>2025-03-10 10:36:23 -0700</creation_ts>
          <short_desc>Ungraceful degradation for dialog exit animations</short_desc>
          <delta_ts>2025-03-31 05:51:07 -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 Technology Preview</version>
          <rep_platform>Mac (Apple Silicon)</rep_platform>
          <op_sys>macOS 15</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>276727</dup_id>
          
          <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 name="Jeroen Zwartepoorte">jeroen.zwartepoorte</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>florian</cc>
    
    <cc>graouts</cc>
    
    <cc>ntim</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>2101965</commentid>
    <comment_count>0</comment_count>
    <who name="Jeroen Zwartepoorte">jeroen.zwartepoorte</who>
    <bug_when>2025-03-10 10:36:23 -0700</bug_when>
    <thetext>https://codepen.io/argyleink/pen/zYbQBOm

In STP 214:
1. Click the &quot;Show Dialog&quot; button
2. The dialog and backdrop fadein ✅
3. Click the &quot;Close&quot; button in the dialog
3.1 The backdrop disappears immediately ✅
3.2 The dialog moves from the center of the page to near the top of the page ❌
3.3 The dialog fades out ✅

In Firefox, it degrades gracefully: no movement and no animation. The dialog+backdrop just disappears.

I expect STP to *not* do step 3.2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2101974</commentid>
    <comment_count>1</comment_count>
    <who name="Jeroen Zwartepoorte">jeroen.zwartepoorte</who>
    <bug_when>2025-03-10 11:06:51 -0700</bug_when>
    <thetext>You can work around the broken exit animation, by doing:

```css
  @supports not (overlay: auto) {
    transition-duration: 0s;
  }
```

Using this, can get WebKit to behave the same as FF on the exit animation. It won&apos;t affect Chromium.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2102083</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-03-10 17:17:27 -0700</bug_when>
    <thetext>&lt;rdar://problem/146701656&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2107384</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2025-03-31 05:51:07 -0700</bug_when>
    <thetext>This is because the demo uses the `overlay` CSS property which is not supported by WebKit.

*** This bug has been marked as a duplicate of bug 276727 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>