Open Bug 1132449 Opened 5 years ago Updated 8 months ago

Deck doesn't handle when child element frame type is changed


(Core :: XUL, defect)

Not set




(Reporter: enndeakin, Unassigned)



Bug 1009628 made it so that removing a child from a deck would update the selected index. However, this is based on whether the frame goes away, which can happen for other reasons, for example causing bug 1131052. For example:

  <label value="First" onclick="this.removeAttribute('label')"/>

Clicking on the label will change the frame for the label without removing the node.


1. nsDeckFrame needs to handle this case.
2. nsDeckFrame should instead store the node instead of the index.

The deck should also be improved to handle insertion of children.
Moving to Core:XUL per
Component: XP Toolkit/Widgets: XUL → XUL
You need to log in before you can comment on or make changes to this bug.