6 document.body.offsetTop;
8 // Force preferred width recalculation
9 pic.style.padding = "0";
10 document.body.offsetTop;
12 container.style.width = "200px";
16 Test for <i><a href="rdar://problem/5862634">rdar://problem/5862634</a>
17 REGRESSION (3.1.1): In iChat, inline image not resizable past current size after another IM is received</i>.
20 The blue square below should be 100×100 pixels.
22 <div id="container" style="width: 10px;">
23 <div style="display: inline-block;">
24 <img onload="test()" id="pic" src="resources/square-blue-100x100.png" style="max-width: 100%; padding: 10px;">