layout/reftests/font-features/font-kerning-table-none.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 <style type="text/css">
     5 @font-face {
     6   font-family: gentium;
     7   /* font that has an old-style 'kern' table rather than GPOS 'kern' feature */
     8   src: url(../fonts/sil/GenR102.ttf);
     9 }
    10 body {
    11   margin: 10px;
    12   font-family: gentium;
    13   font-size: 600%;
    14   line-height: 1.2em;
    15   font-kerning: none;
    16 }
    17 </style>
    18 </head>
    19 <body lang="en">
    20 <div>Ta To</div>
    21 <div>AVA</div>
    22 <div>AWAY</div>
    23 </body>
    24 </html>

mercurial