Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / innerHTML / 006.html
blob782dc307773995bbae2f329941753efe7292de4e
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta name="description" content="This tests html output" />
5 <title>html innerHTML test</title>
6 <style>
7 td {border-style:solid; border-width:1px;}
8 </style>
9 </head>
10 <body>
11 <span><b>This markup:</b>
12 <xmp id="xmpID"><div>
13 <table style="border-style:solid; border-width:2px; border-color:red;">
14 <thead>
15 <tr>
16 <td>one</td>
17 <td>two</td>
18 <td>three</td>
19 </tr>
20 <tr>
21 <td>four</td>
22 <td>five</td>
23 <td>six</td>
24 </tr>
25 <tr>
26 <td>seven</td>
27 <td>eight</td>
28 <td>nine</td>
29 </tr>
30 <tfoot>
31 </table>
32 </div>
33 </xmp>
34 </span>
35 <div><b>Should produce a table here:</b><span id="logID"></span></div>
36 <br>
37 <script>
38 var xmpObj = document.getElementById('xmpID');
39 var logObj = document.getElementById('logID');
40 logObj.innerHTML = xmpObj.innerHTML;
41 </script>
42 </body>
43 </html>