Closed
Bug 24292
Opened 25 years ago
Closed 25 years ago
Lots of style changed reflow commands
Categories
(Core :: Layout: Form Controls, defect, P3)
Tracking
()
VERIFIED
FIXED
M15
People
(Reporter: troy, Assigned: rods)
References
()
Details
(Whiteboard: Fix is in my tree)
Rod, if you load up http://www.cnn.com/ you'll notice lots of StyleChanged
incremental reflow commands targeted at a nsListControlFrame frame
There are also lots of StyleChanged reflow commands targeted at a
nsGfxButtonControlFrame frame as well
All of these incremental reflows slow down the document load, of course
| Assignee | ||
Comment 1•25 years ago
|
||
Troy, I need a some help here. Is the ListControlFrame responsible for all the
StyleChange reflows? Or is it that it doesn't handle them efficiently? What do
you think is the problem in the ListControlFrame that I should look at fixing?
Thanks.
| Assignee | ||
Updated•25 years ago
|
Target Milestone: M14
| Assignee | ||
Comment 2•25 years ago
|
||
setting milestone to M14
I don't know why the StyleChanged() reflow commands are happening. Probably
because the style system thinks the style context needs to be re-resolved
(although I don't know the answer to why of that question either).
You're probably handling them efficiently, unfortunately, StyleChanged is a very
inefficient process because it requires reflowing that entire frame subtree
(recursively, no shortcuts).
I'll take a look and see if I can tell why the style system is generating the
StyleChanged reflow commands. I was kind of hoping you knew. :-)
| Assignee | ||
Comment 4•25 years ago
|
||
Troy,
The Combobox is changing incremental reflows to StyleChanged reflows, this has
been there a very long, long time. I am not even sure why.
| Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Whiteboard: Fix is in my tree
| Assignee | ||
Comment 5•25 years ago
|
||
Fix is in my tree
Comment 6•25 years ago
|
||
Is the fix going into M14? And how would one go about testing this bug? From
the comments it sounds like more of an under-the-covers type of bug that doesn't
manifest itself in an obvious fashion.
I could, however, be complete wrong. Any comments/suggestions?
| Assignee | ||
Comment 8•25 years ago
|
||
This has been fixed with my lastest checkin
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•