-
Notifications
You must be signed in to change notification settings - Fork 30
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
color()
syntax: map <percentage>
to the component's range, where available.
#153
Comments
danburzo
added a commit
that referenced
this issue
Oct 26, 2021
danburzo
added a commit
that referenced
this issue
Feb 22, 2022
danburzo
added a commit
that referenced
this issue
Feb 23, 2023
According to the latest spec changes, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See:
Adjust the
color()
parser to map<percentage>
against that component's range (which is usually, but not always,[0, 1]
), where that range is available.In each color space's definition, ranges should be marked as reference (as opposed to approximate), so that the parser can take them into account. If we don't have a range against which to map
<percentage>
values, treat them as omitted, and fall them back to0
.The text was updated successfully, but these errors were encountered: