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

Support Gradients #7

Open
mhemesath opened this issue Jun 11, 2012 · 0 comments
Open

Support Gradients #7

mhemesath opened this issue Jun 11, 2012 · 0 comments

Comments

@mhemesath
Copy link
Contributor

I haven't ran into this yet, but I think we may need to consider adding support to gradients. Given:

<linear-gradient> = linear-gradient(
[ 
        [ [top | bottom] || [left | right] ] 
    | 
    <angle>
,]? 
<color-stop>[, <color-stop>]+
);

I think we'll either have to flip left to right and transform the angle along the x-axis or invert the ordering of the colors. Before this makes it in, I think I'd like to get a comprehensive test suite in making sure all cases are getting converted correctly.

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

1 participant