From c85bd89f91ed5810ffa938f4c56b02834fe15547 Mon Sep 17 00:00:00 2001 From: Margaret Leibovic Date: Tue, 18 Jan 2011 14:57:40 -0800 Subject: [PATCH] Bug 617553 - Doorhanger for add-on installation failures inside the AOM has no parent with chrome hidden [r=gavin, a=blocking] --- browser/base/content/browser.css | 3 ++ browser/base/content/browser.xul | 1 + .../content/test/browser_popupNotification.js | 31 ++++++++++++++++++- .../themes/gnomestripe/browser/browser.css | 4 +++ browser/themes/pinstripe/browser/browser.css | 4 +++ browser/themes/winstripe/browser/browser.css | 4 +++ toolkit/content/PopupNotifications.jsm | 8 +++++ 7 files changed, 54 insertions(+), 1 deletion(-) diff --git a/browser/base/content/browser.css b/browser/base/content/browser.css index 7aca53daa32..fe0bf90b80b 100644 --- a/browser/base/content/browser.css +++ b/browser/base/content/browser.css @@ -480,6 +480,9 @@ window[chromehidden~="toolbar"] toolbar:not(.toolbar-primary):not(.chromeclass-m -moz-user-focus: normal; } +/* We use the iconBox as the notification anchor when a popup notification is + created with a null anchorID, so in that case use a default anchor icon. */ +#notification-popup-box[anchorid="notification-popup-box"] > #default-notification-icon, #notification-popup-box[anchorid="geo-notification-icon"] > #geo-notification-icon, #notification-popup-box[anchorid="indexedDB-notification-icon"] > #indexedDB-notification-icon, #notification-popup-box[anchorid="addons-notification-icon"] > #addons-notification-icon, diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul index 3ee5a0d1d1b..5e4da397295 100644 --- a/browser/base/content/browser.xul +++ b/browser/base/content/browser.xul @@ -543,6 +543,7 @@ onfocus="document.getElementById('identity-box').style.MozUserFocus= 'normal'" onblur="setTimeout(function() document.getElementById('identity-box').style.MozUserFocus = '', 0);">