Bug 250838

Summary: calc() that returns <number> does not work in SVG stroke-width
Product: WebKit Reporter: Lea Verou <lea>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ahmad.saleem792, koivisto, nmouchtaris, sabouhallawa, simon.fraser, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: macOS 13   
URL: https://codepen.io/leaverou/pen/BaPmqQQ

Description Lea Verou 2023-01-19 07:37:08 PST
Testcase: https://codepen.io/leaverou/pen/BaPmqQQ

A plain <number> works fine, as well as a calc() that returns a <length>, but a calc() that returns a <number> fails and is treated as 0.
Comment 1 Ahmad Saleem 2023-01-20 15:02:58 PST
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 "RESOLVED CONFIGURATION CHANGED" since it is already fixed in STP161?
Comment 2 Radar WebKit Bug Importer 2023-01-26 07:38:15 PST
<rdar://problem/104694237>
Comment 3 Said Abou-Hallawa 2023-01-26 15:15:35 PST
This was already fixed by bug 249510.

*** This bug has been marked as a duplicate of bug 249510 ***