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

Side by Side Diff: LayoutTests/fast/text/setData-dirty-lines.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 <style> 3 <style>
3 div { width: 200px; font-family: Ahem; font-size: 40px; position: absolu te; top: 0; left: 0; -webkit-font-smoothing: none; } 4 div { width: 200px; font-family: Ahem; font-size: 40px; position: absolu te; top: 0; left: 0; -webkit-font-smoothing: none; }
4 </style> 5 </style>
5 </head> 6 </head>
6 <body style="position: relative;"> 7 <body style="position: relative;">
7 <!-- There should be no red on the page. --> 8 <!-- There should be no red on the page. -->
8 <div style="color: red;">.AAAA B CC D <!-- -->E</div> 9 <div style="color: red;">.AAAA B CC D <!-- -->E</div>
9 <div id="target" style="color: green;">AAAA B CC D <!-- -->E</div> 10 <div id="target" style="color: green;">AAAA B CC D <!-- -->E</div>
10 <script> 11 <script>
11 var target = document.getElementById("target"); 12 var target = document.getElementById("target");
12 target.removeChild(target.childNodes[1]); 13 target.removeChild(target.childNodes[1]);
13 target.offsetTop; 14 target.offsetTop;
14 target.normalize(); 15 target.normalize();
15 target.firstChild.data = "." + target.firstChild.data; 16 target.firstChild.data = "." + target.firstChild.data;
16 </script> 17 </script>
17 </body> 18 </body>
OLDNEW
« no previous file with comments | « LayoutTests/fast/text/selection-painted-separately.html ('k') | LayoutTests/fast/text/shadow-translucent-fill.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698