Microsoft KB Archive/254637: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - "<" to "<")
Line 51: Line 51:


When a background image is resized by using Dynamic Hyper-Text Markup Language (DHTML) code, a memory leak occurs in Internet Explorer. The following sample code can be used to exhibit the leak:
When a background image is resized by using Dynamic Hyper-Text Markup Language (DHTML) code, a memory leak occurs in Internet Explorer. The following sample code can be used to exhibit the leak:
<pre class="codesample">&lt;HTML&gt;
<pre class="codesample"><HTML&gt;
&lt;HEAD&gt;
<HEAD&gt;
&lt;SCRIPT LANGUAGE=&quot;JavaScript&quot;&gt;
<SCRIPT LANGUAGE=&quot;JavaScript&quot;&gt;
function animate() {img.style.height = (img.style.posHeight+1)%26;}
function animate() {img.style.height = (img.style.posHeight+1)%26;}
&lt;/SCRIPT&gt;
</SCRIPT&gt;
&lt;/HEAD&gt;
</HEAD&gt;
&lt;BODY onload = &quot;setInterval('animate()', 1);&quot;&gt;
<BODY onload = &quot;setInterval('animate()', 1);&quot;&gt;
&lt;SPAN ID=img STYLE=&quot;background:url(image.gif);WIDTH:91;HEIGHT:266&quot;&gt;
<SPAN ID=img STYLE=&quot;background:url(image.gif);WIDTH:91;HEIGHT:266&quot;&gt;
&lt;/SPAN&gt;
</SPAN&gt;
&lt;/BODY&gt;
</BODY&gt;
&lt;/HTML&gt;
</HTML&gt;
                 </pre>
                 </pre>



Revision as of 08:00, 21 July 2020

Knowledge Base


Memory Leak in Internet Explorer When Background Image Is Resized

Article ID: 254637

Article Last Modified on 1/27/2007



APPLIES TO

  • Microsoft Internet Explorer 5.01
  • Microsoft Internet Explorer 5.0
  • Microsoft Internet Explorer 5.01
  • Microsoft Internet Explorer 5.01
  • Microsoft Internet Explorer 5.0
  • Microsoft Internet Explorer 5.01
  • Microsoft Internet Explorer 5.0



This article was previously published under Q254637

SYMPTOMS

When a background image is resized by using Dynamic Hyper-Text Markup Language (DHTML) code, a memory leak occurs in Internet Explorer. The following sample code can be used to exhibit the leak:

<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
function animate() {img.style.height = (img.style.posHeight+1)%26;}
</SCRIPT>
</HEAD>
<BODY onload = "setInterval('animate()', 1);">
<SPAN ID=img STYLE="background:url(image.gif);WIDTH:91;HEIGHT:266">
</SPAN>
</BODY>
</HTML>
                

RESOLUTION

To resolve this problem, obtain the latest service pack for Internet Explorer version 5.01. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

267954 How to Obtain the Latest Internet Explorer 5.01 Service Pack


A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix should have the following file attributes or later:

   Date       Time  Version      Size    File name  Platform
   -------------------------------------------------------------
   04/03/2000 00:38 5.0.3015.300 2273040 Mshtml.dll x86
                



STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Internet Explorer version 5.01 Service Pack 1.


Additional query words: 4.00 5.00

Keywords: kbbug kbfix kbqfe kbenv KB254637