<?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>299995</bug_id>
          
          <creation_ts>2025-10-01 17:25:16 -0700</creation_ts>
          <short_desc>Add align-self/justify-self dialog behavior to enable UA style for popovers</short_desc>
          <delta_ts>2025-10-15 10:32:10 -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>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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>299630</blocked>
    
    <blocked>300817</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="fantasai">fantasai.bugs</reporter>
          <assigned_to name="fantasai">fantasai.bugs</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>kiet.ho</cc>
    
    <cc>koivisto</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>2147695</commentid>
    <comment_count>0</comment_count>
    <who name="fantasai">fantasai.bugs</who>
    <bug_when>2025-10-01 17:25:16 -0700</bug_when>
    <thetext>The CSS Working Group recently added a new `dialog` value for align-self/justify-self in order to represent a better default behavior for popovers: centering by default, but using the position-area defaults when anchor-positioned. See https://github.com/w3c/csswg-drafts/issues/10258

This is an issue which trips people up a lot when using anchor positioning combined with popovers, see
  https://github.com/w3c/csswg-drafts/issues/12466

Opening this bug to track implementation of the new CSS behavior, which is required to update the UA stylesheet per https://github.com/whatwg/html/pull/11656</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2147696</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-10-01 17:25:22 -0700</bug_when>
    <thetext>&lt;rdar://problem/161779751&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2147704</commentid>
    <comment_count>2</comment_count>
    <who name="fantasai">fantasai.bugs</who>
    <bug_when>2025-10-01 17:30:49 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/51658</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2147765</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-10-02 01:30:34 -0700</bug_when>
    <thetext>Committed 300865@main (d7f2e52c03a8): &lt;https://commits.webkit.org/300865@main&gt;

Reviewed commits have been landed. Closing PR #51658 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2151354</commentid>
    <comment_count>4</comment_count>
    <who name="fantasai">fantasai.bugs</who>
    <bug_when>2025-10-15 10:28:22 -0700</bug_when>
    <thetext>Due to Web-compat, the CSSWG had to change tactics on solving this problem, see
  https://github.com/w3c/csswg-drafts/issues/10258#issuecomment-3407215102

Consequently, the `dialog` value has been removed from the specs.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>