Bug 1379869 - Remove unnecessary styling for doorhanger anchor. r=lchang draft
authorsteveck-chung <schung@mozilla.com>
Tue, 11 Jul 2017 11:34:55 +0800
changeset 606565 fcf03053f53c599bc694a2bd95106f6d9cdd981f
parent 605863 a418121d46250f91728b86d9eea331029c264c30
child 636791 6fc947b67e489116826c5ed37f572925f56f6b02
push id67725
push userbmo:schung@mozilla.com
push dateTue, 11 Jul 2017 03:35:24 +0000
reviewerslchang
bugs1379869
milestone56.0a1
Bug 1379869 - Remove unnecessary styling for doorhanger anchor. r=lchang MozReview-Commit-ID: GL8KeDxO7Ul
browser/extensions/formautofill/FormAutofillDoorhanger.jsm
--- 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