CSS @Import directive with semicolon breaks when using apply shim
Closed this issue · 1 comments
kevinpschaaf commented
Originally reported as Polymer/polymer#4629.
Putting aside the fact that shadycss
does not shim styles in @import
'ed stylesheets, it appears that the apply shim parsing results in @import
statements to be removed altogether if the @import
statement ends in a semicolon. This is unexpected and appears to be an apply shim parsing bug.
To reproduce, open http://plnkr.co/edit/8S85VShD4KGldF7h4phW?p=preview in Chrome, and note that the 2nd element's style breaks when apply-shim.html
is loaded.
mkropf commented