Bug 1379869 - Remove unnecessary styling for doorhanger anchor. r=lchang
MozReview-Commit-ID: GL8KeDxO7Ul
--- a/browser/extensions/formautofill/FormAutofillDoorhanger.jsm
+++ b/browser/extensions/formautofill/FormAutofillDoorhanger.jsm
@@ -160,18 +160,16 @@ let FormAutofillDoorhanger = {
chromeDoc.getElementById("notification-popup-box");
// Icon shown on URL bar
let anchorElement = chromeDoc.createElement("image");
anchorElement.id = id;
anchorElement.setAttribute("src", URL);
anchorElement.classList.add("notification-anchor-icon");
anchorElement.setAttribute("role", "button");
anchorElement.setAttribute("tooltiptext", tooltiptext);
- anchorElement.style.setProperty("-moz-context-properties", "fill");
- anchorElement.style.fill = "currentcolor";
notificationPopupBox.appendChild(anchorElement);
}
},
/**
* Show different types of doorhanger by leveraging PopupNotifications.
* @param {XULElement} browser
* Target browser element for showing doorhanger.
* @param {string} type