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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

michael@0 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
michael@0 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
michael@0 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" class="reftest-wait">
michael@0 4 <head>
michael@0 5 <title>Based on testcase #3 for bug 310451</title>
michael@0 6
michael@0 7 <style type="text/css">
michael@0 8 body { font-size: 16px; }
michael@0 9 div { position: absolute; border:1px solid black; }
michael@0 10 </style>
michael@0 11
michael@0 12 <script type="text/javascript">//<![CDATA[
michael@0 13 window.onload = function() {
michael@0 14 var newSize = '32px';
michael@0 15 var div = document.getElementById('div');
michael@0 16 document.body.style.fontSize = newSize;
michael@0 17 div.style.height = '1px';
michael@0 18 setTimeout(function() {
michael@0 19 div.style.height = 'auto';
michael@0 20 document.documentElement.removeAttribute("class");
michael@0 21 }, 0);
michael@0 22 }
michael@0 23
michael@0 24 //]]></script>
michael@0 25
michael@0 26 </head>
michael@0 27 <body>
michael@0 28
michael@0 29 <div id="div" style="top:40px;">
michael@0 30 this text should be on one line <b>and not wrap</b>
michael@0 31 </div>
michael@0 32 </body>
michael@0 33 </html>

mercurial