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

Side by Side Diff: LayoutTests/platform/chromium-linux/fast/text/chromium-linux-text-subpixel-positioning.html

Issue 14860019: Move Linux-specific LayoutTests to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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
(Empty)
1 <html>
2 <!-- Use a fake font family for all of the text that we draw.
3 The setTextSubpixelPositioning() call changes a global text style
4 setting. It gets reset after we're dumped, but if we run first, our
5 style would be cached and would affect other tests, and if we run after
6 another test, we'd use its cached style and subpixel positioning won't be
7 enabled. -->
8 <body style="font-family:SubpixelPositioning">
9 <script>
10 if (window.testRunner) {
11 testRunner.setTextSubpixelPositioning(true);
12 }
13 </script>
14
15 <p>This test requires a Linux build of DumpRenderTree, as it needs to turn
16 on subpixel positioning.</p>
17
18 <p>This text should be rendered using subpixel positioning. Glyphs should
19 be placed at non-integral positions, and in the following string of repeated
20 &quot;l&quot; characters, the glyphs should not all be rendered
21 identically: llllllllllllllllllllll</p>
22 </body>
23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698