summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2018-03-08 15:26:34 +0000
committerJan Beich <jbeich@FreeBSD.org>2018-03-08 15:26:34 +0000
commit20701fffe3af9e0c8cdd749b080885446d8994d2 (patch)
tree360b9af88f09c2e61c7d31cb79d8ad23347a7216
parentdevel/tclreadline: update to 2.3.0 (diff)
www/firefox: fix <select> styling
-rw-r--r--www/firefox/Makefile2
-rw-r--r--www/firefox/files/patch-bug144408317
-rw-r--r--www/waterfox/Makefile2
-rw-r--r--www/waterfox/files/patch-bug144408317
4 files changed, 36 insertions, 2 deletions
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index e62915fa7c38..d64b8d15fc6b 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -3,7 +3,7 @@
PORTNAME= firefox
DISTVERSION= 59.0
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= www ipv6
MASTER_SITES= https://hg.mozilla.org/releases/mozilla-release/archive/
diff --git a/www/firefox/files/patch-bug1444083 b/www/firefox/files/patch-bug1444083
new file mode 100644
index 000000000000..9163fe84acb6
--- /dev/null
+++ b/www/firefox/files/patch-bug1444083
@@ -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);
diff --git a/www/waterfox/Makefile b/www/waterfox/Makefile
index 5ad1c2911f43..b6cb70b5a29c 100644
--- a/www/waterfox/Makefile
+++ b/www/waterfox/Makefile
@@ -3,7 +3,7 @@
PORTNAME= waterfox
DISTVERSION= 56.0.4-36
DISTVERSIONSUFFIX= -g79492ecca478
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www ipv6
MAINTAINER= jbeich@FreeBSD.org
diff --git a/www/waterfox/files/patch-bug1444083 b/www/waterfox/files/patch-bug1444083
new file mode 100644
index 000000000000..9163fe84acb6
--- /dev/null
+++ b/www/waterfox/files/patch-bug1444083
@@ -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);