blob: fce444e26cdbf02de46fe5e6fe316fa9ab67fb9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<!DOCTYPE html>
<html>
<style type="text/css" media="screen">
div {
margin: 20px;
font-size: 24pt;
}
.composited {
-webkit-transform: translateZ(0);
background-color: white;
}
.smoothed {
-webkit-font-smoothing: subpixel-antialiased;
}
</style>
<head>
</head>
<body>
<div class="composited">
This text should be antialiased, but not smoothed.
</div>
<div class="smoothed composited">
This text should be antialiased and smoothed.
</div>
<div>
This text should be antialiased and smoothed in the browser, and antialiased in pixel results.
</div>
</body>
</html>
|