selectivizr icon indicating copy to clipboard operation
selectivizr copied to clipboard

CSS rules in @media queries are being parsed unnecessarily

Open ianthedev opened this issue 11 years ago • 2 comments

It is understandable that when selectivizr was being introduced, the mobile web was not popular. While nowadays, websites use media queries for their mobile versions becomes a trend.

It's unproductive to scan and parse those thousands of lines of CSS codes within media queries for IE8 and below as they don't support media queries at all.

So in the next release please consider removing codes of media queries before parsing. Thanks.

ianthedev avatar Mar 28 '13 16:03 ianthedev

Or maybe provide an option to enable media queries parsing because users may want to use Respond.js or something for IE8 and below.

ianthedev avatar Apr 08 '13 06:04 ianthedev

Yes, please leave an alternate path, as my team is using Respond.js, and need those media queries.

mike-engel avatar Jul 11 '14 22:07 mike-engel