layout/reftests/font-face/src-list-local-full-quotes.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <!DOCTYPE HTML>
     2 <html>
     3 <head>
     4 <title>src local with full names</title>
     5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     7 <style type="text/css">
     9 body {
    10   margin: 50px;
    11   font-size: 24pt;
    12 }
    14 /* use full names */
    16 @font-face {
    17   font-family: test-regular;
    18   src: local("Helvetica Neue"), local("Bitstream Vera Sans"), local("Bitstream Vera Sans Roman"), local("Free Sans"), local("SwissA"), local("DejaVu Sans"), local("Arial");
    19 }
    21 /* use Helvetica on the Mac, since Futura has no bold face on 10.4, 10.5 */
    22 @font-face {
    23   font-family: test-bold;
    24   src: local("Helvetica Neue Bold"), local("Bitstream Vera Sans Bold"), local("Free Sans Bold"), local("SwissA Bold"), local("DejaVu Sans Bold"), local("Arial Bold");
    25 }
    27 @font-face {
    28   font-family: test-italic;
    29   src: local("Helvetica Neue Italic"), local("Bitstream Vera Sans Oblique"), local("Free Sans Oblique"), local("SwissA Italic"), local("DejaVu Sans Oblique"), local("Arial Italic");
    30 }
    32 .regular { font-family: test-regular, serif; }
    33 .bold { font-family: test-bold, serif; }
    34 .italic { font-family: test-italic, serif; }
    36 </style>
    38 <script type="text/javascript">
    40 </script>
    42 </head>
    43 <body>
    45 <p class="regular">This should be a sans-serif face</p>
    47 <p class="bold">This should be a bold sans-serif face</p>
    49 <p class="italic">This should be an italic sans-serif face</p>
    51 </body>
    52 </html>

mercurial