Nested caption

Summary

Harness status: OK

Found 6 tests

Details

ResultTest NameMessage
PassdeleteCaption() delete only caption on table
Asserts run
Pass
assert_equals(0, 0, "caption was removed")
    at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/delete-caption.html:39:5)
PassdeleteCaption() returns undefined
Asserts run
Pass
assert_equals(undefined, undefined, ".deleteCaption() returns undefined")
    at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/delete-caption.html:49:5)
PassdeleteCaption()
Asserts run
Pass
assert_equals(1, 1, "1 caption (of 2) was removed")
    at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/delete-caption.html:56:5)
Pass
assert_equals("A second caption element", "A second caption element", "The first caption was removed")
    at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/delete-caption.html:57:5)
Pass
assert_equals(0, 0, "last caption was removed")
    at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/delete-caption.html:61:5)
PassdeleteCaption() does not throw any exceptions when called on a table without a caption
Asserts run
Pass
assert_equals(0, 0, "no exceptions using .deleteCaption() on a table without any captions")
    at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/delete-caption.html:69:5)
PassdeleteCaption() does not delete captions in descendent tables
Asserts run
Pass
assert_equals(1, 1, "descendent caption was not deleted")
    at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/delete-caption.html:77:5)
PassdeleteCaption() handles captions from different namespaces
Asserts run
Pass
assert_equals(1, 1, "SVG:caption is created")
    at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/delete-caption.html:86:5)
Pass
assert_equals(1, 1, "SVG:caption is not deleted")
    at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/delete-caption.html:89:5)