Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: third_party/WebKit/LayoutTests/fast/table/border-collapsing/wrong-border-with-colspan-nbsp.html

Issue 2791433003: Fix Border collapsing with colpsan / rowspan cells
Patch Set: bug 2902 Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/table/border-collapsing/wrong-border-with-colspan-nbsp.html
diff --git a/third_party/WebKit/LayoutTests/fast/table/border-collapsing/wrong-border-with-colspan-nbsp.html b/third_party/WebKit/LayoutTests/fast/table/border-collapsing/wrong-border-with-colspan-nbsp.html
new file mode 100644
index 0000000000000000000000000000000000000000..59f8397c29c936e69e1506f23375b50006984d4a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/table/border-collapsing/wrong-border-with-colspan-nbsp.html
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<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">&nbsp;</td>
+</tr><tr>
+<td class="noBorderTop">&nbsp;</td>
+<td class="withBorder">&nbsp;</td>
+</tr></table>
+<br>
+<table><tr>
+<td class="noBorderBottom" colspan="2">&nbsp;</td>
+</tr><tr>
+<td class="withBorder">&nbsp;</td>
+<td class="noBorderTop">&nbsp;</td>
+</tr></table>
+<br>
+
+<table><tr>
+<td class="noBorderBottom">&nbsp;</td>
+<td class="withBorder">&nbsp;</td>
+</tr><tr>
+<td class="noBorderTop" colspan="2">&nbsp;</td>
+</tr></table>
+
+<table><tr>
+<td class="withBorder">&nbsp;</td>
+<td class="noBorderBottom">&nbsp;</td>
+</tr><tr>
+<td class="noBorderTop" colspan="2">&nbsp;</td>
+</tr></table>
+<br>
+
+<table><tr>
+<td class="noBorderBottom" colspan="3">&nbsp;</td>
+</tr><tr>
+<td class="noBorderTop noBorderBottom">&nbsp;</td>
+<td class="withBorder">&nbsp;</td>
+<td class="noBorderTop noBorderBottom">&nbsp;</td>
+</tr><tr>
+<td class="noBorderTop" colspan="3">&nbsp;</td>
+</tr></table>
+
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698