Bug 250838 - calc() that returns <number> does not work in SVG stroke-width
Summary: calc() that returns <number> does not work in SVG stroke-width
Status: RESOLVED DUPLICATE of bug 249510
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified macOS 13
: P2 Normal
Assignee: Nobody
URL: https://codepen.io/leaverou/pen/BaPmqQQ
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-01-19 07:37 PST by Lea Verou
Modified: 2023-01-26 15:15 PST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***