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

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     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 span {
    19   display: inline-block;
    20 }
    21 </style>
    22 </head>
    23 <body lang="en">
    24 <p class="smoothing-auto"><span>foo</span> <span class="smoothing-gray">bar</span></p>
    25 </body>
    26 </html>

mercurial