Bug 1397236 - Changing positioning of navigator-toolbox while a descendent popup is open causes the popup to close. We don't need to change the positioning of the navigator-toolbox on the fly, and can instead always keep it as position:relative for the library animation. r=Gijs

MozReview-Commit-ID: HXbjhQFCplb

--HG--
extra : rebase_source : ad0ca5e01d4fae85308b7be63ce3953d9767fe12
This commit is contained in:
Jared Wein 2017-09-07 03:46:46 -04:00
parent cf0fec131d
commit 8bcd5cb19e
2 changed files with 2 additions and 4 deletions

View File

@ -1555,7 +1555,6 @@ var LibraryUI = {
animatableBox.removeAttribute("brighttext");
}
animatableBox.removeAttribute("fade");
gNavToolbox.setAttribute("animate", animation);
libraryButton.setAttribute("animate", animation);
animatableBox.setAttribute("animate", animation);
if (!this._libraryButtonAnimationEndListeners[animation]) {
@ -1578,7 +1577,6 @@ var LibraryUI = {
let libraryButton = document.getElementById("library-button");
// Put the 'fill' back in the normal icon.
libraryButton.removeAttribute("animate");
gNavToolbox.removeAttribute("animate");
}
},
};

View File

@ -56,9 +56,9 @@
min-height: 22px;
}
/* Library animation */
/* Required for Library animation */
#navigator-toolbox[animate] {
#navigator-toolbox {
position: relative;
}