Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / table / cellindex.html
blob7d2faac585783145283106c38719f81fe04c86b9
1 <table>
2 <th id="h1">Header 1</td>
3 <td id="c1">Cell 1</td>
4 <script></script>
5 <td id="c2">Cell 2</td>
6 </table>
8 <script>
9 function outputIndex(name) {
10 node = document.getElementById(name);
11 document.writeln(name + " has index " + node.cellIndex + "<br>");
14 outputIndex("h1");
15 outputIndex("c1");
16 outputIndex("c2");
17 </script>