Closed Bug 192242 Opened 22 years ago Closed 22 years ago

Lockup when using DIV with overflow:auto + table

Categories

(Core :: Layout: Tables, defect, P3)

x86
Windows XP
defect

Tracking

()

RESOLVED DUPLICATE of bug 176305

People

(Reporter: crotalus, Unassigned)

References

()

Details

(Keywords: hang)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20021207 Phoenix/0.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20021207 Phoenix/0.5

There seems to be a problem with overflow: auto in combination with a
fixed-width column:

<table>
<tr>
<td width=50><div
style="overflow:auto">wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww</div></td>
</tr>
</table>

The code above manage to freeze Phoenix 0.5 completely

Reproducible: Always

Steps to Reproduce:
1. Put the code above in a page
2. Try to access to page


Actual Results:  
Complete lockup of Phoenix

Expected Results:  
Displayed a table-column with a bottom-scrollbar.

Happens both on Windows and Linux platforms.
WFM using 
Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3b) Gecko/20030206 Phoenix/0.5
and Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3b) Gecko/20021207 Phoenix/0.5
I know it may be annoying - but did you check with the latest version of phoenix
using a fresh profile?
Yep, I've tried with a complete fresh profile and phoenix 0.5. Still same 
result (lockup/freeze)
Ok, an important thing fell out in the example... font-size:

Try this one:

<table width=100>
    <tr>
        <td><div style="font-size: 12px; 
overflow:auto">wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww</div></t
d>
    </tr>
</table>
Nichlas, Phoenix 0.5 is only the latest milestone release of Phoenix, not the
latest build. Please try with the latest nightly build:
http://komodo.mozilla.org/pub/phoenix/nightly/latest-trunk/
Ok, I've tried with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) 
Gecko/20030207 Phoenix/0.5.

Still the same problem.

http://www.acc.umu.se/~crotalus/test.html
Ok - I've tried your sample with the modified font-size and it still WFM now using
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3a) Gecko/20030207 Phoenix/0.5

Nichlas: did you install the latest nightly build in a _new_ directory?
Perhaps someone else can give it a try with WinXP!
Yep, I installed it in a new directory... The problems occurs when you get 
overflow and a bottom scrollbar should appear. If this scrollbar fills the 
whole td-cell, phoenix ends up in a loop.
Using Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030211
Phoenix/0.5 I get a definite slow down accessing the test page, and Phoenix
displays nothing. I eventually just closed the tab it was in due to the
performance degredation on the rest of the browser. Also interesing is that the
test page is tentatively valid (if you were to add the 4.01 transitional etc
stuff it would validate). It's also freezing/locking up Mozilla.

Over to Browser: Layout: Tables
Assignee: blaker → table
Component: General → Layout: Tables
Product: Phoenix → Browser
QA Contact: asa → madhur
Version: unspecified → Trunk
I see a performance degredtion on Linux 7.3 .... trunk build 2003-02-17-05
and MacOS X ..... trunk build 2003-02-19-03

the testcase displays fine on the winXP platform.
confirming bug.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: hang
Priority: -- → P3
this is infinite reflow

dupe of "overflow:auto applied to option creates an infinite loop"
(both regressed between 09/29/2002 - 10/01/2002)

*** This bug has been marked as a duplicate of 176305 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.