Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / tables / mozilla / bugs / bug9271-1.html
blobf550a4ad4261dc681b08b679b575fb790be82d10
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
2 <html>
3 <head>
4 <title>Table element insertion bugs - insertRow()</title>
5 </head>
6 <body>
8 <h1>insertRow() bugs, 0 based</h1>
10 <table border>
11 <tbody id="touse">
12 <tr>
13 <td>
14 This is just dummy text.
15 </td>
16 </tr>
17 </tbody>
18 </table>
20 <script type="text/javascript">
23 var touse = document.getElementById("touse");
25 while (touse.hasChildNodes() ) {
26 touse.removeChild(touse.firstChild);
29 /* i could be 0 or 1 - whatever is first ends up at the end */
30 for ( var i = 0 ; i < 6; i++ ) {
31 var newrow = touse.insertRow(i);
32 var newcell = newrow.insertCell(0);
33 newcell.appendChild(
34 document.createTextNode("This is row number " + i + ".")
39 </script>
41 </body>
42 </html>