Index: third_party/WebKit/LayoutTests/fast/table/border-collapsing/wrong-border-with-colspan-nbsp-quirks-mode.html |
diff --git a/third_party/WebKit/LayoutTests/fast/table/border-collapsing/wrong-border-with-colspan-nbsp-quirks-mode.html b/third_party/WebKit/LayoutTests/fast/table/border-collapsing/wrong-border-with-colspan-nbsp-quirks-mode.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e7198a899022a6df629df09240b2308b8abb0aeb |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/table/border-collapsing/wrong-border-with-colspan-nbsp-quirks-mode.html |
@@ -0,0 +1,60 @@ |
+<html> |
+<head> |
+<style> |
+table { border-collapse: collapse; } |
+td { |
+ border: solid 10px purple; |
+ width: 200px; |
+ font-family: ahem; |
+ font-size: 10px; |
+ -webkit-font-smoothing: none; |
+} |
+td.noBorderBottom { border-bottom: 0; } |
+td.noBorderTop { border-top: 0; } |
+td.withBorder { background-color: green; } |
+</style> |
+</head> |
+<body> |
+<!-- The cell with the green background should be circled with a (purple) border. Other cells should have outline the table with borders. --> |
+<table><tr> |
+<td class="noBorderBottom" colspan="2"> </td> |
+</tr><tr> |
+<td class="noBorderTop"> </td> |
+<td class="withBorder"> </td> |
+</tr></table> |
+<br> |
+<table><tr> |
+<td class="noBorderBottom" colspan="2"> </td> |
+</tr><tr> |
+<td class="withBorder"> </td> |
+<td class="noBorderTop"> </td> |
+</tr></table> |
+<br> |
+ |
+<table><tr> |
+<td class="noBorderBottom"> </td> |
+<td class="withBorder"> </td> |
+</tr><tr> |
+<td class="noBorderTop" colspan="2"> </td> |
+</tr></table> |
+ |
+<table><tr> |
+<td class="withBorder"> </td> |
+<td class="noBorderBottom"> </td> |
+</tr><tr> |
+<td class="noBorderTop" colspan="2"> </td> |
+</tr></table> |
+<br> |
+ |
+<table><tr> |
+<td class="noBorderBottom" colspan="3"> </td> |
+</tr><tr> |
+<td class="noBorderTop noBorderBottom"> </td> |
+<td class="withBorder"> </td> |
+<td class="noBorderTop noBorderBottom"> </td> |
+</tr><tr> |
+<td class="noBorderTop" colspan="3"> </td> |
+</tr></table> |
+ |
+</body> |
+</html> |