Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Add :focus-visible and :user-invalid pseudoclasses #180

Open
1 task
alexr00 opened this issue May 27, 2021 · 1 comment
Open
1 task

Add :focus-visible and :user-invalid pseudoclasses #180

alexr00 opened this issue May 27, 2021 · 1 comment

Comments

@alexr00
Copy link

alexr00 commented May 27, 2021

Prerequisites

Description

focus-visible and user-invalid are not scoped as entity.other.attribute-name.pseudo-class.css

Steps to Reproduce

  1. Write the following 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

Reproduces how often: 100%

Versions

Commit 339e960

Originally from @wojtekmaj in microsoft/vscode#124369

@radium-v
Copy link

This also affects ::slotted() and ::part().

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants