Pass | cellIndex should exist. | Asserts runPass | 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) |
|
Pass | For cells without a parent, cellIndex should be -1. | Asserts runPass | 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) |
|
Pass | For cells whose parent is not a tr, cellIndex should be -1. | Asserts runPass | 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) |
|
Pass | For cells whose parent is not a HTML tr, cellIndex should be -1. | Asserts runPass | 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) |
|
Pass | For cells whose parent is a tr, cellIndex should be the index. | Asserts runPass | 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) |
|
Pass | For cells whose parent is a tr with non td/th sibling, cellIndex should skip those non td/th siblings. | Asserts runPass | 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) |
|