Open
Bug 1477124
Opened 6 years ago
Updated 2 years ago
can we avoid recursive WipeContainingBlock calls by adding the ability to reconstruct the children of a frame while preserving it?
Categories
(Core :: Layout, enhancement, P3)
Core
Layout
Tracking
()
NEW
People
(Reporter: dbaron, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: perf)
I thought I filed a bug on this years ago, but I can't find it.
One of the things that makes WipeContainingBlock expensive is when it recursively decides that it's in yet another situation that requires destroying the containing block.
I think this could be avoided if we had a way to reconstruct all the children of a frame without reconstructing the frame itself. This would allow WipeContainingBlock to step up to "all of my siblings" but it wouldn't need to destroy the parent, and thus wouldn't risk triggering itself recursively... at least in most cases.
It's worth thinking about whether it's worth adding such a mechanism.
Updated•6 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•