CSS tidy deletes code

For TopStyle bug reports.

Moderator: TopStyle Support

CSS tidy deletes code

Postby JoeB » Sun Mar 17, 2013 12:50 pm

#asdf {
background: -moz-linear-gradient(top, #903193 0%, #cb6bab 100%);
background: -o-linear-gradient(top, #903193 0%, #cb6bab 100%);
background: -ms-linear-gradient(top, #903193 0%, #cb6bab 100%);

}


Doing a CSS tidy (default settings) on the above produces this:

#asdf {
background:0;
}


Quite clearly that is not the right answer.
JoeB
Rank II - Novice
Rank II - Novice
 
Posts: 28
Joined: Wed Nov 21, 2012 5:14 pm

Re: CSS tidy deletes code

Postby TopStyle Support » Mon Mar 18, 2013 8:05 am

Apparently, CSS Tidy does not understand about CSS gradients :(

I'm afraid CSS Tidy is a third-party module and as such it is mostly out of my control.

Have you tried Style Sweeper instead?
User avatar
TopStyle Support
Rank VI - Professional
Rank VI - Professional
 
Posts: 470
Joined: Sat Jun 13, 2009 12:38 pm


Return to TopStyle Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest