Closed Bug 317948 Opened 15 years ago Closed 15 years ago
[FIX]Possible to readd frames to frame map after they've been removed
If removing a frame triggers a quote or counter list rebuild (which it will if BeginUpdate/EndUpdate are not called around whatever it is that removes the frame), then we'll end up calling GetPrimaryFrameFor in the quote/counter list code (when it sets data), which will readd the entry to the primary frame map. This is easiest to hit from the restyle event processing code.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
As bug 362155 shows, we probably want this on branches... This is a quite safe fix that only affects the behavior when CSS quotes (or HTML <q>) are involved and just makes sure we don't try to mess with frames while we're destroying them.
Comment on attachment 247135 [details] [diff] [review] Branch version of the patch approved for 1.8/1.8.0 branches, a=dveditz
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.