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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/multicol/dynamic/insert-spanner-into-content.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> 2 <script>
3 onload = function() { 3 onload = function() {
4 var elm = document.getElementById('elm'); 4 var elm = document.getElementById('elm');
5 document.body.offsetTop; // trigger layout 5 document.body.offsetTop; // trigger layout
6 elm.style.display = 'block'; 6 elm.style.display = 'block';
7 } 7 }
8 </script> 8 </script>
9 <p>Test insertion of a spanner into column content, so that the existing column row needs to be split into two.</p> 9 <p>Test insertion of a spanner into column content, so that the existing column row needs to be split into two.</p>
10 <p>There should be three lines below with the word "PASS". Letter spacing is exp ected to vary.</p> 10 <p>There should be three lines below with the word "PASS". Letter spacing is exp ected to vary.</p>
11 <div style="-webkit-columns:5; -webkit-column-gap:0; width:5em;"> 11 <div style="-webkit-columns:5; -webkit-column-gap:0; width:5em; orphans:1; widow s:1;">
12 P<br>A<br>S<br>S 12 P<br>A<br>S<br>S
13 <div id="elm" style="display:none; -webkit-column-span:all;">PASS</div> 13 <div id="elm" style="display:none; -webkit-column-span:all;">PASS</div>
14 P<br>A<br>S<br>S 14 P<br>A<br>S<br>S
15 </div> 15 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698