<?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>301070</bug_id>
          
          <creation_ts>2025-10-19 20:03:50 -0700</creation_ts>
          <short_desc>[css-anchor-position-1] Anchor positioned popover temporarily misplaced during 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>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>301510</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>301461</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter>mic.gallego</reporter>
          <assigned_to name="Kiet Ho">kiet.ho</assigned_to>
          <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>fantasai.bugs</cc>
    
    <cc>graouts</cc>
    
    <cc>kiet.ho</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>tien.nguyenkhac</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2152485</commentid>
    <comment_count>0</comment_count>
    <who name="">mic.gallego</who>
    <bug_when>2025-10-19 20:03:50 -0700</bug_when>
    <thetext>Hello,

On Safari 26, using a display discrete transition crashes the browser when used with anchor positioning. The issue can be reproduced here: https://codepen.io/bakura10/pen/GgoyVEB

Just click on One then Two to reproduce the issue.

No issue on Chrome.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2152715</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2025-10-20 14:43:05 -0700</bug_when>
    <thetext>Thank you for the report! I cannot reproduce this with Safari Technology Preview, but I also cannot reproduce this with an older build that I have around. Could you please attach a crash log, so that we could verify whether this is a known issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2152728</commentid>
    <comment_count>2</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2025-10-20 15:03:43 -0700</bug_when>
    <thetext>I can make the browser hang on older build (e.g. 298280@main) but I am not seeing it on newer builds.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2152824</commentid>
    <comment_count>3</comment_count>
    <who name="">mic.gallego</who>
    <bug_when>2025-10-20 18:01:58 -0700</bug_when>
    <thetext>Hello,

On Safari 26 stable, the browser crashes. On TP, the browser does not crashes but the feature is not working correctly :).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2152973</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2025-10-21 08:20:49 -0700</bug_when>
    <thetext>Thank you for the clarification. It&apos;s not clear to me personally what &quot;is not working correctly&quot; means exactly, but perhaps layout experts CC&apos;ed on the bug do understand.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2152980</commentid>
    <comment_count>5</comment_count>
    <who name="">mic.gallego</who>
    <bug_when>2025-10-21 08:36:39 -0700</bug_when>
    <thetext>Hello @Alexey,

Sorry, I just realized the Gist was incomplete on the TP. Please click on &quot;Two&quot; and click outside. You will see that the popover is repositioned incorrectly before being closed. On Chrome, the popover stays properly positioned during the whole animation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2152987</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2025-10-21 08:46:04 -0700</bug_when>
    <thetext>Ah! Now I can reproduce. Re-titling to track the issue that we still need to fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2152989</commentid>
    <comment_count>7</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-10-21 08:47:36 -0700</bug_when>
    <thetext>&lt;rdar://problem/163119386&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2153095</commentid>
    <comment_count>8</comment_count>
    <who name="Kiet Ho">kiet.ho</who>
    <bug_when>2025-10-21 13:03:22 -0700</bug_when>
    <thetext>Might be dupe of https://bugs.webkit.org/show_bug.cgi?id=301057</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2153164</commentid>
    <comment_count>9</comment_count>
    <who name="Kiet Ho">kiet.ho</who>
    <bug_when>2025-10-21 16:40:45 -0700</bug_when>
    <thetext>I can&apos;t reproduce the crash, but the issue of anchor positioned popover at the wrong location when dismissing is a known issue that I&apos;m working on. Part 1 of the fix is here: https://bugs.webkit.org/show_bug.cgi?id=301056</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2154234</commentid>
    <comment_count>10</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2025-10-25 05:44:34 -0700</bug_when>
    <thetext>This seems specific to using an accelerated property, I filed bug 301461.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2157730</commentid>
    <comment_count>11</comment_count>
    <who name="">tien.nguyenkhac</who>
    <bug_when>2025-11-10 12:33:22 -0800</bug_when>
    <thetext>This crash instantly for me on Safari 26.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2196397</commentid>
    <comment_count>12</comment_count>
    <who name="Kiet Ho">kiet.ho</who>
    <bug_when>2026-04-02 15:15:13 -0700</bug_when>
    <thetext>This demo seems to work fine on Safari 26.4: https://codepen.io/bakura10/pen/GgoyVEB</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2196408</commentid>
    <comment_count>13</comment_count>
    <who name="Kiet Ho">kiet.ho</who>
    <bug_when>2026-04-02 15:51:23 -0700</bug_when>
    <thetext>This was fixed in bug 301510.

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

    </bug>

</bugzilla>