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

Side by Side Diff: LayoutTests/fast/repaint/text-in-relative-positioned-inline.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 <head> 1 <head>
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 function repaintTest() 5 function repaintTest()
5 { 6 {
6 document.getElementById("target").style.display = "none"; 7 document.getElementById("target").style.display = "none";
7 } 8 }
8 </script> 9 </script>
9 </head> 10 </head>
10 <body onload="runRepaintTest()"> 11 <body onload="runRepaintTest()">
11 <div style="margin-left: 100px; font: 100px Ahem; -webkit-font-smoothing: no ne; height: 100px;"> 12 <div style="margin-left: 100px; font: 100px Ahem; -webkit-font-smoothing: no ne; height: 100px;">
12 <span id="target" style="position: relative; left: -100px; color: red;"> ab</span> 13 <span id="target" style="position: relative; left: -100px; color: red;"> ab</span>
13 </div> 14 </div>
14 <div style="width: 100px; height: 100px; background-color: green; margin-top : -100px;"></div> 15 <div style="width: 100px; height: 100px; background-color: green; margin-top : -100px;"></div>
15 </body> 16 </body>
OLDNEW
« no previous file with comments | « LayoutTests/fast/repaint/text-emphasis-v.html ('k') | LayoutTests/fast/repaint/transform-inline-layered-child.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698