Closed spaceninja closed 10 years ago
Thank you for raising this issue. The example you've provided has been very helpful. I've just updated Parker with support for media queries, and it should now measure rules correctly.
Total Stylesheets: 1
Total Stylesheet Size: 140096
Total Rules: 4100
Total Selectors: 4101
...
Total Important Keywords: 0
Total Media Queries: 2
Media Queries: screen,all
Here's a test case: http://codepen.io/anon/pen/GEcmx
The CSS file contains 4100 rules, and 4101 selectors. 100 of those rules are nested inside two media queries.
Parker gives the following result:
Looks like Parker evaluates the media query as a rule, but not the contents of the media query.