Summary

Harness status: OK

Found 6 tests

Details

ResultTest NameMessage
PasscellIndex should exist.
Asserts run
Pass
assert_true(true, "\"cellIndex\" in th")
    at Test.<anonymous> ( /html/semantics/tabular-data/attributes-common-to-td-and-th-elements/cellIndex.html:10:3)
Pass
assert_true(true, "\"cellIndex\" in td")
    at Test.<anonymous> ( /html/semantics/tabular-data/attributes-common-to-td-and-th-elements/cellIndex.html:12:3)
PassFor cells without a parent, cellIndex should be -1.
Asserts run
Pass
assert_equals(-1, -1)
    at Test.<anonymous> ( /html/semantics/tabular-data/attributes-common-to-td-and-th-elements/cellIndex.html:16:3)
Pass
assert_equals(-1, -1)
    at Test.<anonymous> ( /html/semantics/tabular-data/attributes-common-to-td-and-th-elements/cellIndex.html:18:3)
PassFor cells whose parent is not a tr, cellIndex should be -1.
Asserts run
Pass
assert_equals(-1, -1)
    at Test.<anonymous> ( /html/semantics/tabular-data/attributes-common-to-td-and-th-elements/cellIndex.html:23:3)
Pass
assert_equals(-1, -1)
    at Test.<anonymous> ( /html/semantics/tabular-data/attributes-common-to-td-and-th-elements/cellIndex.html:25:3)
PassFor cells whose parent is not a HTML tr, cellIndex should be -1.
Asserts run
Pass
assert_equals(-1, -1)
    at Test.<anonymous> ( /html/semantics/tabular-data/attributes-common-to-td-and-th-elements/cellIndex.html:30:3)
Pass
assert_equals(-1, -1)
    at Test.<anonymous> ( /html/semantics/tabular-data/attributes-common-to-td-and-th-elements/cellIndex.html:32:3)
PassFor cells whose parent is a tr, cellIndex should be the index.
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/tabular-data/attributes-common-to-td-and-th-elements/cellIndex.html:37:3)
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /html/semantics/tabular-data/attributes-common-to-td-and-th-elements/cellIndex.html:39:3)
PassFor cells whose parent is a tr with non td/th sibling, cellIndex should skip those non td/th siblings.
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/tabular-data/attributes-common-to-td-and-th-elements/cellIndex.html:44:3)
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /html/semantics/tabular-data/attributes-common-to-td-and-th-elements/cellIndex.html:48:3)