<?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>294323</bug_id>
          
          <creation_ts>2025-06-11 07:14:54 -0700</creation_ts>
          <short_desc>incorrect clipping for background-color on double border with attachment:local and border-radius</short_desc>
          <delta_ts>2026-04-30 18:19:55 -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>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=206753</see_also>
          <bug_file_loc>http://wpt.live/css/css-backgrounds/background-attachment-local/attachment-local-clipping-color-4.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, WPTImpact</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Karl Dubost">karlcow</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</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>2122989</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2025-06-11 07:14:54 -0700</bug_when>
    <thetext>&lt;div id=&quot;outer&quot;&gt;
  &lt;div&gt;
    &lt;p&gt;Test&lt;/p&gt;
  &lt;/div&gt;
&lt;/div&gt;


#outer {
  width: 200px;
  height: 200px;
  padding: 40px;
  border: 10px double;
  overflow: hidden;
  border-radius: 50%;
  background: green local border-box;
}


The green is overflowing in between the two lines of the border. The painting should happen only inside the inner border line.


http://wpt.live/css/css-backgrounds/background-attachment-local/attachment-local-clipping-color-4.html
http://wpt.fyi/css/css-backgrounds/background-attachment-local/attachment-local-clipping-color-4.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2123010</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-06-11 09:16:32 -0700</bug_when>
    <thetext>&lt;rdar://problem/153089071&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>