layout/reftests/abs-pos/font-size-wrap-ref.html

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
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 XHTML 1.0 Strict//EN"
     2 	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
     4 <head>
     5 <title>Based on testcase #3 for bug 310451</title>
     7 <style type="text/css">
     8   body { font-size: 16px;  }
     9   div  { position: absolute; border:1px solid black; }
    10 </style>
    12 <script type="text/javascript">//<![CDATA[
    13 window.onload = function() {
    14 	var newSize = '32px';
    15 	document.body.style.fontSize = newSize;
    16 }
    18 //]]></script>
    20 </head>
    21 <body>
    23 <div style="top:40px;">
    24 	this text should be on one line <b>and not wrap</b>
    25 </div>
    26 </body>
    27 </html>

mercurial