Bug 1584350 - Hide urlbarView overflow. r=mak
authorDão Gottwald <dao@mozilla.com>
Sun, 06 Oct 2019 15:43:32 +0000
changeset 496516 940605c0ca8a00b023d568b4940844c314af3a30
parent 496515 ef1337991836096864a3295567d0b2e79933c04b
child 496517 0ef0c5a2e38a7e62573018b3f4049279fe9b5b12
push id97294
push userdgottwald@mozilla.com
push dateMon, 07 Oct 2019 12:22:25 +0000
treeherderautoland@940605c0ca8a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmak
bugs1584350
milestone71.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 1584350 - Hide urlbarView overflow. r=mak Differential Revision: https://phabricator.services.mozilla.com/D48278
browser/themes/shared/urlbar-autocomplete.inc.css
--- a/browser/themes/shared/urlbar-autocomplete.inc.css
+++ b/browser/themes/shared/urlbar-autocomplete.inc.css
@@ -39,16 +39,17 @@
   --in-content-button-background-hover: rgba(249, 249, 250, 0.15);
   --in-content-button-background-active: rgba(249, 249, 250, 0.2);
 }
 
 .urlbarView {
   /* Don't handle window drag events in case we are overlapping a toolbar */
   -moz-window-dragging: no-drag;
   text-shadow: none;
+  overflow: -moz-hidden-unscrollable;
 }
 
 .urlbarView.megabar {
   margin-inline: @urlbarViewHorizontalMargin@;
   width: calc(100% - 2 * @urlbarViewHorizontalMargin@);
   /* Match urlbar-background's border. */
   border-inline: 1px solid transparent;
 }