layout/reftests/font-face/load-badfullname-ref.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>Test of fonts with funky fullnames</title>
     5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     7 <style type="text/css">
     9 @font-face {
    10   font-family: test;
    11   src: url(../fonts/markA.ttf);
    12 }
    14 body {
    15   margin: 50px;
    16   font-size: 12pt;
    17   font-family: Gill Sans, Futura, sans-serif;
    18 }
    20 p.test1 { font-size: 48pt; font-family: test, Futura, sans-serif; }
    21 p.test2 { font-size: 48pt; font-family: test, Futura, sans-serif; }
    23 </style>
    25 </head>
    26 <body>
    28 <p>Letter A should <strong>not</strong> appear below:</p>
    30 <p class="test1">A</p>
    32 <p class="test2">A</p>
    34 </body>
    35 </html>

mercurial