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

Side by Side Diff: LayoutTests/fast/repaint/layoutstate-invalid-invalidation-inline-relative-positioned.html

Issue 1204023002: Deflake tests using ahem font with @font-face. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline and fix an svg test Created 5 years, 6 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="resources/text-based-repaint.js"></script> 2 <script src="resources/text-based-repaint.js"></script>
3 <script src="../../resources/ahem.js"></script>
3 <body onload="runRepaintTest()"> 4 <body onload="runRepaintTest()">
4 <div style="font-family: Ahem;">This test passes if we correctly repaint the fol lowing relatively positioned inline.</div> 5 <div style="font-family: Ahem;">This test passes if we correctly repaint the fol lowing relatively positioned inline.</div>
5 <span style="position: relative; top: 80px;"> 6 <span style="position: relative; top: 80px;">
6 <span id="target" style="position: relative; top: 80px;"> 7 <span id="target" style="position: relative; top: 80px;">
7 <div style="display: inline-block; width: 100px; height: 100px; overflow : hidden; font-family: Ahem; font-size: 100px; color: green;">x</div> 8 <div style="display: inline-block; width: 100px; height: 100px; overflow : hidden; font-family: Ahem; font-size: 100px; color: green;">x</div>
8 </span> 9 </span>
9 </span> 10 </span>
10 <script> 11 <script>
11 function repaintTest() 12 function repaintTest()
12 { 13 {
13 document.getElementById("target").style.top = "100px"; 14 document.getElementById("target").style.top = "100px";
14 } 15 }
15 </script> 16 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/repaint/inline-relative-positioned.html ('k') | LayoutTests/fast/repaint/text-emphasis-h.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698