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

Unified Diff: LayoutTests/fast/table/empty-cells-spread-2.html

Issue 988443003: Don't add artifical 1 pixel width to empty tables (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 6 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: LayoutTests/fast/table/empty-cells-spread-2.html
diff --git a/LayoutTests/fast/table/empty-cells-spread-2.html b/LayoutTests/fast/table/empty-cells-spread-2.html
new file mode 100644
index 0000000000000000000000000000000000000000..37e42e9920d72bd0948fbb4e97bbaf8d24a3d61c
--- /dev/null
+++ b/LayoutTests/fast/table/empty-cells-spread-2.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML>
+<style>
+ #blue { background-color: blue; width:90%;height:25px; }
+</style>
+<script src="../../resources/check-layout.js"></script>
+<div style="width: 500px">
+ <table width=100% cellspacing=0 cellpadding=0>
+ <tr>
+ <td nowrap="1" data-expected-width=50>
+ <td nowrap="1" id="blue" data-expected-width=450>Text</td>
+ </tr>
+ </table>
+</div>
+<p> crbug.com/476370: Test empty cells get appropriate width when spread across a percent width table. </p>
+<div id="console"></div>
+<script>
+ checkLayout('td', document.getElementById('console'));
+</script>
« no previous file with comments | « LayoutTests/fast/table/empty-cells-spread.html ('k') | LayoutTests/fast/table/empty-cells-spread-2-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698