Closed halmos closed 5 years ago
That sounds totally reasonable to me.
Should this be configurable so a user can expand what is supported with the default being root? For web components, I need :host to also be supported.
@jagreehal, that gets tricky, because then we’d be determining scope.
We're currently running up against a bug with latest MS Edge in that when printing, variables declared in
:root
are no properly handled (bot the variables and fallbacks are ignored. See: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/16025710/). Usinghtml
, however, does work. Since:root
andhtml
are more-or-less synonymous, would it possible for this plugin to also support variable declarations inhtml
?