filamentgroup / criticalCSS

Finds the Above the Fold CSS for your page, and outputs it into a file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

At-supports rules need to be part of the included rules

scottjehl opened this issue · comments

Currently if we use @supports blocks in the css, our runner won't capture it. We need a special case for them like we do for @media I'm afraid. It'd be nice if we had a more generic way to get conditional blocks for future readiness too though.

One thing to note for testing: these blocks can appear inside media blocks. The opposite is true too.

Here's a sample of a supports rule in the css om:

image