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

branch
TOR_BUG_3246
changeset 6
8bccb770b82d
equal deleted inserted replaced
-1:000000000000 0:98197af1585b
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>
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 document.body.style.fontSize = newSize;
16 }
17
18 //]]></script>
19
20 </head>
21 <body>
22
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