[css-mixins-1] how do @function
rules cross shadow boundaries?
#10953
Labels
Closed as Question Answered
Used when the issue is more of a question than a problem, and it's been answered.
css-mixins
The
@function
rule defines a custom function to be referred to in other style rules. It needs to be defined how the ident will cross shadow boundaries. Will it be available? Can vended shadow styles clobber?My recommendation is that they should be available but a shadowroot should be able to clobber within its own scope, and functions defined in a shadow root should not leak into the global styles, if at all possible.
The text was updated successfully, but these errors were encountered: