layout/reftests/font-face/dynamic-duplicate-rule-1-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 <meta charset="utf-8">
     6 <style type="text/css" id="style1">
     7 @font-face {
     8   font-family: foo;
     9   src: local("Arial"),
    10        local("DejaVu Sans"),
    11        local("Free Sans"),
    12        local("Open Sans"),
    13        local("Droid Sans"),
    14        local("Roboto");
    15 }
    16 </style>
    18 <style type="text/css">
    19 body {
    20   font-family: serif;
    21 }
    22 .test {
    23   font-family: foo;
    24 }
    25 </style>
    27 </head>
    29 <body>
    30 <div>
    31 foo <span class="test">bar</span> baz
    32 </div>
    33 </body>
    35 </html>

mercurial