Closed
Bug 194787
Opened 22 years ago
Closed 15 years ago
lazily lay out/reflow pages with immediate onload redirects
Categories
(Core :: Layout, enhancement, P3)
Core
Layout
Tracking
()
RESOLVED
WONTFIX
Future
People
(Reporter: myk, Unassigned)
Details
We should lazily lay out/reflow pages with immediate redirects in their onload
handler and only lay out if the handler requests the position of an element.
Doing this would improve performance in certain edge cases, particularly
performance tests like i-Bench, and would make such tests between us and Safari
(which does this) more directly comparable.
Comment 1•22 years ago
|
||
How do we determine whether an onload handler contains a redirect, much less an
immediate one? (This is equivalent to the halting problem, no? We could just
randomly guess, I suppose.)
Updated•22 years ago
|
Priority: -- → P3
| Reporter | ||
Comment 2•22 years ago
|
||
I was under the impression that we already cancel paint when we detect an
immediate redirect, but perhaps I was mistaken and we merely unconditionally
defer paint until after the onload handler fires (thus having the effect of
canceling paint for immediate redirects). jrgm knows more.
Comment 3•22 years ago
|
||
I looked at this a bit. It seems to be implicit, not explicit.
Updated•22 years ago
|
Target Milestone: --- → Future
Updated•16 years ago
|
Assignee: layout → nobody
QA Contact: ian → layout
Comment 4•15 years ago
|
||
See bug 572604 for a variant of this idea that doesn't require solving the halting problem.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•