lit-analyzer icon indicating copy to clipboard operation
lit-analyzer copied to clipboard

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

Open xd1gital opened this issue 1 year ago • 2 comments

image

Here is the code to test

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

xd1gital avatar Jun 29 '24 09:06 xd1gital

#315

andrewgtibbetts avatar Aug 01 '24 12:08 andrewgtibbetts

@xd1gital in case you still need a fix, I added a workaround to #315

itsmebasti avatar Sep 04 '24 00:09 itsmebasti