<?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>250838</bug_id>
          
          <creation_ts>2023-01-19 07:37:08 -0800</creation_ts>
          <short_desc>calc() that returns &lt;number&gt; does not work in SVG stroke-width</short_desc>
          <delta_ts>2023-01-26 15:15:35 -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>SVG</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>macOS 13</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>249510</dup_id>
          
          <bug_file_loc>https://codepen.io/leaverou/pen/BaPmqQQ</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="Lea Verou">lea</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>koivisto</cc>
    
    <cc>nmouchtaris</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1926608</commentid>
    <comment_count>0</comment_count>
    <who name="Lea Verou">lea</who>
    <bug_when>2023-01-19 07:37:08 -0800</bug_when>
    <thetext>Testcase: https://codepen.io/leaverou/pen/BaPmqQQ

A plain &lt;number&gt; works fine, as well as a calc() that returns a &lt;length&gt;, but a calc() that returns a &lt;number&gt; fails and is treated as 0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1927027</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-01-20 15:02:58 -0800</bug_when>
    <thetext>I am not able to reproduce this in Safari Technology Preview 161 but is not working with Safari 16.2 on macOS 13.1, where the outer black circle is missing.

Should we consider it as &quot;RESOLVED CONFIGURATION CHANGED&quot; since it is already fixed in STP161?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1928600</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-01-26 07:38:15 -0800</bug_when>
    <thetext>&lt;rdar://problem/104694237&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1928712</commentid>
    <comment_count>3</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2023-01-26 15:15:35 -0800</bug_when>
    <thetext>This was already fixed by bug 249510.

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

    </bug>

</bugzilla>