layout/reftests/text/synthetic-bold-metrics-01-notref.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: dvsm;
     7   src: url(../fonts/DejaVuSansMono.woff);
     8 }
    10 p {
    11   font-family: dvsm; /* family with only a single weight */
    12 }
    14 .test {
    15   color: white; /* hide the text, we're only comparing metrics */
    16 }
    17 </style>
    18 </head>
    19 <body>
    20 <p>AbcdefghijklmnopqrstuvwxyZ</p>
    21 <p>A<span class="test">bcdefghijklmnopqrstuvwxy</span>Z</p>
    22 </body>
    23 </html>

mercurial