-
Notifications
You must be signed in to change notification settings - Fork 25
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
Multiple Backgrounds #7
Comments
Do multiple backgrounds show up as a single background or no backgrounds? |
no backgrounds |
I can add a multiple background to the test suite. I'm just about to make a push here. It typically matches a:
Pattern. Should be easy to detect? But you can also slide gradients in there. so maybe we just detect the |
I would think gradients are a bit harder just because some dorkus might do like:
So matching on keywords like "-webkit" would match that and remove it unjustly. But maybe that dorkus deserves that. |
Another background issue... If you have:
deCSS3 will end up removing both, leaving a transparent background. |
Hey ya'll -- I tried to do this a while back as well but mine is way ghetto: https://github.com/chriscoyier/CSS3-StripTease
I'm thinking multiple backgrounds should be pretty easy to test for, just look for a comma in the value for background-image and there is one set background-image: none;
The text was updated successfully, but these errors were encountered: