Bug 1444083 - Disable custom styling for <select> and <option> on Tier3 as well. r?jaws draft
authorJan Beich <jbeich@FreeBSD.org>
Thu, 08 Mar 2018 14:40:44 +0000
changeset 764850 aaa9d66186350d326a28f4ae5153e751f33f2bb1
parent 764847 9f34818be122db0fee22e9e66e2f9d3f357cb94d
push id101876
push userbmo:jbeich@FreeBSD.org
push dateThu, 08 Mar 2018 14:42:39 +0000
reviewersjaws
bugs1444083
milestone60.0a1
Bug 1444083 - Disable custom styling for <select> and <option> on Tier3 as well. r?jaws MozReview-Commit-ID: DUlq3hsBRfg
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1354,18 +1354,18 @@ pref("dom.forms.datetime.others", false)
 pref("dom.forms.datetime.timepicker", false);
 
 // Support @autocomplete values for form autofill feature.
 pref("dom.forms.autocomplete.formautofill", false);
 
 // Enable search in <select> dropdowns (more than 40 options)
 pref("dom.forms.selectSearch", false);
 // Allow for webpages to provide custom styling for <select>
-// popups. Disabled on Linux due to bug 1338283.
-#ifdef XP_LINUX
+// popups. Disabled on GTK due to bug 1338283.
+#ifdef MOZ_WIDGET_GTK
 pref("dom.forms.select.customstyling", false);
 #else
 pref("dom.forms.select.customstyling", true);
 #endif
 pref("dom.select_popup_in_parent.enabled", false);
 // Bug 1421229 - content-select
 pref("dom.select_popup_in_content.enabled", false);