~ubuntu-branches/ubuntu/raring/qtwebkit-source/raring-proposed

« back to all changes in this revision

Viewing changes to ManualTests/compositing/font-smoothing.html

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-02-18 14:24:18 UTC
  • Revision ID: package-import@ubuntu.com-20130218142418-eon0jmjg3nj438uy
Tags: upstream-2.3
ImportĀ upstreamĀ versionĀ 2.3

Show diffs side-by-side

added added

removed removed

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