<?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>103730</bug_id>
          
          <creation_ts>2012-11-30 04:07:36 -0800</creation_ts>
          <short_desc>Border radius has no effect on clipped background</short_desc>
          <delta_ts>2012-11-30 11:45:33 -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>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>23166</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Andrej Č.">andrej.cremoznik</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bdakin</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>779992</commentid>
    <comment_count>0</comment_count>
    <who name="Andrej Č.">andrej.cremoznik</who>
    <bug_when>2012-11-30 04:07:36 -0800</bug_when>
    <thetext>Here&apos;s a fiddle showing the problem: http://jsfiddle.net/Hgb4Y/

So what&apos;s going on:

1. The box has a border radius of 50% making it a circle
2. The box has a background color
3. I want this circle to have a semi-transparent border so I apply a border rule with rgba color
4. Problem - the circles&apos;s background shows through the border, but I want the border outside.
5. When I apply background-clip padding-box I should get the desired result, however in webkit the clipped background isn&apos;t round anymore.

In case the fiddle get deleted, here&apos;s the relevant css bit:

.test {
    width: 200px; height: 200px; margin: 100px;

    background: red;
    border-radius: 50%;
    border: 30px solid rgba(0,0,0,0.5);
    background-clip: padding-box;
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>780267</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-11-30 11:45:33 -0800</bug_when>
    <thetext>This is fixed on TOT, I think by bug 23166.

*** This bug has been marked as a duplicate of bug 23166 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>