layout/reftests/text/font-selection-by-lang-01-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 PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
     2 <html>
     3 <head>
     4 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     5 	<meta http-equiv="Content-Style-Type" content="text/css">
     6 	<title>test for font selection by language reference</title>
     7 	<!-- A unique name is included in font-family
     8 	     to force a new cache entry for each element.
     9 	     -->
    10 	<style type="text/css">
    11 	p.a {
    12 	        font-family: sans-serif, font-selection-by-lang-1;
    13 	}
    14 	p.b {
    15 	        font-family: sans-serif, font-selection-by-lang-2;
    16 	}
    17 	</style>
    18 </head>
    19 <body>
    20   <p class="a" lang="ja">0123456789<p>
    21   <p class="b" lang="en">0123456789<p>
    22 </body>
    23 </html>

mercurial