Bug 1179752 - Location bar bottom border shouldn't be displayed next to the autocomplete pop-up. r=jaws
authorDão Gottwald <dao@mozilla.com>
Sun, 26 Jul 2015 12:56:43 +0200
changeset 286361 30537bac6136964c608d8aefa043db51cf109b2f
parent 286360 39ba9a407b240fe83b68e4c4a136086be2b6d1c4
child 286362 c6a3767c30fc845c43988b1870ed343430fe40b3
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1179752
milestone42.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1179752 - Location bar bottom border shouldn't be displayed next to the autocomplete pop-up. r=jaws
browser/themes/windows/browser.css
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -1198,16 +1198,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;
   }
 }
@@ -1241,16 +1246,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;
     }
   }