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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/multicol/nested-balancing-with-line-at-exact-top.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>The word BOMBINATE should be seen below.</p> 3 <p>The word BOMBINATE should be seen below.</p>
4 <div id="outer" style="position:relative; overflow:hidden; -webkit-column-count: 2; -webkit-column-gap:0; column-fill:auto; width:500px; height:70px; line-height :20px;"> 4 <div id="outer" style="position:relative; overflow:hidden; -webkit-column-count: 2; -webkit-column-gap:0; column-fill:auto; width:500px; height:70px; line-height :20px; orphans:1; widows:1;">
5 <div data-expected-height="110" style="-webkit-column-count:2; -webkit-colum n-gap:0;"> 5 <div data-expected-height="110" style="-webkit-column-count:2; -webkit-colum n-gap:0;">
6 <div style="height:120px;"></div> 6 <div style="height:120px;"></div>
7 <br> <!-- last line in second column in first row. Exactly no space left after this. --> 7 <br> <!-- last line in second column in first row. Exactly no space left after this. -->
8 <br> <!-- first line in first column in second row. --> 8 <br> <!-- first line in first column in second row. -->
9 <br> <!-- second line in first column in second row. --> 9 <br> <!-- second line in first column in second row. -->
10 <br> <!-- first line in second column in second row. --> 10 <br> <!-- first line in second column in second row. -->
11 <br> <!-- second line in second column in second row. --> 11 <br> <!-- second line in second column in second row. -->
12 </div> 12 </div>
13 <!-- There should be exactly 30px left in the second outer column. --> 13 <!-- There should be exactly 30px left in the second outer column. -->
14 <div data-offset-x="250" data-offset-y="40" style="line-height:30px;">BOMBIN ATE</div> 14 <div data-offset-x="250" data-offset-y="40" style="line-height:30px;">BOMBIN ATE</div>
15 </div> 15 </div>
16 <script> 16 <script>
17 checkLayout("#outer"); 17 checkLayout("#outer");
18 </script> 18 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698