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

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
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   -moz-font-feature-settings: "kern" off;
    23   -webkit-font-feature-settings: "kern" off;
    24   font-feature-settings: "kern" off;
    25 }
    27 pre {
    28   margin: 0;
    29   padding: 0;
    30 }
    32 </style>
    33 </head>
    34 <body>
    35 <div id="test">
    36 <pre><span>AWAY</span></pre>
    37 </div>
    38 </body>
    39 </html>

mercurial