layout/reftests/first-line/font-styles-nooverflow.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>Simple first-line test</title>
     5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     7 <style type="text/css">
     8 html { overflow: hidden; }
     9 body {
    10   margin: 20px;
    11   font-family: serif;
    12   font-size: 200%;
    13   line-height: 1.5;
    14   width: 400px;
    15 }
    17 div:first-line {
    18   font-family: sans-serif;
    19 }
    21 .floatright {
    22   float: right;
    23 }
    25 </style>
    27 </head>
    28 <body><div>sans-serif<br>serif <strong>bold serif <em>italic</em></strong><em><br>just italic<span class="floatright">italic too</span></em></div></body>
    29 </html>

mercurial