Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linear gradients work different from CSS references #440

Closed
SilentDepth opened this issue Apr 9, 2023 · 1 comment · Fixed by #448
Closed

Linear gradients work different from CSS references #440

SilentDepth opened this issue Apr 9, 2023 · 1 comment · Fixed by #448
Labels
bug Something isn't working released
Milestone

Comments

@SilentDepth
Copy link

Bug report

Description / Observed Behavior

The behavior of linear gradient is different from CSS-rendered results with some angles.

For example, linear-gradient(-45deg, crimson 50%, goldenrod 50%) renders the diagonal perfectly with CSS, but very off with Satori. However, with an angle of 45deg everything works fine.

Satori CSS
PixelSnap 2023-04-09 at 21 43 18 PixelSnap 2023-04-09 at 21 43 34

Expected Behavior

The render results of Satori and CSS should be identical.

Reproduction

Satori
CSS

Additional Context

Satori v0.4.7

@shuding shuding added the bug Something isn't working label Apr 9, 2023
@shuding shuding added this to the 1.0 milestone Apr 14, 2023
shuding added a commit that referenced this issue Apr 16, 2023
@github-actions
Copy link

🎉 This issue has been resolved in version 0.4.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

sahithyandev pushed a commit to sahithyandev/satori that referenced this issue Apr 26, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Closes vercel#440, closes vercel#163.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants