PASS: :nth-child of :has() invalidates following structural dependents | styleInvalidations=5, fullStyleInvalidations=0, elementStyleRecomputations=14, elementStyleNoopRecomputations=12, elementInheritedStyleRecomputations=0, elementInheritedStyleNoopRecomputations=0, hasAncestorWalkInvocations=1, hasInvalidationMetadataCandidates=2, hasMatchInvocations=11, hasResultCacheHits=3, hasResultCacheMisses=8
PASS: :nth-last-child of :has() invalidates previous structural dependents | styleInvalidations=5, fullStyleInvalidations=0, elementStyleRecomputations=14, elementStyleNoopRecomputations=12, elementInheritedStyleRecomputations=0, elementInheritedStyleNoopRecomputations=0, hasAncestorWalkInvocations=1, hasInvalidationMetadataCandidates=2, hasMatchInvocations=9, hasResultCacheHits=3, hasResultCacheMisses=6
