It looks like css_parser is setting media_types to [] rather than [:all] when a block with no media query follows a block with a media query, which as far as I know is valid CSS.
This pull request solves my immediate problem, but this may well not be the best way to fix it -- I won't be offended if you rewrite it. :)
Hi there...
It looks like css_parser is setting media_types to
[]
rather than[:all]
when a block with no media query follows a block with a media query, which as far as I know is valid CSS.This pull request solves my immediate problem, but this may well not be the best way to fix it -- I won't be offended if you rewrite it. :)
Cheers,
Matt