We all know and love <custom-style>, but it comes with some extra cost due to the "include" feature of Polymer style modules.
It'd be great to have a tiny decoupled element that would register child styles with ShadyCSS for browsers that require the ShadyCSS polyfill.
Example:
<shady-style>
<style>
html {
--custom-prop-on-ie11: teal;
}
</style>
</shady-style>
This was proposed on the Polymer slack by justin, daKmoR, and bennyp.
We all know and love
<custom-style>, but it comes with some extra cost due to the "include" feature of Polymer style modules.It'd be great to have a tiny decoupled element that would register child styles with ShadyCSS for browsers that require the ShadyCSS polyfill.
Example:
This was proposed on the Polymer slack by justin, daKmoR, and bennyp.