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

Side by Side Diff: ManualTests/compositing/font-smoothing.html

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove duplicate transform Created 6 years, 2 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <html> 3 <html>
4 <style type="text/css" media="screen"> 4 <style type="text/css" media="screen">
5 div { 5 div {
6 margin: 20px; 6 margin: 20px;
7 font-size: 24pt; 7 font-size: 24pt;
8 } 8 }
9 9
10 .composited { 10 .composited {
11 -webkit-transform: translateZ(0); 11 transform: translateZ(0);
12 background-color: white; 12 background-color: white;
13 } 13 }
14 14
15 .smoothed { 15 .smoothed {
16 -webkit-font-smoothing: subpixel-antialiased; 16 -webkit-font-smoothing: subpixel-antialiased;
17 } 17 }
18 </style> 18 </style>
19 <head> 19 <head>
20 </head> 20 </head>
21 <body> 21 <body>
22 <div class="composited"> 22 <div class="composited">
23 This text should be antialiased, but not smoothed. 23 This text should be antialiased, but not smoothed.
24 </div> 24 </div>
25 25
26 <div class="smoothed composited"> 26 <div class="smoothed composited">
27 This text should be antialiased and smoothed. 27 This text should be antialiased and smoothed.
28 </div> 28 </div>
29 29
30 <div> 30 <div>
31 This text should be antialiased and smoothed in the browser, and antialiased in pixel results. 31 This text should be antialiased and smoothed in the browser, and antialiased in pixel results.
32 </div> 32 </div>
33 </body> 33 </body>
34 </html> 34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698