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

opacity improvement #52

Closed
XhmikosR opened this issue Dec 27, 2012 · 3 comments
Closed

opacity improvement #52

XhmikosR opened this issue Dec 27, 2012 · 3 comments
Assignees
Milestone

Comments

@XhmikosR
Copy link
Contributor

IIRC this is perfectly valid:

foo {
  opacity: 1; /*1.0*/
}

And 0.x is already converted to .x, so you could convert 1.0 to 1. This probably applies to more cases.

@GoalSmashers
Copy link
Contributor

Good catch. It applies to all cases float values which can be converted to integer, e.g 2.0, 0.0, 150.000.

@GoalSmashers
Copy link
Contributor

It also applied to a case when a trailing zeros in a float value could be stripped, e.g. 10.50.

@XhmikosR
Copy link
Contributor Author

Perfect, thanks!

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

2 participants