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

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     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