(In reply to Neil Deakin (away march 22 - 31) from comment #6)
There are lots of places where a context menu can be opened while another
menu is open. For example, open a bookmark folder on the bookmarks toolbar,
which will open as a menu, then open a context menu for a specific bookmark.
Tooltips also are assigned for each bookmark item since labels can be
The context menu or tooltips, or the dropdowns of <select> elements can also
be opened for any panel that opens from an extension.
Yes, I think I understand you now.
The content menus created/opened when a different menu is active is a different case and needs an extra approach. One content menu can have different parents as it's reused and that needs to be addressed when the popup is rendered and not when it's created.