Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/multicol/orphaned-line-at-exact-top-of-column.html

Issue 1909233002: Spec-compliant parsing and initial values for 'orphans' and 'widows'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some unit tests had non-conformant widphans assumptions too. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698