mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
www/firefox: fix <select> styling
This commit is contained in:
parent
53a4ee599a
commit
20701fffe3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463893
4 changed files with 36 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= firefox
|
PORTNAME= firefox
|
||||||
DISTVERSION= 59.0
|
DISTVERSION= 59.0
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= www ipv6
|
CATEGORIES= www ipv6
|
||||||
MASTER_SITES= https://hg.mozilla.org/releases/mozilla-release/archive/
|
MASTER_SITES= https://hg.mozilla.org/releases/mozilla-release/archive/
|
||||||
|
|
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
|
PORTNAME= waterfox
|
||||||
DISTVERSION= 56.0.4-36
|
DISTVERSION= 56.0.4-36
|
||||||
DISTVERSIONSUFFIX= -g79492ecca478
|
DISTVERSIONSUFFIX= -g79492ecca478
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= www ipv6
|
CATEGORIES= www ipv6
|
||||||
|
|
||||||
MAINTAINER= jbeich@FreeBSD.org
|
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…
Add table
Reference in a new issue