<?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>231433</bug_id>
          
          <creation_ts>2021-10-08 08:48:24 -0700</creation_ts>
          <short_desc>outline rendering does not respect border-radius</short_desc>
          <delta_ts>2022-02-26 14:40:13 -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>Layout and Rendering</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Mac (Apple Silicon)</rep_platform>
          <op_sys>macOS 11</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>20807</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=175288</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=20807</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="Luca Casonato">hello</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>blasterkat101+bugzilla</cc>
    
    <cc>jdanyow</cc>
    
    <cc>lwarlow</cc>
    
    <cc>rego</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>1802084</commentid>
    <comment_count>0</comment_count>
    <who name="Luca Casonato">hello</who>
    <bug_when>2021-10-08 08:48:24 -0700</bug_when>
    <thetext>In Safari, the outline rendered as a result of the `outline` CSS property does not respect the border radius set by the `border-radius` property. In both Chrome and Firefox, this combination works correctly.

There is a WPT reftest that checks this behaviour: https://wpt.live/css/css-ui/outline-005.html. See https://wpt.fyi/results/css/css-ui/outline-005.html?label=master&amp;label=experimental&amp;aligned

There is also a WebKit bug for some general test failures regarding outline (https://bugs.webkit.org/show_bug.cgi?id=175288), but this failure specifically is rather severe so deserves it&apos;s own tracking bug I think.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1804831</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-10-15 08:49:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/84303593&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1819645</commentid>
    <comment_count>2</comment_count>
    <who name="">blasterkat101+bugzilla</who>
    <bug_when>2021-12-02 03:54:58 -0800</bug_when>
    <thetext>I&apos;m having this issue on Safari Version 15.1 (16612.2.9.1.30, 16612).

I reproduced it in this fiddle:

https://jsfiddle.net/zvmu5p0a/1/

In Chrome and Firefox the outline follows the border-radius, but not in Safari.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1832723</commentid>
    <comment_count>3</comment_count>
    <who name="Manuel Rego Casasnovas">rego</who>
    <bug_when>2022-01-21 02:56:37 -0800</bug_when>
    <thetext>

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

    </bug>

</bugzilla>