closure-stylesheets
closure-stylesheets copied to clipboard
Parser error on @viewport
@media screen and (max-width: 605px) { @viewport { width: 100px; } ...
Looking at the parser stack: at_rule->block->at_rule->block->ruleSet
It takes "width" as a selector inside of the ruleSet. Not as a property name.
Yeah, this is a known problem.
There is a similar problem with @supports and @charset tag, is there any way for the compiler to ignore those attributes all together? That way this problem can be temporarily mitigated.
It's not quite as easy as that, unfortunately. :-( I'll try to take a look at this soon, but my recent focus has been improving sourcemap support. If you have a patch, I'll gladly look at it.