Closed GoogleCodeExporter closed 8 years ago
This feature is already planned (as listed on
http://code.google.com/p/cssmin/wiki/Planned) but on low priority.
Original comment by joe.scylla
on 30 Sep 2010 at 1:55
[deleted comment]
I'm working on this feature now. The implementation is quite difficult. This
feature will require a new configuration parameter defining the base url for
all imports. Every path defined in the @import at-rule has to be based on the
base url (as also @import at-rule in any imported css files).
Most of the business logic will deal with the media type handling. If the
@import at-rule define one or more media types the included tokens have to get
wraped into a T_AT_MEDIA_START and T_AT_MEDIA_END but the wrapping have to
exclude @font-face, @media and @page at-rule blocks and @import at-rules.
Additional to simulate the browser handling @media at-rule blocks with media
types not defined in the @import at-rule have to get removed because every
tested browser (IE, FF, Safari, Chrome and Opera) will ignore these blocks.
Original comment by joe.scylla
on 27 Jan 2011 at 2:39
Implemented with http://code.google.com/p/cssmin/source/detail?r=83
Original comment by joe.scylla
on 1 Feb 2011 at 9:46
Original issue reported on code.google.com by
danielvogt61@gmail.com
on 30 Sep 2010 at 12:41