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

[css-color][css-values] Merge <alpha-value> and <cmyk-component> in <color-component> #4494

Closed
Crissov opened this issue Nov 7, 2019 · 3 comments
Labels
css-color-4 Current Work

Comments

@Crissov
Copy link
Contributor

Crissov commented Nov 7, 2019

As already mentioned in #4477, <alpha-value> is redundant with <cmyk-component>, because both are effectively defined as <number [0.0, 1.0]> | <percentage>. Since color() shall allow either type as well #3450, it would make sense to have a single value type <color-component> for all of these, even if we can never have a generic <number-percentage> type in css-value.

@svgeesus
Copy link
Contributor

is redundant with ,

Sure, if all you care about is syntactic level and nothing about documentation, understandability or semantics.

Closing this as pointless.

@Crissov
Copy link
Contributor Author

Crissov commented Mar 19, 2020

I care about ease of understanding of specifications. The semantics are also the same, really.

@Crissov
Copy link
Contributor Author

Crissov commented Sep 1, 2020

Also, apparently <alphavalue> is going to be killed in #3139.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-color-4 Current Work
Projects
None yet
Development

No branches or pull requests

3 participants