question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

spreadMethod for radial gradients not displaying correctly in Safari

See original GitHub issue
<meta charset="utf-8">
<style>
@font-face {
font-family: samples;
src: url(samples-untouchedsvg.ttf);
}

* {
font-family: samples;
font-size: 64px;
}
</style>
linear_reflect linear_repeat radial_reflect radial_repeat

displays as

spreadmethod_radial

in Safari.

Compare FF:

spreadmethod_radial_ff

WebKit has a bug for spreadMethod for radial not being supported - it seems to be partially supported in their OT-SVG implementation, but the inner parts of the circle not being drawn correctly.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
litherumcommented, Aug 23, 2022

We’re looking at this in rdar://98941222

1reaction
drottcommented, Apr 21, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

svg transparent radial gradient in safari not working
In your gradient's definition, alter the opacity for the stop points. So,instead of shifting the color from a given value to transparency, ...
Read more >
Gradients Not Showing Properly in Safari - Forum | Webflow
I have white gradients inside my blog post thumbnails so that the excerpt of the post fades out of view, letting you know...
Read more >
spreadMethod - SVG: Scalable Vector Graphics | MDN
The spreadMethod attribute determines how a shape is filled beyond the defined edges of a gradient. You can use this attribute with the...
Read more >
Faking Repeating Gradients — Using SVG with CSS3 and ...
For radial gradients, the only solution is to repeat the <stop> elements in your gradient as many times as are necessary to fill...
Read more >
SVG Gradient Browser Issues – Hello, I'm Joni
I have been working with SVG gradients a lot lately. I wrote about getting started with SVG gradients over at SitePoint, and also...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found