-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Labels
bugUnexpected behavior or exceptionUnexpected behavior or exceptioncoreProcessing and transforming logicProcessing and transforming logic
Description
When importing a class from another stylesheet and using it in a selector (internally referred as an alias class) it's currently (v5) possible to set -st-global and -st-states on the class, although with an unscoped class warning diagnostic. This would be less important if it was an error and not a warning, since severity can be configured to ignore warnings.
expected
-st-globalhas no effect but would benefit from an-st-global not allowed on imported classdiagnostic-st-statesshould also have a similar diagnostic, but additionally should not add states that are picked up for transformation- imported class shouldn't be available as a custom pseudo-element for the importing stylesheet
see reproduction
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugUnexpected behavior or exceptionUnexpected behavior or exceptioncoreProcessing and transforming logicProcessing and transforming logic