layout/reftests/font-face/src-list-local-fallback-ref.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 on load fallback</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   font-family: sans-serif;
    13 }
    15 p { margin-left: 1em; }
    17 p { font-family: Futura, Bitstream Vera Sans, DejaVu Sans, Arial, serif; }
    19 </style>
    21 <script type="text/javascript">
    23 </script>
    25 </head>
    26 <body>
    28 <h4>These should appear in sans-serif face, not serif:</h4>
    30 <p id="test0">Simple use of src local()</p>
    32 <p id="test1">The URL for the font data is bogus</p>
    34 <p id="test2">The URL exists but does not return font data</p>
    36 <p id="test3">Same as above, but first local not found</p>
    38 <p id="test4">Same as above, bogus url follows unknown local font</p>
    40 </body>
    41 </html>

mercurial