layout/reftests/text/osx-font-smoothing-2.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <!DOCTYPE HTML>
     2 <!-- testcase for https://bugzilla.mozilla.org/show_bug.cgi?id=900975 -->
     3 <html>
     4 <head>
     5 <style type="text/css">
     6 p {
     7   margin: 20px;
     8   font-family: Arial, sans-serif;
     9   background-color: black;
    10   color: white;
    11 }
    12 .smoothing-gray {
    13   -moz-osx-font-smoothing: grayscale;
    14 }
    15 .smoothing-auto {
    16   -moz-osx-font-smoothing: auto;
    17 }
    18 </style>
    19 </head>
    20 <body lang="en">
    21 <p class="smoothing-auto"><span>foo</span> <span class="smoothing-gray">bar</span></p>
    22 </body>
    23 </html>

mercurial