layout/reftests/font-face/src-list-local-fallback-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>src local on load fallback</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-size: 24pt;
    12   font-family: sans-serif;
    13 }
    15 p { margin-left: 1em; }
    17 p { font-family: Futura, Bitstream Vera Sans, DejaVu Sans, Arial, serif; }
    19 </style>
    21 <script type="text/javascript">
    23 </script>
    25 </head>
    26 <body>
    28 <h4>These should appear in sans-serif face, not serif:</h4>
    30 <p id="test0">Simple use of src local()</p>
    32 <p id="test1">The URL for the font data is bogus</p>
    34 <p id="test2">The URL exists but does not return font data</p>
    36 <p id="test3">Same as above, but first local not found</p>
    38 <p id="test4">Same as above, bogus url follows unknown local font</p>
    40 </body>
    41 </html>

mercurial