OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="../../resources/check-layout.js"></script> | 2 <script src="../../resources/check-layout.js"></script> |
3 <p>Make sure that we don't skip orphan checking when a line ends up naturally at
the top of a column.</p> | 3 <p>Make sure that we don't skip orphan checking when a line ends up naturally at
the top of a column.</p> |
4 <p>All three lines should be in the second column.</p> | 4 <p>All three lines should be in the second column.</p> |
5 <div id="multicol" style="position:relative; -webkit-columns:2; -webkit-column-r
ule:1px solid; column-fill:auto; orphans:3; height:8em; line-height:2em; backgro
und:yellow;"> | 5 <div id="multicol" style="position:relative; -webkit-columns:2; -webkit-column-r
ule:1px solid; column-fill:auto; orphans:3; widows:1; height:8em; line-height:2e
m; background:yellow;"> |
6 <div style="height:4em;"></div> | 6 <div style="height:4em;"></div> |
7 <div data-offset-y="0"> | 7 <div data-offset-y="0"> |
8 line 1<br> | 8 line 1<br> |
9 line 2<br> | 9 line 2<br> |
10 line 3<br> | 10 line 3<br> |
11 </div> | 11 </div> |
12 </div> | 12 </div> |
13 <script> | 13 <script> |
14 checkLayout("#multicol"); | 14 checkLayout("#multicol"); |
15 </script> | 15 </script> |
OLD | NEW |