WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
304582
REGRESSION(
288788@main
): SVG doesn't render gradient fill when using paint-order
https://bugs.webkit.org/show_bug.cgi?id=304582
Summary
REGRESSION(288788@main): SVG doesn't render gradient fill when using paint-order
Callum Gare
Reported
2025-12-21 16:35:02 PST
Created
attachment 477818
[details]
An svg that provides an example of the issue Safari incorrectly renders an SVG with text as having a transparent fill when a gradient fill is applied with a stroke + a paint order of "stroke fill". I've attached an example of this. I see this occurring on Safari in iOS 26.2 and Safari 26.2 on macOS.
Attachments
An svg that provides an example of the issue
(1.27 KB, image/svg+xml)
2025-12-21 16:35 PST
,
Callum Gare
no flags
Details
How the example svg is rendered in safari
(917.77 KB, image/png)
2025-12-21 16:35 PST
,
Callum Gare
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Callum Gare
Comment 1
2025-12-21 16:35:43 PST
Created
attachment 477819
[details]
How the example svg is rendered in safari
Callum Gare
Comment 2
2025-12-21 16:36:14 PST
This does not happen in Chrome or Firefox. Both the stroke and the fill render as expected.
Ahmad Saleem
Comment 3
2025-12-21 17:56:07 PST
@Callum, by any chance, if you know - is it recent regression or it never worked?
Ahmad Saleem
Comment 4
2025-12-21 18:11:48 PST
I just checked on myself and it is broken on Safari 18.6 as well, so not recent regression.
Radar WebKit Bug Importer
Comment 5
2025-12-21 20:48:54 PST
<
rdar://problem/166997630
>
Said Abou-Hallawa
Comment 6
2025-12-22 16:13:54 PST
Pull request:
https://github.com/WebKit/WebKit/pull/55809
EWS
Comment 7
2025-12-23 09:11:55 PST
Committed
304903@main
(0a662721c2e0): <
https://commits.webkit.org/304903@main
> Reviewed commits have been landed. Closing PR #55809 and removing active labels.
Callum Gare
Comment 8
2025-12-23 12:50:07 PST
@Ahmad Thanks for checking. I wasn’t sure. Wow! Thanks for such a fast patch :)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug