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

Side by Side Diff: LayoutTests/fast/repaint/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 <script src="resources/text-based-repaint.js"></script> 1 <script src="resources/text-based-repaint.js"></script>
2 <script src="../../resources/ahem.js"></script>
2 <body onload="runRepaintTest()"> 3 <body onload="runRepaintTest()">
3 <span style="position: relative; top: 80px;"> 4 <span style="position: relative; top: 80px;">
4 <div id="target" style="display: inline-block; width: 100px; height: 100px; overflow: hidden; font-family: Ahem; font-size: 100px; background: red; color: g reen;">p</div> 5 <div id="target" style="display: inline-block; width: 100px; height: 100px; overflow: hidden; font-family: Ahem; font-size: 100px; background: red; color: g reen;">p</div>
5 </span> 6 </span>
6 <script> 7 <script>
7 function repaintTest() 8 function repaintTest()
8 { 9 {
9 document.getElementById("target").firstChild.data = "a"; 10 document.getElementById("target").firstChild.data = "a";
10 } 11 }
11 </script> 12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698