layout/reftests/font-features/spacelookups-ref.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>contextual substitutions for fonts with spaces in lookups</title>
     5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     6 <link rel="author" title="John Daggett" href="mailto:jdaggett@mozilla.com"/>
     7 <style type="text/css">
     8 @font-face {
     9   font-family: spacelookup-defscr-deflang-deffeat;
    10   src: url(../fonts/spacelookups/spacelookup-defscr-deflang-deffeat.ttf);
    11 }
    12 body {
    13   margin: 20px 40px;
    14   line-height: 1.2;
    15 }
    17 div { font-size: 400%; }
    19 .spacelookup-defscr-deflang-deffeat { font-family: spacelookup-defscr-deflang-deffeat; }
    20 </style>
    22 </head>
    23 <body>
    24 <div class="spacelookup-defscr-deflang-deffeat">
    25 <span>&#xf007;</span>
    26 <span>&#xf007;</span>
    27 <span>&#xf007;</span>
    28 <span>&#xf007;</span>
    29 <span>&#xf007;</span>
    30 <span>&#xf007;</span>
    31 </div>
    32 </body>
    33 </html>

mercurial