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> |