| OLD | NEW |
| 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> |
| OLD | NEW |