OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../fast/js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body id="body"> | 6 <body id="body"> |
7 | 7 |
8 <table id="table"> | 8 <table id="table"> |
9 <tr id="row"><td id="tablecell" tabindex=0>1</td><td>2</td></tr> | 9 <tr id="row"><td id="tablecell" tabindex=0>1</td><td>2</td></tr> |
10 <tr id="row2"><td id="tablecell2" tabindex=0>1</td><td>2</td></tr> | 10 <tr id="row2"><td id="tablecell2" tabindex=0>1</td><td>2</td></tr> |
(...skipping 14 matching lines...) Expand all Loading... |
25 tr.appendChild(td); | 25 tr.appendChild(td); |
26 | 26 |
27 // To reproduce, we need to remove a row and replace with another row, t
hen set an attribute in the meantime. | 27 // To reproduce, we need to remove a row and replace with another row, t
hen set an attribute in the meantime. |
28 document.getElementById("table").getElementsByTagName("TBODY")[0].remove
Child(document.getElementById("row2")); | 28 document.getElementById("table").getElementsByTagName("TBODY")[0].remove
Child(document.getElementById("row2")); |
29 document.getElementById("table").getElementsByTagName("TBODY")[0].append
Child(tr); | 29 document.getElementById("table").getElementsByTagName("TBODY")[0].append
Child(tr); |
30 document.getElementById("tablecell").setAttribute("title", "test"); | 30 document.getElementById("tablecell").setAttribute("title", "test"); |
31 } | 31 } |
32 | 32 |
33 </script> | 33 </script> |
34 | 34 |
35 <script src="../fast/js/resources/js-test-post.js"></script> | |
36 </body> | 35 </body> |
37 </html> | 36 </html> |
OLD | NEW |