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

Issue a parse warning for out-of-domain arguments to the srgb keywords #466

Open
CousinRicky opened this issue Nov 24, 2024 · 0 comments
Open
Labels
feature proposal for a new feature, or alleged bug triaged as intentional but warranting improvement

Comments

@CousinRicky
Copy link

Is your feature request related to a problem?

The keywords srgb, srgbf, srgbt, and srgbft accept arguments outside the defined domain of the sRGB transfer function. This has caused confusion among users who are unclear on how these keywords work.

Describe the solution you'd like

Issue a non-fatal parse warning if any of the red, green, or blue components of the argument to srgb, etc. are less than 0 or greater than 1.

@CousinRicky CousinRicky added the feature proposal for a new feature, or alleged bug triaged as intentional but warranting improvement label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature proposal for a new feature, or alleged bug triaged as intentional but warranting improvement
Projects
None yet
Development

No branches or pull requests

1 participant