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

Unified Diff: third_party/WebKit/LayoutTests/fast/table/colspan-empty-cells-4.html

Issue 1361693002: Fix behaviour of empty cells in tables with colspans (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 2 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/colspan-empty-cells-4.html
diff --git a/third_party/WebKit/LayoutTests/fast/table/colspan-empty-cells-4.html b/third_party/WebKit/LayoutTests/fast/table/colspan-empty-cells-4.html
new file mode 100644
index 0000000000000000000000000000000000000000..5d093fb4cc9f6c7ba657c2ad3980cc8374752a94
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/table/colspan-empty-cells-4.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<style>
+td { padding: 0px; }
+</style>
+<table style="border-spacing: 0px;">
+ <tr>
+ <td bgcolor="red"></td>
+ <td bgcolor="white" style="width:100px;"></td>
+ <td bgcolor="green"></td>
+ <td bgcolor="green"></td>
+ </tr>
+ <tr>
+ <td bgcolor="red" colspan="3" style="width: 300px;"></td>
+ <td bgcolor="green"></td>
+ </tr>
+ <tr>
+ <td bgcolor="red" id="red" data-expected-width=100></td>
+ <td bgcolor="white">TEST</td>
+ <td bgcolor="green" id="green" data-expected-width=100></td>
+ <td bgcolor="green"></td>
+ </tr>
+</table>
+<div id="test-output"></div>
+<p>crbug.com/529413: Available space from a colspan should get evenly distributed between cols with nothing but empty cells, until it runs out. The red and green bars should be the same width.</p>
+<script src="../../resources/check-layout.js"></script>
+<script>
+ window.checkLayout("#red", document.getElementById("test-output"));
+ window.checkLayout("#green", document.getElementById("test-output"));
+</script>

Powered by Google App Engine
This is Rietveld 408576698