Summary

Harness status: OK

Found 8 tests

Details

ResultTest NameMessage
Pass:not(#foo) wins over :not(.foo)
Asserts run
Pass
assert_equals("PASS", "PASS")
    at Test.<anonymous> ( /css/selectors/not-specificity.html:38:7)
Pass:not(div#foo) wins over :not(#foo)
Asserts run
Pass
assert_equals("PASS", "PASS")
    at Test.<anonymous> ( /css/selectors/not-specificity.html:38:7)
Pass:not(.bar, #foo) has same specificity as :not(#foo, .bar)
Asserts run
Pass
assert_equals("PASS", "PASS")
    at Test.<anonymous> ( /css/selectors/not-specificity.html:38:7)
Pass:not(.bar, #foo) wins over :not(.foo, .bar)
Asserts run
Pass
assert_equals("PASS", "PASS")
    at Test.<anonymous> ( /css/selectors/not-specificity.html:38:7)
Pass:not(span + span) wins over :not(span)
Asserts run
Pass
assert_equals("PASS", "PASS")
    at Test.<anonymous> ( /css/selectors/not-specificity.html:38:7)
Pass:not(span, li, p) wins over :not(span, lo, p)
Asserts run
Pass
assert_equals("PASS", "PASS")
    at Test.<anonymous> ( /css/selectors/not-specificity.html:38:7)
Pass:not(span, :not(:not(.a#foo)), p) wins over :not(span, #foo, p)
Asserts run
Pass
assert_equals("PASS", "PASS")
    at Test.<anonymous> ( /css/selectors/not-specificity.html:38:7)
Pass:not(span, #foo, p) wins over :not(span, :where(.a#foo), p)
Asserts run
Pass
assert_equals("PASS", "PASS")
    at Test.<anonymous> ( /css/selectors/not-specificity.html:38:7)