simonschaufi / cssmin

Automatically exported from code.google.com/p/cssmin
0 stars 0 forks source link

Warning: Line #613: Unterminated declaration #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
i have your great cssmin running on a website in the version 2.0.2.1. Sience 
the last update i got this message on the website:

Warning: Line #613: Unterminated declaration: padding-bottom: 0px_ in 
plugins/cssmin/cssmin.php on line 1612 

I checked all included css files for a wrong padding-bottom definition but 
there is no wrong one.

# grep 'padding-bottom' *
layout_standard.css:    padding-bottom: 20px;
layout_standard.css:    padding-bottom: 6px;
layout_standard.css:    padding-bottom: 5px;
layout_standard.css:    padding-bottom: 0px
layout_standard.css:    padding-bottom: 0px
layout_standard.css:    padding-bottom: 4px;
layout_standard.css:    padding-bottom: 20px;
layout_standard.css:    padding-bottom: 8px;
layout_standard.css:    padding-bottom: 8px;
layout_standard.css:    padding-bottom: 0px;
layout_standard.css:    padding-bottom: 12px;
layout_standard.css:    padding-bottom: 0px;
layout_standard.css:    padding-bottom: 30px;
layout_standard.css:    padding-bottom: 3px;
layout_standard.css:    padding-bottom: 20px;
layout_standard.css:    padding-bottom: 7px;

Do you have an idea why this happens?
thanks and greetings from austria
Leo

Original issue reported on code.google.com by leo.unglaub on 11 Mar 2011 at 10:26

GoogleCodeExporter commented 9 years ago
Hi, can you please attach the file "layout_standard.css" to test if i'll get 
the same error message?

Original comment by joe.scylla on 12 Mar 2011 at 12:22

GoogleCodeExporter commented 9 years ago
Hi, i attached the file for your.
I hope that helps.

Greetings
Leo

Original comment by leo.unglaub on 14 Mar 2011 at 5:22

Attachments:

GoogleCodeExporter commented 9 years ago
#main p.more {
        margin-bottom: 7px;
        padding-bottom: 0px
        margin-top: 7px;
        padding-top: 0px;
}

The warning is correct. The semicolon is missing on the second declaration in 
this ruleset.

Original comment by joe.scylla on 22 Mar 2011 at 9:45

GoogleCodeExporter commented 9 years ago
oh, i am very sorry. i should see this in the grep before asking you.
I am very sorry.
Greetings Leo

Original comment by leo.unglaub on 24 Mar 2011 at 1:09