layout/reftests/text/font-selection-generic-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.

michael@0 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
michael@0 2 "http://www.w3.org/TR/html4/strict.dtd">
michael@0 3 <html lang="en-US">
michael@0 4 <head>
michael@0 5 <title></title>
michael@0 6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
michael@0 7 <style type="text/css">
michael@0 8
michael@0 9 @font-face {
michael@0 10 font-family: "MarkA";
michael@0 11 src: url(../fonts/markA.ttf);
michael@0 12 }
michael@0 13
michael@0 14 .c1 { font-family: sans-serif; }
michael@0 15 .c2 { font-family: serif; }
michael@0 16 .c3 { font-family: monospace, fantasy; }
michael@0 17 .c4 { font-family: fantasy; }
michael@0 18 .c5 { font-family: cursive; }
michael@0 19
michael@0 20 .c11 { font-family: MarkA, serif; }
michael@0 21 .c12 { font-family: MarkA, monospace; }
michael@0 22 .c13 { font-family: MarkA, sans-serif; }
michael@0 23 .c14 { font-family: MarkA, cursive; }
michael@0 24 .c15 { font-family: MarkA, fantasy; }
michael@0 25
michael@0 26 /* to ensure the same vertical positioning of the text */
michael@0 27 .spacer { line-height: 3em }
michael@0 28 </style>
michael@0 29 </head>
michael@0 30 <body>
michael@0 31
michael@0 32 <p class="c1">AB</p>
michael@0 33 <p class="c2">AB</p>
michael@0 34 <p class="c3">AB</p>
michael@0 35 <!-- Rev3 Fedora 12 test machines don't have fantasy or cursive,
michael@0 36 and WINNT 5.2 machines don't have fantasy.
michael@0 37 <p class="c4">AB</p>
michael@0 38 <p class="c5">AB</p>
michael@0 39 -->
michael@0 40
michael@0 41 <p class="c11">A</p>
michael@0 42 <p><span class="c1">B</span><span class="spacer"></span></p>
michael@0 43 <p class="c12">A</p>
michael@0 44 <p><span class="c2">B</span><span class="spacer"></span></p>
michael@0 45 <p class="c13">A</p>
michael@0 46 <p><span class="c3">B</span><span class="spacer"></span></p>
michael@0 47 <!--
michael@0 48 <p class="c14">A</p>
michael@0 49 <p class="c4">B</p>
michael@0 50 <p class="c15">A</p>
michael@0 51 <p class="c5">B</p>
michael@0 52 -->
michael@0 53
michael@0 54 </body>
michael@0 55 </html>

mercurial