top and bottom black background line not getting displayed
[WebKit-https.git] / LayoutTests / fast / dom / HTMLTableElement / empy-table-cell-with-background-color.html
1 <!DOCTYPE html>
2 <html>
3     <head>
4         <script src="../../../resources/js-test-pre.js"></script>
5         <script>
6             function runTest() {
7                 description('Tests that the table cell width is set properly even when the table cell has no child and its table has width defined');
8
9                 shouldBe("document.getElementById('nochildTd').offsetWidth","750");
10                 isSuccessfullyParsed();
11             }
12         </script>
13     </head>
14     <body onload="runTest()">
15         <table  width="750px" border="0" cellpadding="0" cellspacing="0">
16             <tr>
17                 <td id="nochildTd" height="1px" bgcolor=#000000></td>
18             </tr>
19         </table>
20     </body>
21 </html>