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

Unified Diff: third_party/WebKit/LayoutTests/fast/table/colspan-with-empty-cells-needing-extra-width.html

Issue 1368243002: Don't deduct min-width from the available width for empty cells (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/table/colspan-with-empty-cells-needing-extra-width-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/table/colspan-with-empty-cells-needing-extra-width.html
diff --git a/third_party/WebKit/LayoutTests/fast/table/colspan-with-empty-cells-needing-extra-width.html b/third_party/WebKit/LayoutTests/fast/table/colspan-with-empty-cells-needing-extra-width.html
new file mode 100644
index 0000000000000000000000000000000000000000..6394913237789abac413487e169f38f2b9b430d1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/table/colspan-with-empty-cells-needing-extra-width.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<style>
+table td {
+ padding: 0;
+}
+</style>
+<p>crbug.com/534830: Don't deduct the min-width of empty cells from the available table width. There should be no red. </p>
+<table style="width: 400px; background-color: red; border-spacing: 0px;">
+ <tr>
+ <td style="background-color:black; width: 10px; height:20px;"></td>
+ <td style="background-color:blue;"></td>
+ </tr>
+ <tr>
+ <td id="colspan" colspan="2" style="background-color:yellow;" data-expected-width=400>
+ TestTestTest
+ </td>
+ </tr>
+</table>
+<div id="test-output"></div>
+<script src="../../resources/check-layout.js"></script>
+<script>
+ window.checkLayout("#colspan", document.getElementById("test-output"));
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/table/colspan-with-empty-cells-needing-extra-width-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698