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

Do not shrink color #18

Open
meetwudi opened this issue Aug 4, 2014 · 2 comments
Open

Do not shrink color #18

meetwudi opened this issue Aug 4, 2014 · 2 comments

Comments

@meetwudi
Copy link

meetwudi commented Aug 4, 2014

In the given example, a{color: #ff0000;} got compiled, and became a{color:red}. This is not always the case. In some browsers, the color red is not #ff0000.

@JohnCashmore
Copy link
Contributor

I'd suggest this is correct if you look at the W3C spec
http://www.w3.org/TR/CSS2/syndata.html

Section 4.3.6 Colors

red is listed as #ff0000.

So the browser is wrong not this tool.

@yairEO
Copy link

yairEO commented Apr 27, 2015

haha, he got you there @tjwudi ;)

and he's right. you do want to normalize things. you are actually suggesting to keep a default bad behavior of a single browser.

This issue should be closed.

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

No branches or pull requests

3 participants