layout/reftests/font-face/load-badchecksum.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>Checksums for downloadable fonts</title>
     5   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     7   <style type="text/css">
     8     body { margin: 50px; font-size: 24px; }
    10     @font-face {
    11       font-family: VeraBadChecksum;
    12       src: url(../fonts/VeraBd.ttf);
    13     }
    15     @font-face {
    16       font-family: VeraGoodChecksum;
    17       src: url(../fonts/VeraBd-validchecksum.ttf);
    18     }
    20     .verabad { font-family: VeraBadChecksum, Futura, sans-serif; }
    21     .veragood { font-family: VeraGoodChecksum, Futura, sans-serif; }
    23   </style>
    25   <script type="text/javascript">
    26   </script>
    28 </head>
    29 <body>
    30 <p class="verabad">Fonts load with or without correct head table checksums</p>
    31 </body>
    32 </html>

mercurial