From 7328341032288edd18b712090abde204ec21f7c7 Mon Sep 17 00:00:00 2001 From: Paolo Amadini Date: Thu, 26 Jul 2018 14:58:43 +0100 Subject: [PATCH] Bug 1473748 - Part 1 - Use the type of element instead of the "subviewbutton" and "subviewkeynav" classes to initialize the list of navigable elements. r=johannh MozReview-Commit-ID: IgxwGRNLsct --HG-- extra : rebase_source : edc897a0c0ac7a8b7b551759a8d69b7c3d3659d5 --- browser/base/content/browser-siteIdentity.js | 6 +++--- .../controlcenter/content/panel.inc.xul | 20 +++++++++---------- .../customizableui/PanelMultiView.jsm | 5 ++++- .../customizableui/content/panelUI.inc.xul | 1 - 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/browser/base/content/browser-siteIdentity.js b/browser/base/content/browser-siteIdentity.js index ca529b5ac125..c678c5e2b873 100644 --- a/browser/base/content/browser-siteIdentity.js +++ b/browser/base/content/browser-siteIdentity.js @@ -1023,7 +1023,7 @@ var gIdentityHandler = { let block = document.createElement("vbox"); block.setAttribute("id", "identity-popup-popup-container"); menulist.setAttribute("sizetopopup", "none"); - menulist.setAttribute("class", "identity-popup-popup-menulist subviewkeynav"); + menulist.setAttribute("class", "identity-popup-popup-menulist"); menulist.setAttribute("id", "identity-popup-popup-menulist"); for (let state of SitePermissions.getAvailableStates(aPermission.id)) { @@ -1090,7 +1090,7 @@ var gIdentityHandler = { } let button = document.createElement("button"); - button.setAttribute("class", "identity-popup-permission-remove-button subviewkeynav"); + button.setAttribute("class", "identity-popup-permission-remove-button"); let tooltiptext = gNavigatorBundle.getString("permissions.remove.tooltip"); button.setAttribute("tooltiptext", tooltiptext); button.addEventListener("command", () => { @@ -1146,7 +1146,7 @@ var gIdentityHandler = { let text = document.createElement("label"); text.setAttribute("flex", "1"); - text.setAttribute("class", "identity-popup-permission-label text-link subviewkeynav"); + text.setAttribute("class", "identity-popup-permission-label text-link"); let popupCount = gBrowser.selectedBrowser.blockedPopups.length; let messageBase = gNavigatorBundle.getString("popupShowBlockedPopupsIndicatorText"); diff --git a/browser/components/controlcenter/content/panel.inc.xul b/browser/components/controlcenter/content/panel.inc.xul index 1c7cf27a6528..de284d86ee7a 100644 --- a/browser/components/controlcenter/content/panel.inc.xul +++ b/browser/components/controlcenter/content/panel.inc.xul @@ -47,7 +47,7 @@