Pass | createCaption method creates new caption if existing caption is not in html namespace | Asserts runPass | assert_not_equals(Element node <caption></caption>, Text node " ")
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:92:7) | Pass | assert_equals(Element node <caption></caption>, Element node <caption></caption>)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:93:7) |
|
Pass | createCaption method returns the first caption element child of the table | Asserts runPass | assert_equals(Element node <caption id="caption1">caption</caption>, Element node <caption id="caption1">caption</caption>)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:100:7) |
|
Pass | createCaption method creates a new caption and inserts it as the first node of the table element | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:107:7) | Pass | assert_equals(Element node <caption></caption>, Element node <caption></caption>)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:108:7) |
|
Pass | createCaption will not create new caption if one exists | Asserts runPass | assert_equals(Element node <caption></caption>, Element node <caption></caption>)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:113:7) |
|
Pass | createCaption will not copy table's prefix | Asserts runPass | assert_equals(null, null)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:119:7) |
|
Pass | deleteCaption method removes the first caption element child of the table element | Asserts runPass | assert_equals("caption 3", "caption 3")
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:124:7) | Pass | assert_equals(null, null)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:126:7) |
|
Pass | deleteCaption method not remove caption that is not in html namespace | Asserts runPass | assert_equals(Element node <table id="table4" style="display:none"> <caption></cap..., Element node <table id="table4" style="display:none"> <caption></cap...)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:134:7) |
|
Pass | Setting caption rethrows exception | Asserts runPass | assert_throws_dom("HierarchyRequestError", function "function() { table5.caption = caption; }")
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:143:7) | Pass | assert_not_equals(null, Element node <caption><table id="table5" style="display:none"> </tab...)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:147:7) |
|
Pass | Assigning a caption to table.caption | Asserts runPass | assert_equals(Element node <caption id="caption6">caption 6</caption>, Element node <caption id="caption6">caption 6</caption>)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:153:7) | Pass | assert_equals(Element node <table id="table6" style="display:none"><caption></captio..., Element node <table id="table6" style="display:none"><caption></captio...)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:157:7) | Pass | assert_equals(Element node <caption></caption>, Element node <caption></caption>)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:158:7) | Pass | assert_equals(Element node <caption></caption>, Element node <caption></caption>)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:159:7) |
|
Pass | Assigning null to table.caption | Asserts runPass | assert_equals(Element node <caption id="caption7">caption 7</caption>, Element node <caption id="caption7">caption 7</caption>)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:165:7) | Pass | assert_equals(null, null)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:168:7) | Pass | assert_equals(Element node <tbody id="tbody7"> <tr> <td>cell</td> <t..., Element node <tbody id="tbody7"> <tr> <td>cell</td> <t...)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:169:7) | Pass | assert_equals(null, null)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:170:7) |
|
Pass | Assigning a non-caption to table.caption | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { table8.caption = caption; }")
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:176:7) |
|
Pass | Assigning a foreign caption to table.caption | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { table9.caption = caption; }")
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:184:7) |
|
Pass | Set table.caption when the table doesn't already have a caption | Asserts runPass | assert_equals(Element node <table><caption>new caption</caption></table>, Element node <table><caption>new caption</caption></table>)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:195:7) | Pass | assert_equals(Element node <caption>new caption</caption>, Element node <caption>new caption</caption>)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:196:7) | Pass | assert_equals("new caption", "new caption")
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:197:7) |
|
Pass | Set table.caption when the table has a caption child but with other siblings before it | Asserts runPass | assert_equals(Element node <table id="table10" style="display:none"><caption>new cap..., Element node <table id="table10" style="display:none"><caption>new cap...)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:206:7) | Pass | assert_equals(Element node <caption>new caption</caption>, Element node <caption>new caption</caption>)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:207:7) | Pass | assert_equals("new caption", "new caption")
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:208:7) | Pass | assert_equals(1, 1)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:211:7) |
|
Pass | Set table.caption when the table has a caption descendant | Asserts runPass | assert_equals(Element node <table id="table11" style="display:none"><caption>new cap..., Element node <table id="table11" style="display:none"><caption>new cap...)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:220:7) | Pass | assert_equals(Element node <caption>new caption</caption>, Element node <caption>new caption</caption>)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:221:7) | Pass | assert_equals("new caption", "new caption")
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:222:7) | Pass | assert_equals(1, 1)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:225:7) |
|
Pass | Set table.caption when the table has two caption children | Asserts runPass | assert_equals(Element node <table id="table12" style="display:none"><caption>new cap..., Element node <table id="table12" style="display:none"><caption>new cap...)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:234:7) | Pass | assert_equals(Element node <caption>new caption</caption>, Element node <caption>new caption</caption>)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:235:7) | Pass | assert_equals("new caption", "new caption")
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:236:7) | Pass | assert_equals(2, 2)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:239:7) | Pass | assert_equals("new caption", "new caption")
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:240:7) | Pass | assert_equals("caption 2", "caption 2")
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:241:7) |
|
Pass | Assigning a caption has a different owner document to table.caption | Asserts runPass | assert_equals(Element node <table id="table13" style="display:none"><caption id="cap..., Element node <table id="table13" style="display:none"><caption id="cap...)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:255:7) | Pass | assert_equals(Element node <caption id="caption13">caption 13</caption>, Element node <caption id="caption13">caption 13</caption>)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:256:7) | Pass | assert_equals("caption 13", "caption 13")
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:257:7) | Pass | assert_equals(1, 1)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:260:7) |
|
Pass | Assigning the caption already in the table to table.caption | Asserts runPass | assert_equals(Element node <table id="table14" style="display:none"><caption id="cap..., Element node <table id="table14" style="display:none"><caption id="cap...)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:268:7) | Pass | assert_equals(Element node <caption id="caption14">caption 14</caption>, Element node <caption id="caption14">caption 14</caption>)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:269:7) | Pass | assert_equals(1, 1)
at Test.<anonymous> ( /html/semantics/tabular-data/the-table-element/caption-methods.html:272:7) |
|