Whitespace nodes should be ignored.
Thre is another child element of the same type.
There is a posterior child element of another type.
A next element of the parent should not affect.
The parent element of the same type should not affect.
A child of the next element should not affect.
The first child element of the same type should not match.
The first child element of the same type should not match, the last child has a case-different tag name.

Summary

Harness status: OK

Found 9 tests

Details

ResultTest NameMessage
PassWhitespace nodes should be ignored.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /css/selectors/last-of-type.html:73:7)
PassThre is another child element of the same type.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /css/selectors/last-of-type.html:73:7)
PassThere is a posterior child element of another type.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /css/selectors/last-of-type.html:73:7)
PassA next element of the parent should not affect.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /css/selectors/last-of-type.html:73:7)
PassThe parent element of the same type should not affect.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /css/selectors/last-of-type.html:73:7)
PassA child of the next element should not affect.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /css/selectors/last-of-type.html:73:7)
PassThe first child element of the same type should not match.
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /css/selectors/last-of-type.html:71:7)
PassThe first child element of the same type should not match, the last child has a case-different tag name.
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /css/selectors/last-of-type.html:71:7)
PassDynamic insertion and removal
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /css/selectors/last-of-type.html:80:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /css/selectors/last-of-type.html:82:3)
Pass
assert_false(false)
    at Test.<anonymous> ( /css/selectors/last-of-type.html:83:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /css/selectors/last-of-type.html:86:3)