Chromium Code Reviews| Index: LayoutTests/fast/table/percent-widths-total-less-than-zero.html |
| diff --git a/LayoutTests/fast/table/percent-widths-total-less-than-zero.html b/LayoutTests/fast/table/percent-widths-total-less-than-zero.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ef8e707126827bd81aac1e47d9ae1f2cd7ef1788 |
| --- /dev/null |
| +++ b/LayoutTests/fast/table/percent-widths-total-less-than-zero.html |
| @@ -0,0 +1,17 @@ |
| +<!DOCTYPE HTML> |
|
mstensho (USE GERRIT)
2015/05/04 20:42:48
File name is "...-less-than-zero.html".
Should be
|
| +<style> |
| + table { border-collapse: collapse; width: 1000px;} |
| + #green { background-color: green; padding: 0; width: 0.1%;} |
| + #blue { background-color: blue; padding: 0; width: 0.2%;} |
| + div { height: 10px; } |
| +</style> |
| +<script src="../../resources/check-layout.js"></script> |
| +<table> |
| + <td id="green" data-expected-width=334><div></div></td> |
| + <td id="blue" data-expected-width=666><div></div></td> |
| +</table> |
| +<p> crbug.com/476370: Test cells get appropriate width when total width of cells is less than 1%. </p> |
| +<div id="console"></div> |
| +<script> |
| + checkLayout('td', document.getElementById('console')); |
| +</script> |