Source code
Revision control
Copy as Markdown
Other Tools
[class-prefix-selector-has-invalidation.tentative.html]
[:has(> .foo-*) invalidates the :has() subject when a direct child gains/loses a matching class]
expected: FAIL
[:has(.foo-*) invalidates the :has() subject when a descendant at any depth gains/loses a matching class]
expected: FAIL
[:has(+ .foo-*) invalidates the :has() subject when its immediately following sibling gains/loses a matching class]
expected: FAIL
[:has(~ .foo-*) invalidates the :has() subject when a later (non-adjacent) sibling gains/loses a matching class]
expected: FAIL
[:has(~ .bar > .foo-*) invalidates the :has() subject when a direct child of a later ".bar" sibling gains/loses a matching class]
expected: FAIL
[:has(~ .bar .foo-*) invalidates the :has() subject when a descendant, at any depth, of a later ".bar" sibling gains/loses a matching class]
expected: FAIL
[:has(.foo-*) in non-subject (ancestor) position invalidates a separate descendant of the :has() bearer]
expected: FAIL
[:has(> .foo-*) in non-subject (parent) position invalidates a sibling child of the :has() bearer]
expected: FAIL