layout/reftests/font-matching/arial-variations-6-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>Arial Variations</title>
     5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     7 <style type="text/css">
     9 body {
    10   margin: 50px;
    11 }
    13 p#test1e { font-family: Arial, sans-serif; }
    14 p#test2e { font-family: Georgia, serif; }
    15 p#test3e { font-family: Georgia, serif; }
    16 p#test4e { font-family: Georgia, serif; }
    18 p#test1e { color: black; }
    19 p#test2e { color: red; }
    20 p#test3e { color: red; }
    21 p#test4e { color: red; }
    23 #tests {
    24   font-size: 18pt;
    25   margin-left: 0.5em;
    26 }
    28 </style>
    30 </head>
    31 <body>
    33 <p>Text in black should appear in Arial and text in red in Georgia or the default serif font:</p>
    35 <div id="tests">
    36 <p id="test1e">{ font-family: "arial", sans-serif; }</p>
    37 <p id="test2e">{ font-family: "arial bold", georgia, serif; }</p>
    38 <p id="test3e">{ font-family: "arial italic", georgia, serif; }</p>
    39 <p id="test4e">{ font-family: "arial bold italic", georgia, serif; }</p>
    40 </div>
    42 </body>
    43 </html>

mercurial