Bug 1319174 - Cleanup content vs. skin CSS separation for the insecure password field. r=mconley, a=jcristau
authorMatthew Noorenberghe <mozilla@noorenberghe.ca>
Mon, 21 Nov 2016 12:12:33 -0800
changeset 352583 2dd1d4a5ff557bb36aa34344e1761a9fab466e21
parent 352582 23c0cfd8ec2a65169cc9b7c37cc8cba88ecb717d
child 352584 bd65b8a42bfdd7b855142ad291389000ca9840bd
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley, jcristau
bugs1319174
milestone52.0a2
Bug 1319174 - Cleanup content vs. skin CSS separation for the insecure password field. r=mconley, a=jcristau MozReview-Commit-ID: 7yCJ4swuUq1
browser/base/content/browser.css
browser/themes/shared/autocomplete.inc.css
--- a/browser/base/content/browser.css
+++ b/browser/base/content/browser.css
@@ -501,22 +501,20 @@ toolbar:not(#TabsToolbar) > #personal-bo
 #PopupAutoComplete > richlistbox > richlistitem > .ac-separator,
 #PopupAutoComplete > richlistbox > richlistitem > .ac-url {
   display: none;
 }
 
 #PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"] {
   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-richlistitem-insecure-field");
   height: auto;
-  background-color: #F6F6F6;
 }
 
 #PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"] > .ac-site-icon {
   display: initial;
-  list-style-image: url(chrome://browser/skin/connection-mixed-active-loaded.svg#icon);
 }
 
 #PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"] > .ac-title > .ac-text-overflow-container > .ac-title-text {
   text-overflow: initial;
   white-space: initial;
 }
 
 #PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"] > .ac-title > label {
--- a/browser/themes/shared/autocomplete.inc.css
+++ b/browser/themes/shared/autocomplete.inc.css
@@ -15,8 +15,17 @@
 #PopupAutoComplete > richlistbox > richlistitem > .ac-title {
   font: icon;
   margin-inline-start: 6px;
 }
 
 #PopupAutoComplete > richlistbox {
   padding: 0;
 }
+
+/* Insecure field warning */
+#PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"] {
+  background-color: #F6F6F6; /* Bug 1319176 */
+}
+
+#PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"] > .ac-site-icon {
+  list-style-image: url(chrome://browser/skin/connection-mixed-active-loaded.svg#icon);
+}