-
Notifications
You must be signed in to change notification settings - Fork 707
[css-color-4] Alias "grey()" to "gray()"? #3298
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
Comments
The The 'grey' spelling is a British (and ex-empire in generally) spelling; CSS uses American spelling, and we don't generally add British spelling aliases. (See the perennial request for a |
@tabatkins I had forgotten about the merging of colors. However, I feel as though people have come to expect |
The aliasing of international-English grey and US-English gray is least problematic as a property value (but would probably still not be adopted, were those keywords to be proposed today). As a functional notation, it would be more problematic; it would require precedence and de-duplicating rules in case both were specified. Even more so for aliasing the Sorry, this would add far more issues than it solves. |
Well, there's always https://github.com/hashanp/postcss-spiffing if someone really, really wants to use British English 😄 I know this is not helping the discussion, but I just could not resist |
Maybe an explanation about As a Canadian who teaches people HTML/CSS, the 'u' absent from |
I don't see how duplicate properties would be problematic or require any rules at all. Consider the following 'problematic' example: color: red;
colour: green; This is not any more problematic than this: color: red;
color: green; In fact, they're semantically identical (at least in my ideal world where CSS supports this). Or, if you wanna continue on with your current "American English is all that matters" leitmotif, you can say that |
|
Hello, here's your annual reminder that American English is not the only English dialect. Still looking forward for CSS to support |
Your question has already been answered. Please stop spamming this closed issue. |
Just because documents themselves should be written in American English doesn't mean that you can't introduce non-American English tokens as valid syntax. |
It does, however, mean that APIs do default to American English spelling, and the web platform does not as a rule introduce duplicates like this without very good reason. Introducing it purely in CSS would be inconsistent with the rest of the web. (British/Canadian English aren't the only variant Englishes, either.) The CSSWG designs its APIs in American English, like DOM, JS, and the rest of the web platform does. We do not plan on changing that, and spamming requests will escalate to a ToC violation after you've been warned. I'm locking this issue for now; nothing else needs to be said here. |
Relevant section
As far as I'm aware, anywhere "gray" is used in CSS, "grey" is treated identically. Will level 4 colors no longer follow this, or was it an oversight?
The text was updated successfully, but these errors were encountered: