We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In CSS Color 5's color-mix() function, https://drafts.csswg.org/css-color-5/#color-mix, should there be a comma between mix-components? For example, which of the following is correct:
color-mix(lch, red 40%, blue);
or
color-mix(lch, red 40% blue);
The grammar indicates no comma:
color-mix() = color-mix(<colorspace>?, <mix-component>#{2}) <mix-component> = <color> [ <percentage> | <color-adjuster>+ ]?
but all the examples have commas.
I personally think the comma makes it more readable.
The text was updated successfully, but these errors were encountered:
But the grammar indicates comma? <mix-component>#{2} has a hash mark which
<mix-component>#{2}
indicates that the preceding type, word, or group occurs one or more times, separated by comma tokens
Sorry, something went wrong.
Ah, I missed that. Ok, then that clarifies things. Thanks.
No branches or pull requests
In CSS Color 5's color-mix() function, https://drafts.csswg.org/css-color-5/#color-mix, should there be a comma between mix-components? For example, which of the following is correct:
or
The grammar indicates no comma:
but all the examples have commas.
I personally think the comma makes it more readable.
The text was updated successfully, but these errors were encountered: