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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/multicol/shadow-breaking.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>Test that text-shadow doesn't mess up the line positions.</p> 3 <p>Test that text-shadow doesn't mess up the line positions.</p>
4 <div style="position:relative; font:20px/1 Ahem; width:420px; -webkit-columns:2; -webkit-column-gap:20px; text-shadow:1px 100px 50px;"> 4 <div style="position:relative; font:20px/1 Ahem; width:420px; -webkit-columns:2; -webkit-column-gap:20px; orphans:1; widows:1; text-shadow:1px 100px 50px;">
5 <span class="testee" data-offset-y="0" data-offset-x="0">line</span><br> 5 <span class="testee" data-offset-y="0" data-offset-x="0">line</span><br>
6 <span class="testee" data-offset-y="0" data-offset-x="220">line</span><br> 6 <span class="testee" data-offset-y="0" data-offset-x="220">line</span><br>
7 </div> 7 </div>
8 <p id="result"></p> 8 <p id="result"></p>
9 <script> 9 <script>
10 checkLayout('.testee', document.getElementById('result')); 10 checkLayout('.testee', document.getElementById('result'));
11 </script> 11 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698