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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/multicol-with-block.html

Issue 2560073002: Hopefully deflake some tests, by preloading the Ahem font. (Closed)
Patch Set: Created 4 years 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/ahem.js"></script>
2 <script src="resources/text-based-repaint.js"></script> 3 <script src="resources/text-based-repaint.js"></script>
3 <script> 4 <script>
4 if (window.internals) 5 if (window.internals)
5 onload = runRepaintAndPixelTest; 6 onload = runRepaintAndPixelTest;
6 else 7 else
7 onclick = repaintTest; 8 onclick = repaintTest;
8 function repaintTest() { 9 function repaintTest() {
9 var target = document.getElementById('target'); 10 var target = document.getElementById('target');
10 target.style.visibility = 'visible'; 11 target.style.visibility = 'visible';
11 } 12 }
12 </script> 13 </script>
13 <div style="-webkit-columns:4; -webkit-column-gap:10px; column-fill:auto; width: 630px; height:20px; font:20px/1 ahem; orphans:1; widows:1; color:green;"> 14 <div style="-webkit-columns:4; -webkit-column-gap:10px; column-fill:auto; width: 630px; height:20px; font:20px/1 ahem; orphans:1; widows:1; color:green;">
14 <br> 15 <br>
15 <br> 16 <br>
16 <br> 17 <br>
17 <div id="target" style="visibility:hidden;">PASS</div> 18 <div id="target" style="visibility:hidden;">PASS</div>
18 </div> 19 </div>
19 <p>A green rectangle should be seen above (if tested manually, you need to click first).</p> 20 <p>A green rectangle should be seen above (if tested manually, you need to click first).</p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698