tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

font-size-wrap.html (842B)


      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" class="reftest-wait">
      4 <head>
      5 <title>Based on testcase #3 for bug 310451</title>
      6 
      7 <style type="text/css">
      8  body { font-size: 16px;  }
      9  div  { position: absolute; border:1px solid black; }
     10 </style>
     11 
     12 <script type="text/javascript">//<![CDATA[
     13 window.onload = function() {
     14 var newSize = '32px';
     15 var div = document.getElementById('div');
     16 document.body.style.fontSize = newSize;
     17 div.style.height = '1px';
     18 setTimeout(function() {
     19 	div.style.height = 'auto';
     20 	document.documentElement.removeAttribute("class");
     21 }, 0);
     22 }
     23 
     24 //]]></script>
     25 
     26 </head>
     27 <body>
     28 
     29 <div id="div" style="top:40px;">
     30 this text should be on one line <b>and not wrap</b>
     31 </div>
     32 </body>
     33 </html>