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

images module unable to handle angled gradients (or “transparent”)? #303

Closed
alanhogan opened this issue Mar 21, 2011 · 8 comments
Closed
Milestone

Comments

@alanhogan
Copy link

Compass 0.11.beta.3.

Adding “45deg,” before color stops in background-image crashes Compass.

(I also had to replace “transparent” with “rgba(0,0,0,0)” — it said it was expecting a color. Could be a Sass thing? Understandable, either way, given that transparent pixels do generally still need values for other channels when working with or generating images…)

@alanhogan
Copy link
Author

Oh, IIRC, the old -webkit- syntax doesn’t allow angles, but the -moz-/W3C variant does, and new Webkit builds do too. Not positive there though — the old Webkit syntax may have allowed angles as well as the start+stop points system that Mozilla rejected?

chriseppstein added a commit that referenced this issue Apr 10, 2011
…or SVG gradients using degrees. Partial fix for #303
@chriseppstein
Copy link
Member

The main issue is fixed, but I'm keeping this open until we determine the SVG support for degree arguments.

@chriseppstein
Copy link
Member

also we still need to handle transparent as a color value.

@scottdavis
Copy link
Member

@scottdavis
Copy link
Member

partialy fixed by 4e502dd

@chriseppstein
Copy link
Member

This is mostly fixed, you can work around the issue with the transparent keyword by using rgba(0,0,0,0). There's a new issue to track that last aspect. #356

@chriseppstein
Copy link
Member

Note this is fixed on stable and will be release very soon.

@alanhogan
Copy link
Author

Cheers, thanks for the update

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