language-less icon indicating copy to clipboard operation
language-less copied to clipboard

Pseudo-selectors are not recognized

Open winstliu opened this issue 9 years ago • 3 comments

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 avatar May 06 '16 01:05 winstliu

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

wingyplus avatar Jan 27 '17 04:01 wingyplus

Yeah, that's the bug.

winstliu avatar Jan 27 '17 15:01 winstliu

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

keithjgrant avatar Jun 02 '17 14:06 keithjgrant