<?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>298379</bug_id>
          
          <creation_ts>2025-09-04 02:01:30 -0700</creation_ts>
          <short_desc>[css-anchor-position-1] wrong clip testing with &apos;position-visibility: anchors-visible&apos;</short_desc>
          <delta_ts>2025-09-04 23:46:46 -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 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/54708</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="Antti Koivisto">koivisto</reporter>
          <assigned_to name="Antti Koivisto">koivisto</assigned_to>
          <cc>koivisto</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2140876</commentid>
    <comment_count>0</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2025-09-04 02:01:30 -0700</bug_when>
    <thetext>&lt;style&gt;
.clip {
    overflow: hidden;
    border: 2px solid red;
}
.c {
    position: absolute;
    top: 50px;
    width: 100px;
    height: 100px;
    border: 2px solid green;
}
.anchor {
    anchor-name: --foo;
    background: blue;
}
.anchored {
    left: anchor(left);
    top: anchor(bottom);
    position: absolute;
    position-anchor: --foo;
    background: green;
}
&lt;/style&gt;
&lt;div class=clip&gt;&lt;div class=c&gt;&lt;div class=anchor&gt;anchor&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div class=anchored&gt;anchored&lt;/div&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2140877</commentid>
    <comment_count>1</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2025-09-04 02:02:13 -0700</bug_when>
    <thetext>rdar://159790886</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2140890</commentid>
    <comment_count>2</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2025-09-04 03:28:00 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/50295</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2141145</commentid>
    <comment_count>3</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2025-09-04 23:46:46 -0700</bug_when>
    <thetext>Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/54708</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>