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

Lea Verou
Reported 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.
Attachments
Ahmad Saleem
Comment 1 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?
Radar WebKit Bug Importer
Comment 2 2023-01-26 07:38:15 PST
Said Abou-Hallawa
Comment 3 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 ***
Note You need to log in before you can comment on or make changes to this bug.