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

Unified Diff: third_party/WebKit/LayoutTests/fast/table/zero-width-on-table-is-auto.html

Issue 1682453004: Treat <table> widths of 0 as auto. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: just check in shouldScaleColumns Created 4 years, 10 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/zero-width-on-table-is-auto.html
diff --git a/third_party/WebKit/LayoutTests/fast/table/zero-width-on-table-is-auto.html b/third_party/WebKit/LayoutTests/fast/table/zero-width-on-table-is-auto.html
new file mode 100644
index 0000000000000000000000000000000000000000..c2862ae0567e2fe61d218478d3d2b029ba41cc38
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/table/zero-width-on-table-is-auto.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<style>
+td { padding: 0px; }
+table { border-spacing: 0px; }
+.yellow { background-color: yellow; }
+.red { background-color: red; }
+.green { background-color: green; }
+</style>
+</head>
+<table id="outerTable" style="width:0px;" class="yellow" data-expected-width="200">
mstensho (USE GERRIT) 2016/02/10 10:04:09 Can you add a pass condition text in front of this
dgrogan 2016/02/10 18:38:25 Done.
+ <tr>
+ <td>
+ <table class="red">
+ <tr>
+ <td style="width:50%;">
+ <div style="width:200px;height:20px" class="green"></div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<script src="../../resources/check-layout.js"></script>
+<script>
+checkLayout('#outerTable');
+</script>

Powered by Google App Engine
This is Rietveld 408576698