layout/reftests/font-features/kerning-sanity-check-default.html

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 <!DOCTYPE HTML>
     2 <html>
     3 <head>
     4 <title>kerning sanity checks</title>
     5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     7 <style type="text/css">
     9 @font-face {
    10   font-family: LinuxLibertine;
    11   src: url(../fonts/LinLibertine_Re-4.7.5.woff);
    12 }
    14 body {
    15   margin: 5px;
    16 }
    18 div#test, div#test pre {
    19   font-family: Arial, LinuxLibertine, sans-serif;
    20   font-size: 300%;
    21   line-height: 1.1em;
    22   /* font-feature-settings == default */
    23 }
    25 pre {
    26   margin: 0;
    27   padding: 0;
    28 }
    30 </style>
    31 </head>
    32 <body>
    33 <div id="test">
    34 <pre><span>AWAY</span></pre>
    35 </div>
    36 </body>
    37 </html>

mercurial