Bug 255985

Summary: REGRESSION (259807@main): SVG custom property inheritance with <use>
Product: WebKit Reporter: jordan
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ahmad.saleem792, heycam, sabouhallawa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: All   
OS: All   
Attachments:
Description Flags
Comaprison of issue 16.3 vs 16.4 none

Description jordan 2023-04-26 07:24:10 PDT
Created attachment 466096 [details]
Comaprison of issue 16.3 vs 16.4

Safari has recently stopped using the CSS Custom Property value for the SVG fill property when referenced via <use> inside and <svg> tag. This worked up to 16.3, and in 16.4 no longer works. This also happens in iOS safari 16.4. 

Reproduction: https://glitch.com/edit/#!/cedar-traveling-phone

Demo: http://cedar-traveling-phone.glitch.me
Comment 1 Radar WebKit Bug Importer 2023-04-27 17:45:57 PDT
<rdar://problem/108636276>
Comment 2 Ahmad Saleem 2023-05-13 07:15:01 PDT
It seems to now working again in Safari Technology Preview 169 and WebKit ToT.
Comment 3 Cameron McCormack (:heycam) 2023-05-23 22:43:14 PDT
Indeed, this is working again.
Comment 4 Said Abou-Hallawa 2023-05-24 14:42:35 PDT
This was a regression of 259807@main and it was fixed by 262698@main

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