The parser for custom properties does not work for compressed CSS like: ``` css :host{--my-custom-color:#F00;} ``` When not compressed, it works properly: ``` css :host { --my-custom-color: #F00; } ```
Activity
YuJM commentedon Jun 22, 2015
try
(intdex.html )
(your custom-element )
alefwmm commentedon Jun 22, 2015
My bad, I found what the problem really is.
When the last CSS rule is a custom variable and does not have a semi-colon, the problem happens.
This is okay:
This is not:
demo of the bug
Fixes #1938: make host selector not tripped up by id, attr, or pseudo…
sorvell commentedon Jun 25, 2015
Fixed via #1948