Whitespace nodes should be ignored.
A comment node should be ignored.
Non-whitespace text node should be ignored.
.
There is another child element.

Summary

Harness status: OK

Found 5 tests

Details

ResultTest NameMessage
PassWhitespace nodes should be ignored.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /css/selectors/only-child.html:44:7)
PassA comment node should be ignored.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /css/selectors/only-child.html:44:7)
PassNon-whitespace text node should be ignored.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /css/selectors/only-child.html:44:7)
PassThere is another child element.
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /css/selectors/only-child.html:42:7)
PassDynamic addition and removal
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /css/selectors/only-child.html:50:3)
Pass
assert_false(false)
    at Test.<anonymous> ( /css/selectors/only-child.html:53:3)
Pass
assert_false(false)
    at Test.<anonymous> ( /css/selectors/only-child.html:54:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /css/selectors/only-child.html:57:3)