Index: LayoutTests/fast/dom/HTMLTableElement/empy-table-cell-with-background-color.html |
diff --git a/LayoutTests/fast/dom/HTMLTableElement/empy-table-cell-with-background-color.html b/LayoutTests/fast/dom/HTMLTableElement/empy-table-cell-with-background-color.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..32690bf4ad0a0b719ec64e1bb2f7c606884e90ec |
--- /dev/null |
+++ b/LayoutTests/fast/dom/HTMLTableElement/empy-table-cell-with-background-color.html |
@@ -0,0 +1,18 @@ |
+<!DOCTYPE html> |
+<html> |
+ <head> |
+ <script src="../../../resources/check-layout.js"></script> |
+ </head> |
+ <body> |
+ Tests that the table cell width is set properly even when the table cell has no child and its table has width defined |
+ <table width="750px" border="0" cellpadding="0" cellspacing="0"> |
+ <tr> |
+ <td height="1px" bgcolor=#000000 data-expected-width="750"></td> |
+ </tr> |
+ </table> |
+ <div id="test-output"></div> |
+ </body> |
+ <script type="text/javascript"> |
+ window.checkLayout("td", document.getElementById("test-output")); |
+ </script> |
+</html> |