mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
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:
parent
cf0fec131d
commit
8bcd5cb19e
@ -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");
|
||||
}
|
||||
},
|
||||
};
|
||||
|
@ -56,9 +56,9 @@
|
||||
min-height: 22px;
|
||||
}
|
||||
|
||||
/* Library animation */
|
||||
/* Required for Library animation */
|
||||
|
||||
#navigator-toolbox[animate] {
|
||||
#navigator-toolbox {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user