[css] Wrong selector specificity values with :nth-child(even) and :nth-child(odd) #74068
Labels
bug
Issue identified by VS Code Team member as probable bug
css-less-scss
Issues and items concerning CSS,Less,SCSS styling
Milestone
Issue Type: Bug
In CSS files :
It seems like
odd
andeven
keywords count as element selectors.div:nth-child(odd){...}
indicates
<div :nth-child>
Selector Specificity: (0, 1, 2)
Specificity should be
Selector Specificity: (0, 1, 1)
VS Code version: Code 1.33.1 (51b0b28, 2019-04-11T08:27:14.102Z)
OS version: Windows_NT x64 10.0.17763
Extensions: none
The text was updated successfully, but these errors were encountered: