Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/multicol/single-cell-too-large-for-page.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/multicol/single-cell-too-large-for-page.html b/third_party/WebKit/LayoutTests/fast/multicol/single-cell-too-large-for-page.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e912bfd5ebd291ec60291465a1158b95a111875e |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/fast/multicol/single-cell-too-large-for-page.html |
| @@ -0,0 +1,26 @@ |
| +<!DOCTYPE html> |
| +<style> |
| +table { |
| + border-collapse: collapse; |
| +} |
| +td { |
| + background-color: #ddd; |
| + border: 1px solid black; |
| + font-size: 50px; |
| +} |
| +tr { |
| + page-break-inside: avoid; |
|
mstensho (USE GERRIT)
2016/03/17 14:04:03
break-inside:avoid
|
| +} |
| +</style> |
| +<p>crbug.com/99124: Table rows shouldn't straddle page boundaries.</p> |
| +<div style="-webkit-columns:3; line-height: 60px; height:210px; background-color: yellow;"> |
|
mstensho (USE GERRIT)
2016/03/17 14:04:03
You probably don't want the columns balanced, so y
|
| + <table> |
| + <tr><td class="td" data-total-y=1>Text Text Text Text Text Text Text Text</td><td>Text Text Text Text Text Text Text Text</td></tr> |
|
mstensho (USE GERRIT)
2016/03/17 14:04:03
Will "never" fail, no matter how broken we are (as
|
| + </table> |
| +</div> |
| +<div id="console"></div> |
| +<script src="../../resources/check-layout.js"></script> |
| +<script> |
| +checkLayout(".td", document.getElementById("console")); |
| +</script> |
| + |