<?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>284619</bug_id>
          
          <creation_ts>2024-12-13 02:16:09 -0800</creation_ts>
          <short_desc>[css-anchor-position-1] Fix anchor-center alignment corner case</short_desc>
          <delta_ts>2025-03-04 09:34:25 -0800</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 Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=275451</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 name="Pawel Lampe">plampe</reporter>
          <assigned_to name="Pawel Lampe">plampe</assigned_to>
          <cc>fantasai.bugs</cc>
    
    <cc>koivisto</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2081464</commentid>
    <comment_count>0</comment_count>
    <who name="Pawel Lampe">plampe</who>
    <bug_when>2024-12-13 02:16:09 -0800</bug_when>
    <thetext>When anchor target has a width: auto, the width is calculated wrong way due to inset properties evaluating to 0 (following the spec) in case of anchor positioning.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2081492</commentid>
    <comment_count>1</comment_count>
    <who name="Pawel Lampe">plampe</who>
    <bug_when>2024-12-13 06:34:17 -0800</bug_when>
    <thetext>Actually, I&apos;m not 100% sure if this wrong. I&apos;ll try to check this with some spec experts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2083269</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-12-20 02:17:15 -0800</bug_when>
    <thetext>&lt;rdar://problem/141812145&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2085015</commentid>
    <comment_count>3</comment_count>
    <who name="Pawel Lampe">plampe</who>
    <bug_when>2025-01-06 04:08:01 -0800</bug_when>
    <thetext>I&apos;ve confirmed that this indeed is a bug as alignment values other than &apos;normal&apos; and &apos;stretch&apos; use shrink-to-fit sizing for absolutely positioned items</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2085112</commentid>
    <comment_count>4</comment_count>
    <who name="Pawel Lampe">plampe</who>
    <bug_when>2025-01-06 10:57:38 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/37901</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2100013</commentid>
    <comment_count>5</comment_count>
    <who name="fantasai">fantasai.bugs</who>
    <bug_when>2025-03-03 13:22:30 -0800</bug_when>
    <thetext>This should be fixed by https://github.com/WebKit/WebKit/pull/41603</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2100222</commentid>
    <comment_count>6</comment_count>
    <who name="Pawel Lampe">plampe</who>
    <bug_when>2025-03-04 01:33:36 -0800</bug_when>
    <thetext>Confirmed - this is fixed with https://github.com/WebKit/WebKit/pull/41603</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>