PASS: :nth-child of :has() invalidates following structural dependents
PASS: :nth-last-child of :has() invalidates previous structural dependents
