I experimented with the customizable select elements and noticed that chaining pseudo-classes after the ::picker pseudo-element is currently not allowed in lightningcss.
An example would be the :not() CSS pseudo-class, like:
select::picker(select):not(:popover-open) {}
This code throws the following syntax error:
SyntaxError: Invalid pseudo class after pseudo element, only user action pseudo classes (e.g. :hover, :active) are allowed.
I experimented with the customizable select elements and noticed that chaining pseudo-classes after the ::picker pseudo-element is currently not allowed in lightningcss.
An example would be the :not() CSS pseudo-class, like:
This code throws the following syntax error:
SyntaxError: Invalid pseudo class after pseudo element, only user action pseudo classes (e.g. :hover, :active) are allowed.