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..d7e5ce3f742cea11e1030db8a3ea8ef0f5074dcd |
| --- /dev/null |
| +++ b/LayoutTests/fast/multicol/widows2.html |
| @@ -0,0 +1,30 @@ |
| +<!DOCTYPE html> |
| +<script src="../../resources/js-test.js"></script> |
| +<script> |
| + if (window.internals) |
| + internals.settings.setRegionBasedColumnsEnabled(true); |
| +</script> |
|
Julien - ping for review
2014/05/07 01:12:07
Description of the test?
mstensho (USE GERRIT)
2014/05/07 07:33:40
Done.
|
| +<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;"> |
|
Julien - ping for review
2014/05/07 01:12:07
Do we need to use the prefixed properties?
mstensho (USE GERRIT)
2014/05/07 07:33:40
Yes, that's the only thing Blink supports. Should
|
| + <div style="orphans:1; widows:5;"> |
|
Julien - ping for review
2014/05/07 01:12:07
It seems like we don't use the orphan rule so coul
mstensho (USE GERRIT)
2014/05/07 07:33:40
According to the spec (CSS 2.1), the initial value
|
| + 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> |