<?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>178224</bug_id>
          
          <creation_ts>2017-10-12 12:11:36 -0700</creation_ts>
          <short_desc>outline-width affecting padding, not the width of the outline.</short_desc>
          <delta_ts>2022-07-15 14:17:02 -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>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>FromImplementor</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Rob Dodson">robdodson</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1359664</commentid>
    <comment_count>0</comment_count>
    <who name="Rob Dodson">robdodson</who>
    <bug_when>2017-10-12 12:11:36 -0700</bug_when>
    <thetext>According to MDN: &quot;The outline-width CSS property sets the width (thickness) of an element&apos;s outline.&quot;

In Safari setting the outline-width property affects the distance between the element and the outline. But the outline itself is always the same width.

Example: http://jsbin.com/tegisinedo/1/edit?html,output

Clicking on the element in the above example should draw a 20px wide outline. This is the behavior in Firefox and Chrome. In Safari it instead puts 20px of padding between the element and the outline.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1359675</commentid>
    <comment_count>1</comment_count>
    <who name="Rob Dodson">robdodson</who>
    <bug_when>2017-10-12 12:27:54 -0700</bug_when>
    <thetext>It looks like this is a differing opinion between the browsers.

In Chrome and Firefox if you set outline-width, it will use the default focus indicator and just change its width.

In Edge, if you set outline-width it will remove any default styling so it appears as if it’s gone. If you additionally set outline-style: solid, then the ring reappears and properly applies outline-width.

In Safari, if you set outline-width it will affect the padding between the outline and the element. If  you additionally set outline-style: solid, then the ring will be drawn to the correct width.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1360003</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2017-10-13 08:03:17 -0700</bug_when>
    <thetext>You should raise a GitHub issue in the CSSWG.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884213</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-15 14:17:02 -0700</bug_when>
    <thetext>Did any such issue get raised? Is there any action to take here?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>