simonschaufi / cssmin

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

Minification selectors on nested elements #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What version of CssMin are you using (source and/or build)?

v3.0.0 build

What was the input stylesheet and/or configuration options?

Stylesheet:
.parentclass .childclass {color: rgb(20,20,20); }

Standard configuration - no additional parameters.

What is the expected result?

.parentclass .childclass{color: rgb(20,20,20);}

And what is the actual result and/or error message?

.parentclass.childclass{color: rgb(20,20,20);}

Please provide any additional information below.

This breaks the above CSS selector. 

.parentclass .childclass{} means: elements with a class of .childclass that are 
descendants of .parentclass

The resulting .parentclass.childclass{} means: elements that have both 
.parentclass and .childclass

Original issue reported on code.google.com by a...@reallysimpleworks.com on 19 Jul 2011 at 9:50

GoogleCodeExporter commented 8 years ago
My Apologies! 

Please ignore this issue - I hadn't isolated my problem properly (working too 
late, time to call it a night). CssMin is working really well. Great work.

Andy

Original comment by a...@reallysimpleworks.com on 19 Jul 2011 at 10:12

GoogleCodeExporter commented 8 years ago
Nevermind; issue closed as invalid

Original comment by joe.scylla on 20 Jul 2011 at 7:48