Open alexr00 opened 3 years ago
focus-visible and user-invalid are not scoped as entity.other.attribute-name.pseudo-class.css
focus-visible
user-invalid
entity.other.attribute-name.pseudo-class.css
a:hover { color: red; } a:focus { color: red; } a:focus-visible { color: red; } a:invalid { color: red; } a:user-invalid { color: red; }
Expected behavior: all of the pseudoclasses are scoped as entity.other.attribute-name.pseudo-class.css.
Actual behavior: focus-visible and user-invalid are scoped as entity.name.tag.custom.css
entity.name.tag.custom.css
Reproduces how often: 100%
Commit 339e9600ce4e024fa97a711d6330e3b5344fcbdc
Originally from @wojtekmaj in https://github.com/microsoft/vscode/issues/124369
This also affects ::slotted() and ::part().
::slotted()
::part()
Prerequisites
Description
focus-visible
anduser-invalid
are not scoped asentity.other.attribute-name.pseudo-class.css
Steps to Reproduce
Expected behavior: all of the pseudoclasses are scoped as
entity.other.attribute-name.pseudo-class.css
.Actual behavior:
focus-visible
anduser-invalid
are scoped asentity.name.tag.custom.css
Reproduces how often: 100%
Versions
Commit 339e9600ce4e024fa97a711d6330e3b5344fcbdc
Originally from @wojtekmaj in https://github.com/microsoft/vscode/issues/124369