Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / tables / mozilla / bugs / bug222846.html
blobf673af08091fa6d2d4e53319c4ba0f5cf901f80e
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html>
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6 <title>table dom test</title>
7 <style type="text/css">
8 table {width:200px}
9 table[summary="summ"] {font-size:24pt}
10 </style>
11 <script type="text/javascript">
12 function dom(){
13 var t = document.getElementById('t2');
14 t.summary="summ";
16 </script>
17 </head>
19 <body onload="dom()">
21 Both tables should look identical
23 <table id="t2" border><caption>caption</caption><tbody><tr><td>cell1</td></tr></tbody></table>
25 <table id="t2" summary="summ" border><caption>caption</caption><tbody><tr><td>cell1</td></tr></tbody></table>
27 </body>
29 </html>