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

Linear Gradients have different ways of existing. #6

Open
SlexAxton opened this issue Aug 23, 2011 · 2 comments
Open

Linear Gradients have different ways of existing. #6

SlexAxton opened this issue Aug 23, 2011 · 2 comments

Comments

@SlexAxton
Copy link
Collaborator

-webkit-gradient(linear,left top,left bottom,from(#F4F4F4),to(#ECECEC));

our current search for /linear-gradient(.*?)/g isn't cutting it here.

@davatron5000
Copy link
Owner

I'll build out our test suite (ahem example.html ahem) a little more and add the full CSS3Please syntax. I'm less concerned with supporting -ms-filter, but we'll see. We could probably get by detecting -gradient and emptying that out.

@chriscoyier
Copy link

Sounds like a search for "-gradient" is best as that will catch linear and radial gradients (and conical in the future) as well as vendor prefixed versions.

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