has-specificity.html
Details
- Test
/css/selectors/has-specificity.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | :has(#foo) wins over :has(.foo) |
| PASS | :has(span#foo) wins over :has(#foo) |
| PASS | :has(.bar, #foo) has same specificity as :has(#foo, .bar) |
| PASS | :has(.bar, #foo) wins over :has(.foo, .bar) |
| PASS | :has(span + span) wins over :has(span) |
| PASS | :has(span, li, p) wins over :has(span, lo, p) |
| PASS | latter .baz wins over :has(.foo) |
| PASS | latter :has(.foo) wins over .baz |