diff options
Diffstat (limited to 'Source/WebCore/manual-tests/compositing/font-smoothing.html')
-rw-r--r-- | Source/WebCore/manual-tests/compositing/font-smoothing.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Source/WebCore/manual-tests/compositing/font-smoothing.html b/Source/WebCore/manual-tests/compositing/font-smoothing.html new file mode 100644 index 0000000..fce444e --- /dev/null +++ b/Source/WebCore/manual-tests/compositing/font-smoothing.html @@ -0,0 +1,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> |