IE6 appears to hang with TEXTAREA with large content and style

O

ohaya

Hi,

I am serving a page that has a TEXTAREA with a style attribute in it.

The specific page contains the following:

<TEXTAREA id="whatever" name="whatever" rows="16" cols="100"
style="position: absolute; left: 2px; top: 2px; width: 0px; height:
0px;">

.... large text content generated dynamically ...

</TEXTAREA>

Note that the initial dimensions of the TEXTAREA are set to '0px' for
height and width, and there's an onload event handler (which is not
shown) that resizes the TEXTAREA to fit the IE6 browser window.

When the width/height of the TEXTAREA is 0px, and IE6 tries to load this
page, IE6 just seems to hang, and CPU Utilization under Task Manager is
pegged at 100%.

From my testing, setting the width/height to '1px' (vs. '0px') gets
things working again, but I was wondering if this is a known problem
with IE6?

Thanks in advance,
Jim
 
O

ohaya

ohaya said:
Hi,

I am serving a page that has a TEXTAREA with a style attribute in it.

The specific page contains the following:

<TEXTAREA id="whatever" name="whatever" rows="16" cols="100"
style="position: absolute; left: 2px; top: 2px; width: 0px; height:
0px;">

... large text content generated dynamically ...

</TEXTAREA>

Note that the initial dimensions of the TEXTAREA are set to '0px' for
height and width, and there's an onload event handler (which is not
shown) that resizes the TEXTAREA to fit the IE6 browser window.

When the width/height of the TEXTAREA is 0px, and IE6 tries to load this
page, IE6 just seems to hang, and CPU Utilization under Task Manager is
pegged at 100%.

From my testing, setting the width/height to '1px' (vs. '0px') gets
things working again, but I was wondering if this is a known problem
with IE6?

Thanks in advance,
Jim


Hi,

I've posted two pages that demonstrate this problem:

http://members.cox.net/ohaya/etextarea-bad.htm -> this hangs IE6 and
utilization goes to 100%
http://members.cox.net/ohaya/etextarea-good.htm -> this works ok

The only difference between the "-good.htm" and "-bad.htm" pages is that
the "-good.htm" page has "width: 1px; height: 1px;" whereas the
"-bad.htm" page has "width: 0px; height: 0px;".

BTW, you should note that the pages are quite large (6.5MB)...

Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top