From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../resources/content/autocomplete.css | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 xpfe/components/autocomplete/resources/content/autocomplete.css (limited to 'xpfe/components/autocomplete/resources/content/autocomplete.css') diff --git a/xpfe/components/autocomplete/resources/content/autocomplete.css b/xpfe/components/autocomplete/resources/content/autocomplete.css new file mode 100644 index 000000000..6c67bad2e --- /dev/null +++ b/xpfe/components/autocomplete/resources/content/autocomplete.css @@ -0,0 +1,46 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + + +.autocomplete-result-popupset { + width: 0 !important; +} + +.autocomplete-result-popup { + display: -moz-popup !important; +} + +/* the C++ implementation of widgets is too eager to make popups visible. + this causes problems (bug 120155 and others), thus this workaround: */ +.autocomplete-result-popup[hidden="true"] { + visibility: hidden; +} + +.autocomplete-tree { + -moz-user-focus: ignore; +} + +.autocomplete-history-dropmarker { + display: none; +} + +.autocomplete-history-dropmarker[enablehistory="true"] { + display: -moz-box; +} + +/* The following rule is here to fix bug 96899 (and now 117952). + Somehow trees create a situation + in which a popupset flows itself as if its popup child is directly within it + instead of the placeholder child that should actually be inside the popupset. + This is a stopgap measure, and it does not address the real bug. */ +popupset { + max-width: 0px; + width: 0px; + min-width: 0%; + min-height: 0%; +} + +treecolpicker { + display: none; +} -- cgit v1.2.3