Microsoft/vscode
[css] Wrong selector specificity values with :where
Geschlossen
#129.487 geöffnet am 27.07.2021
bugcss-less-scsshelp wanted
Repository-Metriken
- Stars
- (184.936 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 11h 43m) (1.000 gemergte PRs in 30 T)
Beschreibung
Does this issue occur when all extensions are disabled?: Yes/No
Issue Type: Bug
In CSS files : It seems like selectors inside where pseudo class count as normal, and where pseudo class itself counted as class.
:where(.foo) li {...}
indicates
Specificity should be Selector Specificity: (0, 0, 1)
バージョン: 1.58.2 コミット: c3f126316369cd610563c75b1b1725e0679adfb3 日付: 2021-07-14T22:10:15.214Z Electron: 12.0.13 Chrome: 89.0.4389.128 Node.js: 14.16.0 V8: 8.9.255.25-electron.0 OS: Windows_NT x64 10.0.18363
Extensions: none