microsoft / microsoft/vscode-css-languageservice

:not() CSS3 selector is misparsed

Open
#169 0 comments 0 reactions 1 assignee View on GitHub

@aeschli is already working on this.

Since Aug 14, 2019.

bug
Dominant language
TypeScript
Stars
384
Forks
217
Avg merge
3d 16h
Merged PRs (30d)
14

Description

In VS Code, when editing a CSS file and hovering over a selector you can see an example of an element that would be matched. However, for :not(.class) situations, this example is wrong.

Correct behaviour: :not(.class) shows an example with the correct selector(:not(.class))

Current behaviour: A non-existent :not CSS selector is shown
css_bug

Related issues: This might be related to #56, but :not() selectors are supported by ALL major browsers ( https://caniuse.com/#feat=css-sel3), making this more urgent

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.