Closed ar2r13 closed 2 years ago
In the latest version this still transform to :
input:focus,::slotted(input):focus {
order: 1;
}
This is technically correct I think as there is nothing in @custom-selector :--input input, ::slotted(input);
indicating that it should insert something in ::slotted(...)
instead of after it.
I think nested css might be better fit for this.
:focus {
@nest input&, ::slotted(input&) { ... }
}
Going to close this as this repo has moved and will be archived soon preventing further discussion here.
Feel free to open a new issue or discussion here : https://github.com/csstools/postcss-plugins
Expected:
Result: