mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
parent
ba2714f4f6
commit
4e64ff499b
5 changed files with 64 additions and 11 deletions
|
@ -17743,6 +17743,10 @@
|
|||
"path": "html/semantics/tabular-data/the-tbody-element/insertRow.html",
|
||||
"url": "/html/semantics/tabular-data/the-tbody-element/insertRow.html"
|
||||
},
|
||||
{
|
||||
"path": "html/semantics/tabular-data/the-tr-element/cells.html",
|
||||
"url": "/html/semantics/tabular-data/the-tr-element/cells.html"
|
||||
},
|
||||
{
|
||||
"path": "html/semantics/tabular-data/the-tr-element/deleteCell.html",
|
||||
"url": "/html/semantics/tabular-data/the-tr-element/deleteCell.html"
|
||||
|
|
|
@ -4791,9 +4791,6 @@
|
|||
[HTMLTableRowElement interface: attribute sectionRowIndex]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTableRowElement interface: attribute cells]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTableRowElement interface: operation insertCell(long)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -4818,9 +4815,6 @@
|
|||
[HTMLTableRowElement interface: document.createElement("tr") must inherit property "sectionRowIndex" with the proper type (1)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTableRowElement interface: document.createElement("tr") must inherit property "cells" with the proper type (2)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTableRowElement interface: document.createElement("tr") must inherit property "insertCell" with the proper type (3)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>HTMLTableRowElement#cells</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
||||
<div id="log"></div>
|
||||
|
||||
<table>
|
||||
<tr id="testTr">
|
||||
<td>First</td>
|
||||
<div><td>Second</td></div>
|
||||
<td>Third
|
||||
<table>
|
||||
<tr><td>Nested first</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<img>
|
||||
</tr>
|
||||
</table>
|
||||
<script>
|
||||
var tr = document.getElementById("testTr");
|
||||
|
||||
test(function () {
|
||||
tr.insertBefore(document.createElementNS("foo", "td"), tr.children[1]);
|
||||
assert_array_equals(tr.cells, [tr.children[0], tr.children[2], tr.children[3]]);
|
||||
}, "HTMLTableRowElement cells ignores nested tables and non-HTML elements");
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue