background:transparent; usage is broken by sort_properties
Status: Inactive
                
                Brought to you by:
                
                    floele
                    
                
            in class.csstidy.php
$this->settings['sort_properties'] = true;
causing the properties to be alphabetizes was is great except it breaks background:transparent; usage.
for example if the css has
background-color: #000000;
background-image:url(whatever.jpg);
background:transparent;
it gets alphabetized to:
background:transparent;
background-color: #000000;
background-image:url(whatever.jpg);
since background: transparent; is no longer under background-image:; it is ignored.
CSSTidy needs to keep background: transparent; in the same position relative to background-color and background-image when sort_properties is true.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Correction: 'sort_properties' causes the properties to be alphabetized...which is great except it breaks background:transparent; usage.
Last edit: Anonymous 2014-10-28