Off-topic:
I wonder if we could have the TabsToolbar be actually moved in DOM via JavaScript when toggling "tabs on top" instead of solely relying on CSS in light of this issue. It seems pretty fragile to not have its position in DOM touched. Now I am also at fault here for assuming that the user will not use that toggle and not having the overlay explicitly insert the toolbar after the PersonalToolbar, but it would be nice to be able to avoid surprises like this for other add-on developers...
I wonder if we could have the TabsToolbar be actually moved in DOM via JavaScript when toggling "tabs on top" instead of solely relying on CSS in light of this issue. It seems pretty fragile to not have its position in DOM touched. Now I am also at fault here for assuming that the user will not use that toggle and not having the overlay explicitly insert the toolbar after the PersonalToolbar, but it would be nice to be able to avoid surprises like this for other add-on developers...



