<?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>258125</bug_id>
          
          <creation_ts>2023-06-15 06:09:07 -0700</creation_ts>
          <short_desc>clip-path: inset() radii does not render on specific sizes of element, clip-path and radius</short_desc>
          <delta_ts>2026-04-07 20:19:21 -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>Safari 16</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://github.com/web-platform-tests/wpt/pull/59035</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="Tom Bigelajzen">tombigel</reporter>
          <assigned_to name="Ahmad Saleem">ahmad.saleem792</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>noamraph</cc>
    
    <cc>noam</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>1961783</commentid>
    <comment_count>0</comment_count>
      <attachid>466698</attachid>
    <who name="Tom Bigelajzen">tombigel</who>
    <bug_when>2023-06-15 06:09:07 -0700</bug_when>
    <thetext>Created attachment 466698
a simplified usecase where clip-path inset radius does not render

When using clip-path: inset() with border-radius values, the radius is not rendered on specific cases of element size, radius size and clip-path size.

In the attached code example you can see an element 661px wide and 445px high with &quot;clip-path: inset(11.2923% round 50% 50% 0% 0%).&quot;
The radius of these exact dimensions fails consistently (At least on MacOS 13.2.1 Safari 16.3, Safari Tech Preview 171, and iOS 16.5).

Any change to the width, height, clip-path size or border-radius will &quot;fix&quot; the issue.

Also attached a link to an animated codepen where different element sizes and different radius values &quot;glitch&quot; on different points on the timeline</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1961784</commentid>
    <comment_count>1</comment_count>
    <who name="Tom Bigelajzen">tombigel</who>
    <bug_when>2023-06-15 06:09:35 -0700</bug_when>
    <thetext>Forgot the codepen link: https://codepen.io/tombigel/pen/VwVerrV</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1961834</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2023-06-15 10:12:06 -0700</bug_when>
    <thetext>Interesting bug, thanks for the report! I can reproduce.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1961835</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-06-15 10:12:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/110847266&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2197091</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2026-04-05 13:53:37 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/62086</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2197260</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-04-06 09:47:17 -0700</bug_when>
    <thetext>Committed 310643@main (785dda5a7b96): &lt;https://commits.webkit.org/310643@main&gt;

Reviewed commits have been landed. Closing PR #62086 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2197851</commentid>
    <comment_count>6</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2026-04-07 20:19:21 -0700</bug_when>
    <thetext>Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/59035</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>466698</attachid>
            <date>2023-06-15 06:09:07 -0700</date>
            <delta_ts>2023-06-15 06:09:07 -0700</delta_ts>
            <desc>a simplified usecase where clip-path inset radius does not render</desc>
            <filename>webkit-clip-path-bug.html</filename>
            <type>text/html</type>
            <size>485</size>
            <attacher name="Tom Bigelajzen">tombigel</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KCTxtZXRhIGNoYXJzZXQ9InV0Zi04Ij4KCTxt
ZXRhIG5hbWU9InZpZXdwb3J0IiBjb250ZW50PSJ3aWR0aD1kZXZpY2Utd2lkdGgsIGluaXRpYWwt
c2NhbGU9MSI+Cgk8dGl0bGU+V2Via2l0IGJ1ZyAtIGNsaXAtcGF0aDogaW5zZXQoKSByYWRpaSBk
b2VzIG5vdCByZW5kZXIgb24gc3BlY2lmaWMgc2l6ZXM8L3RpdGxlPgoJPHN0eWxlIHR5cGU9InRl
eHQvY3NzIj4KCQkjY29tcCB7CgkJICB3aWR0aDogNjYxcHg7CgkJICBoZWlnaHQ6IDQ0NXB4OwoJ
CSAgY2xpcC1wYXRoOiBpbnNldCgxMS4yOTIzJSByb3VuZCA1MCUgNTAlIDAlIDAlKTsKCQl9CgkJ
I2lubmVyIHsKCQkgIGJhY2tncm91bmQ6IHJlZDsKCQkgIGhlaWdodDogMTAwJTsKCQl9Cgk8L3N0
eWxlPgo8L2hlYWQ+Cjxib2R5PgoJPGRpdiBpZD0iY29tcCI+CgkgIDxkaXYgaWQ9ImlubmVyIj48
L2Rpdj4KCTwvZGl2Pgo8L2JvZHk+CjwvaHRtbD4=
</data>

          </attachment>
      

    </bug>

</bugzilla>