MFH: r463893
www/firefox: fix <select> styling Approved by: ports-secteam blanket
This commit is contained in:
parent
0dabe6d38c
commit
0a2086c4a9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2018Q1/; revision=464684
3 changed files with 35 additions and 1 deletions
17
www/firefox/files/patch-bug1444083
Normal file
17
www/firefox/files/patch-bug1444083
Normal file
|
@ -0,0 +1,17 @@
|
|||
Disable custom styling for <select> and <option> on Tier3 as well
|
||||
|
||||
diff --git modules/libpref/init/all.js modules/libpref/init/all.js
|
||||
index 322d009da739..06e2fd7f664a 100644
|
||||
--- modules/libpref/init/all.js
|
||||
+++ modules/libpref/init/all.js
|
||||
@@ -1359,8 +1359,8 @@ 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);
|
|
@ -3,7 +3,7 @@
|
|||
PORTNAME= waterfox
|
||||
DISTVERSION= 56.0.4-36
|
||||
DISTVERSIONSUFFIX= -g79492ecca478
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= www ipv6
|
||||
|
||||
MAINTAINER= jbeich@FreeBSD.org
|
||||
|
|
17
www/waterfox/files/patch-bug1444083
Normal file
17
www/waterfox/files/patch-bug1444083
Normal file
|
@ -0,0 +1,17 @@
|
|||
Disable custom styling for <select> and <option> on Tier3 as well
|
||||
|
||||
diff --git modules/libpref/init/all.js modules/libpref/init/all.js
|
||||
index 322d009da739..06e2fd7f664a 100644
|
||||
--- modules/libpref/init/all.js
|
||||
+++ modules/libpref/init/all.js
|
||||
@@ -1359,8 +1359,8 @@ 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);
|
Loading…
Reference in a new issue