Bug 1179752 - Location bar bottom border shouldn't be displayed next to the autocomplete pop-up. r=jaws, a=lmandel
authorDão Gottwald <dao@mozilla.com>
Sun, 26 Jul 2015 12:56:43 +0200
changeset 273950 5ab9b3205dd11bc61412d88077c836a27e53cb1a
parent 273949 ead679254aa68df3468d24867eae73c4f0706a4c
child 273951 4a07d8bd97c8bf7dc0681534ca39a045197e8837
push id4913
push userryanvm@gmail.com
push dateMon, 27 Jul 2015 20:50:12 +0000
treeherdermozilla-beta@535b6bb28d80 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws, lmandel
bugs1179752
milestone40.0
Bug 1179752 - Location bar bottom border shouldn't be displayed next to the autocomplete pop-up. r=jaws, a=lmandel
browser/themes/windows/browser.css
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -1187,16 +1187,21 @@ toolbarbutton[constrain-size="true"][cui
   background-clip: padding-box;
   border: 1px solid ThreeDShadow;
 }
 
 #urlbar {
   -moz-padding-end: 2px;
 }
 
+/* overlap the urlbar's border */
+#PopupAutoCompleteRichResult {
+  margin-top: -1px;
+}
+
 @media (-moz-os-version: windows-xp),
        (-moz-os-version: windows-vista),
        (-moz-os-version: windows-win7) {
   #urlbar,
   .searchbar-textbox {
     border-radius: 2px;
   }
 }
@@ -1230,16 +1235,21 @@ toolbarbutton[constrain-size="true"][cui
     .searchbar-textbox:not(:-moz-lwtheme):hover {
       border-color: hsl(0,0%,80%);
     }
 
     #urlbar:not(:-moz-lwtheme)[focused],
     .searchbar-textbox:not(:-moz-lwtheme)[focused] {
       box-shadow: 0 0 0 1px Highlight inset;
     }
+
+    /* overlap the urlbar's border and inset box-shadow */
+    #PopupAutoCompleteRichResult:not(:-moz-lwtheme) {
+      margin-top: -2px;
+    }
   }
 
   @media not all and (-moz-os-version: windows-xp) {
     #urlbar:not(:-moz-lwtheme)[focused],
     .searchbar-textbox:not(:-moz-lwtheme)[focused] {
       border-color: Highlight;
     }
   }