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

Pseudo-selectors are not recognized #56

Open
winstliu opened this issue May 6, 2016 · 3 comments
Open

Pseudo-selectors are not recognized #56

winstliu opened this issue May 6, 2016 · 3 comments
Labels

Comments

@winstliu
Copy link
Contributor

winstliu commented May 6, 2016

Taken from the autocomplete-css specs:

.some-class {
  .a:pseudo
}

The : is treated as the key value separator and pseudo as the property value.

@winstliu winstliu added the bug label May 6, 2016
@wingyplus
Copy link

I see pseudo already tokenize as property value (see image below). So is this issue should be close?

screen shot 2560-01-27 at 11 36 10 am

@winstliu
Copy link
Contributor Author

Yeah, that's the bug.

@keithjgrant
Copy link

It seems to match only known pseudo classes (:first-child, etc), but arbitrary ones are not identified as pseudo-classes.

I’m also seeing the same issue with several of the function-like pseudo-classes: :nth-child(), :not(), etc.

screen shot 2017-06-02 at 10 02 49 am

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

No branches or pull requests

3 participants