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

Add relative color syntax tests for the color() function #1993

Merged
merged 1 commit into from
May 16, 2024

Conversation

nex3
Copy link
Contributor

@nex3 nex3 commented May 10, 2024

No description provided.

@nex3 nex3 requested a review from Goodwine May 10, 2024 21:36

<===> calc/alpha/output.css
a {
b: color(from #aaa srgb calc(l + 0.2) a b/25%);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is calc() not evaluated to 1.2 because it's considered to be a string in a slash-separated list?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

calc() isn't evaluated to 1.2 because the first character is U+006C LATIN SMALL LETTER L and not U+0031 DIGIT ONE 🙂.

@nex3 nex3 merged commit 12fabe2 into feature.color-4 May 16, 2024
18 checks passed
@nex3 nex3 deleted the relative-color branch May 16, 2024 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants