diff --git a/browser/base/content/browser.css b/browser/base/content/browser.css index d4d83c72b6b4..5781e62627a0 100644 --- a/browser/base/content/browser.css +++ b/browser/base/content/browser.css @@ -565,8 +565,13 @@ toolbar:not(#TabsToolbar) > #personal-bookmarks { visibility: collapse; } +#identity-box { + -moz-user-focus: normal; +} + #urlbar[pageproxystate="invalid"] > #identity-box { pointer-events: none; + -moz-user-focus: ignore; } #identity-icon-labels { diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul index 45546cd73061..97ca0cfce86d 100644 --- a/browser/base/content/browser.xul +++ b/browser/base/content/browser.xul @@ -689,13 +689,9 @@ newlines="stripsurroundingwhitespace" ontextentered="this.handleCommand(param);" ontextreverted="return this.handleRevert();" - pageproxystate="invalid" - onfocus="document.getElementById('identity-box').style.MozUserFocus= 'normal'" - onblur="setTimeout(() => { document.getElementById('identity-box').style.MozUserFocus = ''; }, 0);"> + pageproxystate="invalid"> + code fires onmousedown, and hence eats our favicon drag events. -->