layout/reftests/font-face/name-collision-with-prefs-font-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>Bug 668758 - @font-face disrupts font preferences</title>
     5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     7 <style type="text/css">
     9 body {
    10   margin: 50px;
    11   font-family: serif;
    12 }
    14 </style>
    16 </head>
    18 <body>
    20 <p>
    21 This should be rendered using the default serif font.
    22 </p>
    24 <pre>
    25 And this is preformatted text that ought to be monospaced.
    26 </pre>
    28 </body>
    29 </html>

mercurial