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>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> |
OLD | NEW |