<?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>284226</bug_id>
          
          <creation_ts>2024-12-07 06:09:55 -0800</creation_ts>
          <short_desc>[popover] Integrate with anchor positioning</short_desc>
          <delta_ts>2025-06-13 15:07:44 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://github.com/web-platform-tests/wpt/pull/53022</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>
          
          <blocked>291856</blocked>
    
    <blocked>294260</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Nguyen (:ntim)">ntim</reporter>
          <assigned_to name="Antti Koivisto">koivisto</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>fantasai.bugs</cc>
    
    <cc>ian</cc>
    
    <cc>kiet.ho</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>2079896</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2024-12-07 06:09:55 -0800</bug_when>
    <thetext>See https://github.com/whatwg/html/pull/10728 for details. 

- Popover invokers (set declaratively or imperatively) now create an [implicit anchor element](https://www.w3.org/TR/css-anchor-position-1/#implicit-anchor-element) reference for that popover.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2079897</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-12-07 06:10:12 -0800</bug_when>
    <thetext>&lt;rdar://problem/141094328&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2117138</commentid>
    <comment_count>2</comment_count>
    <who name="fantasai">fantasai.bugs</who>
    <bug_when>2025-05-14 12:44:50 -0700</bug_when>
    <thetext>Some code pointers from Tim:

Implicit anchor for popovers:
https://searchfox.org/wubkat/search?q=symbol:_ZNK7WebCore11PopoverData7invokerEv&amp;redirect=false
Maps from names to elements here -- these would not work with implicit anchor (since the name is auto)
https://searchfox.org/wubkat/rev/87ca7ad48ea92e0a1972e92dc8b28f3df63e89fa/Source/WebCore/style/AnchorPositionEvaluator.h#63
These conditionals need to be updated:
https://searchfox.org/wubkat/search?q=anchorNames%28%29&amp;path=&amp;case=false&amp;regexp=false</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2122501</commentid>
    <comment_count>3</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2025-06-09 04:27:13 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/46495</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2122531</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-06-09 08:12:30 -0700</bug_when>
    <thetext>Committed 295995@main (6bea8210e2b5): &lt;https://commits.webkit.org/295995@main&gt;

Reviewed commits have been landed. Closing PR #46495 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2122536</commentid>
    <comment_count>5</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2025-06-09 08:45:41 -0700</bug_when>
    <thetext>Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/53022</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>