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

Side by Side Diff: LayoutTests/fast/text/selection-painted-separately.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, 5 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/ahem.js"></script>
1 <style> 2 <style>
2 div > div { width: 100px; font-family: Ahem; font-size: 20px; } 3 div > div { width: 100px; font-family: Ahem; font-size: 20px; }
3 div > div::selection { color: white; } 4 div > div::selection { color: white; }
4 </style> 5 </style>
5 <div style="overflow: hidden; background: red; width: 100px; color: green;"> 6 <div style="overflow: hidden; background: red; width: 100px; color: green;">
6 <div id="target">xxxxx xxxxx</div><div>xxxxx xxxxx</div> 7 <div id="target">xxxxx xxxxx</div><div>xxxxx xxxxx</div>
7 </div> 8 </div>
8 <script> 9 <script>
9 var target = document.getElementById("target"); 10 var target = document.getElementById("target");
10 getSelection().setBaseAndExtent(target.firstChild, 6, target.nextSibling.fir stChild, 5); 11 getSelection().setBaseAndExtent(target.firstChild, 6, target.nextSibling.fir stChild, 5);
11 </script> 12 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/text/remove-zero-length-run.html ('k') | LayoutTests/fast/text/setData-dirty-lines.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698