Index: LayoutTests/fast/table/empty-cells-spread.html |
diff --git a/LayoutTests/fast/table/empty-cells-spread.html b/LayoutTests/fast/table/empty-cells-spread.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..02683245f6b01ecf188fcf6dcd337acfe84aa2c0 |
--- /dev/null |
+++ b/LayoutTests/fast/table/empty-cells-spread.html |
@@ -0,0 +1,19 @@ |
+<!DOCTYPE HTML> |
+<style> |
+ table { border-collapse: collapse; width: 100%; } |
+ #green { background-color: green; padding: 0;} |
+ #blue { background-color: blue; padding: 0;} |
+ div { height: 10px; } |
+</style> |
+<script src="../../resources/check-layout.js"></script> |
+<div style="width: 500px"> |
+ <table> |
+ <td id="green" data-expected-width=250></td> |
+ <td id="blue" data-expected-width=250><div></div></td> |
+ </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> |