diff --git a/browser/base/content/tabbrowser.css b/browser/base/content/tabbrowser.css index b945be2e9e3f..33c02f7a4f44 100644 --- a/browser/base/content/tabbrowser.css +++ b/browser/base/content/tabbrowser.css @@ -16,12 +16,6 @@ display: -moz-box; } -.tab-close-button[selected="true"] { - /* Make this button focusable so clicking on it will not focus the tab while - it's getting closed */ - -moz-user-focus: normal; -} - .tab-label[pinned] { width: 0; margin-left: 0 !important; diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml index a23a89c7e7d0..368345232048 100644 --- a/browser/base/content/tabbrowser.xml +++ b/browser/base/content/tabbrowser.xml @@ -4002,7 +4002,6 @@ role="presentation"/> @@ -4040,25 +4039,14 @@ this.style.MozUserFocus = ''; - + - - this.style.MozUserFocus = 'ignore'; - this.clientTop; - - - this.style.MozUserFocus = 'ignore'; - this.clientTop; - this.style.MozUserFocus = ''; diff --git a/browser/themes/winstripe/browser/browser.css b/browser/themes/winstripe/browser/browser.css index 130a6c5c3d5d..7ade136dac25 100644 --- a/browser/themes/winstripe/browser/browser.css +++ b/browser/themes/winstripe/browser/browser.css @@ -1868,10 +1868,6 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action- -moz-image-region: rect(0, 16px, 16px, 0); } -.tab-close-button:focus { - outline: none !important; -} - /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */ @media all and (-moz-touch-enabled) {