Closed
Bug 176305
Opened 23 years ago
Closed 22 years ago
overflow:auto applied to option creates an infinite loop
Categories
(Core :: Layout, defect, P2)
Tracking
()
RESOLVED
DUPLICATE
of bug 210269
People
(Reporter: bugzilla, Assigned: roc)
References
Details
(Keywords: hang, regression, testcase)
Attachments
(2 files)
The CSS rule
option { overflow:auto; }
will max the CPU usage %tage in windows task manager as the page loads. The CPU
usage %tage is maintained in the high 90%+, suggesting an infinite loop.
This is not happening in MSIE 6.
Reproducible: always. XP Pro SP1, build 2002102308.
| Reporter | ||
Comment 1•23 years ago
|
||
Open Windows Task Manager, Processes tab. Make sure the CPU [CPU usage in
View/Select Columns...] is visible.
Load the reduced test case.
The CPU usage percentage will be maintained very high.
Comment 2•23 years ago
|
||
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.2b) Gecko/20021023
Confirming this behaviour. When attempting to view the testcase, CPU usage
skyrocketed, and Mozilla never did render the testcase page; I had to
CTRL+ALT+DEL and terminate the browser window.
Keywords: testcase
Comment 3•23 years ago
|
||
WFM in 1.1 final, so it may be a regression. cc'ing jkeiser.
Comment 4•23 years ago
|
||
we seem to be stuck in ::Reflow() continuously...
Comment 5•23 years ago
|
||
This is a regression.
I checked in the 2002-09-30trunk build (win2k)..... the testcase does not cause
the browser to hang.
Then I checked in 2002-10-03trunk build (win2k).... I see the hang here.
It seems like the problem is in nsGfxScrollFrameInner::AddRemoveScrollbar, where
we hit the code that does two opposite calls to SetScrollbarVisibility:
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/layout/html/base/src/nsGfxScrollFrame.cpp&rev=3.109&mark=1091-1092,1104-1105#1084
The UnsetAttr from the first of these (it's unsetting the "collapsed" attribute)
posts a reflow command with the stack in attachment 104052 [details]. Then we set the
attribute back, rinse, and repeat. :-)
So who owns nsGfxScrollFrame these days?
Judging from that checkin window, I'd guess this is the result of bug 145212.
| Assignee | ||
Comment 9•23 years ago
|
||
No doubt.
| Assignee | ||
Comment 10•23 years ago
|
||
I'll check it out, but not until next week. In the meantime feel free to assign
it to me.
OK. :-)
I suspect it's not really your fault, just some somewhat broken code that you
exposed, but I could be wrong (and I'm not sure I'm understanding the code
correctly)...
Assignee: dbaron → roc+moz
Component: Style System → Layout
| Assignee | ||
Comment 12•23 years ago
|
||
I think that right now I understand the scrolling code as well as anyone, so it
might as well be mine :-).
Comment 13•23 years ago
|
||
*** Bug 192242 has been marked as a duplicate of this bug. ***
Comment 14•23 years ago
|
||
*** Bug 183710 has been marked as a duplicate of this bug. ***
Comment 15•23 years ago
|
||
*** Bug 199974 has been marked as a duplicate of this bug. ***
Comment 16•22 years ago
|
||
*** Bug 209943 has been marked as a duplicate of this bug. ***
Comment 17•22 years ago
|
||
*** Bug 212373 has been marked as a duplicate of this bug. ***
Updated•22 years ago
|
OS: Windows XP → All
| Assignee | ||
Comment 18•22 years ago
|
||
This should be fixed by my patch in bug 210269.
*** This bug has been marked as a duplicate of 210269 ***
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.
Description
•