Index: LayoutTests/fast/table/table-cell-border-no-doctype.html |
diff --git a/LayoutTests/fast/table/table-cell-border-no-doctype.html b/LayoutTests/fast/table/table-cell-border-no-doctype.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4bf7441ac0404c8a6917a6b5d712653b598d747b |
--- /dev/null |
+++ b/LayoutTests/fast/table/table-cell-border-no-doctype.html |
@@ -0,0 +1,34 @@ |
+<html> |
+ <head> |
+ <style> |
+ table { |
+ border: 1px solid blue; |
+ width: 200px; |
+ height: 100px; |
+ } |
+ </style> |
+ <script> |
+ function runTest() |
+ { |
+ var tableCell = document.getElementById('noChild'); |
+ var text = document.createTextNode(" "); |
+ tableCell.appendChild(text); |
+ } |
+ </script> |
+ </head> |
+ <body onload="runTest()"> |
+ <table> |
+ <tr> |
+ <td width="50%" style=" border: 1px solid red;background-color: yellow;"><p></p></td> |
+ <td width="50%" style=" border: 1px solid red; "></td> |
+ </tr> |
+ </table> |
+ </br> |
+ <table> |
+ <tr> |
+ <td width="50%" style=" border: 1px solid red;background-color: yellow;"><p></p></td> |
+ <td id="noChild" width="50%" style=" border: 1px solid red; "></td> |
+ </tr> |
+ </table> |
+ </body> |
+</html> |