Skip to content

Infinite loop when using :hover inside :has() condition #35

Open
@daun

Description

@daun

Hi! I've stumbled upon an issue where the plugin would hang in an infinite loop when using :hover inside a :has condition. Below is a concrete example that triggered the infinite loop. I suspect this might be related to #31 and/or fixed by #32, but I'm not too familiar with the inner workings of this (fantastic!) plugin.

header:has(a:hover),
header:has(a:focus) {
  a {
    color: gray;
  }
  a:hover,
  a:focus {
    color: black;
  }
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions