Closed jeroenrodenburg closed 7 months ago
Hi @jeroenrodenburg,
This is unrelated to the PostCSS plugin and not something we can resolve.
@custom-selector
is a feature that no browser has implemented.
Custom state pseudo classes however were implemented by Chrome and had the same syntax :--foo
. Chrome is warning about a deprecation in custom state pseudo classes.
This also implies that you are preserving @custom-selector
notation and serving that to clients.
Thanks @romainmenke , all clear!
Chrome (Version 123.0.6312.58) is giving console errors when using a
@custom-selector
.For example: [Deprecation] Custom state pseudo classes are changing from ":--headings" to ":state(headings)" soon. See more here: https://github.com/w3c/csswg-drafts/issues/4805