Index: third_party/WebKit/LayoutTests/fast/table/auto-table-columns-dont-scale.html |
diff --git a/third_party/WebKit/LayoutTests/fast/table/auto-table-columns-dont-scale.html b/third_party/WebKit/LayoutTests/fast/table/auto-table-columns-dont-scale.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..aade924b15bfe44dc3b5c8e49f8bf2163aeed2c9 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/table/auto-table-columns-dont-scale.html |
@@ -0,0 +1,27 @@ |
+<!DOCTYPE html> |
+<style> |
+td { padding: 0px; } |
+table { border-spacing: 0px; } |
+.yellow { background-color: yellow; } |
+.red { background-color: red; } |
+.green { background-color: green; } |
+</style> |
+</head> |
+This test passes if no red is showing. |
+<table id="outerTable" style="width:0px;" class="yellow" data-expected-width="200"> |
+ <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> |