You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like dom-repeat and dom-if can call into ShadyCSS before the dependencies for custom-style have loaded.
However, elements that don't have a template like dom-repeat don't need to try styling themselves, so the simplest fix is to just ensure that only elements with template call into ShadyCSS.
dom-repeat and/or dom-if booting before custom-style is registered
can break the complicated loading strategy of ShadyCSS.
By only calling ShadyCSS for elements with templates, we both fix this
issue and improve performance for template-less element booting
Fixes#4521
Description
A dom-repeat with no content in this particular place in this document causes CSS mixins in the document not to be rewritten into plain CSS variables.
Live Demo
http://plnkr.co/edit/py2cAnXP7sT0rrZlgK2o?p=preview
Steps to Reproduce
I don't know how to reproduce this other than with the above demo.
Expected Results
The CSS mixins are always rewritten.
Actual Results
The CSS mixins are not rewritten on the page in that demo with the dom-repeat.
Browsers Affected
(I didn't test others.)
Versions
The text was updated successfully, but these errors were encountered: