runem / lit-analyzer

Monorepository for tools that analyze lit-html templates
MIT License
314 stars 35 forks source link

getting warning "no-invalid-css" when using select >, ~, + inside :has #362

Open xd1gital opened 2 weeks ago

xd1gital commented 2 weeks ago

image

Here is the code to test

css`
  div:has(+ .test) {  
    display: flex
  }
  div:has(> .test) {
    display: flex
  }
  div:has(~ .test) {
    display: flex
  }`