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

Unified Diff: third_party/WebKit/LayoutTests/fast/table/border-collapsing/wrong-border-with-colspan-and-percent-height-width-quirks-mode.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-and-percent-height-width-quirks-mode.html
diff --git a/third_party/WebKit/LayoutTests/fast/table/border-collapsing/wrong-border-with-colspan-and-percent-height-width-quirks-mode.html b/third_party/WebKit/LayoutTests/fast/table/border-collapsing/wrong-border-with-colspan-and-percent-height-width-quirks-mode.html
new file mode 100644
index 0000000000000000000000000000000000000000..5e0f3033ddaad60d6fd58d414e44588c75fd4ea5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/table/border-collapsing/wrong-border-with-colspan-and-percent-height-width-quirks-mode.html
@@ -0,0 +1,44 @@
+<html>
+<head>
+<style>
+ table {
+ border-collapse: collapse;
+ width: 50%;
+ height: 50%;
+ }
+
+ td.split {
+ width: 33%;
+ }
+
+ td.border {
+ border: solid black 1pt;
+ }
+
+ td.noBorder {
+ border: none;
+ width: 33%;
+ }
+</style>
+</head>
+<body>
+<table border="0" cellpadding="0" cellspacing="0">
+ <!-- There should be 2 cells fully circled with borders in the output -->
+ <tr><td colspan="3" class="noBorder"></td></tr>
+ <tr>
+ <td class="border split"></td>
+ <td class="border split"></td>
+ <!-- This cell should not have a border -->
+ <td class="noBorder"></td>
+ </tr>
+ <tr><td colspan="3" class="noBorder"></td></tr>
+ <tr>
+ <td class="border split"></td>
+ <td class="border split"></td>
+ <!-- This cell should not have a border -->
+ <td class="noBorder"></td>
+ </tr>
+ <tr><td colspan="3" style="border:none;"></td></tr>
+</table>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698