Whitespace nodes should be ignored.
Thre is another child element of the same type.
There is a prior child element of another type.
A previous element of the parent should not affect.
The parent element of the same type should not affect.
A child of the previous element should not affect.
The second child element of the same type should not match.
The second child element of the same type should not match, the first child has 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/first-of-type.html:74:7)
PassThre is another child element of the same type.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /css/selectors/first-of-type.html:74:7)
PassThere is a prior child element of another type.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /css/selectors/first-of-type.html:74:7)
PassA previous element of the parent should not affect.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /css/selectors/first-of-type.html:74:7)
PassThe parent element of the same type should not affect.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /css/selectors/first-of-type.html:74:7)
PassA child of the previous element should not affect.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /css/selectors/first-of-type.html:74:7)
PassThe second child element of the same type should not match.
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /css/selectors/first-of-type.html:72:7)
PassThe second child element of the same type should not match, the first child has case-different tag name.
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /css/selectors/first-of-type.html:72:7)
PassDynamic insertion and removal
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /css/selectors/first-of-type.html:81:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /css/selectors/first-of-type.html:83:3)
Pass
assert_false(false)
    at Test.<anonymous> ( /css/selectors/first-of-type.html:84:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /css/selectors/first-of-type.html:87:3)