Chromium Code Reviews| Index: LayoutTests/fast/multicol/widows2.html |
| diff --git a/LayoutTests/fast/multicol/widows2.html b/LayoutTests/fast/multicol/widows2.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a856616d447bb66d059bf1b24d2ba8d495385428 |
| --- /dev/null |
| +++ b/LayoutTests/fast/multicol/widows2.html |
| @@ -0,0 +1,32 @@ |
| +<!DOCTYPE html> |
| +<script src="../../resources/js-test.js"></script> |
| +<script> |
| + if (window.testRunner) |
| + testRunner.dumpAsText(); |
|
rune
2014/05/06 09:00:06
This is unnecessary as it's already called from js
mstensho (USE GERRIT)
2014/05/06 09:17:40
Done.
|
| + if (window.internals) |
| + internals.settings.setRegionBasedColumnsEnabled(true); |
| +</script> |
| +<p>There should be 6 lines in the first column, 5 in the second and 5 in the last one.</p> |
| +<div id="mc" style="-webkit-columns:3; columns:3; -webkit-column-rule:solid; line-height:50px;"> |
| + <div style="orphans:1; widows:5;"> |
| + line<br> |
| + line<br> |
| + line<br> |
| + line<br> |
| + line<br> |
| + line<br> |
| + line<br> |
| + line<br> |
| + line<br> |
| + line<br> |
| + line<br> |
| + line<br> |
| + line<br> |
| + line<br> |
| + line<br> |
| + line<br> |
| + </div> |
| +</div> |
| +<script> |
| + shouldBe("mc.offsetHeight", "300"); |
| +</script> |