summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-08-18 12:17:17 +0000
committerGitHub <noreply@github.com>2020-08-18 12:17:17 +0000
commit7ca7fe802e62eb1e361f54b165a102b042e8c1f3 (patch)
tree074718a27d8e292409cc9f46199c78523e8809b2 /modules
parent56f8262c8e4e84e9d6b0d6da72ab39cd8e0b2751 (diff)
parent2372e190256bef645b5dddb6af9b0c1ee14cf846 (diff)
downloadUXP-7ca7fe802e62eb1e361f54b165a102b042e8c1f3.tar
UXP-7ca7fe802e62eb1e361f54b165a102b042e8c1f3.tar.gz
UXP-7ca7fe802e62eb1e361f54b165a102b042e8c1f3.tar.lz
UXP-7ca7fe802e62eb1e361f54b165a102b042e8c1f3.tar.xz
UXP-7ca7fe802e62eb1e361f54b165a102b042e8c1f3.zip
Merge pull request #1632 from athenian200/link_element_disabled
Respond to disabled attribute set on <link> elements from HTML
Diffstat (limited to 'modules')
-rw-r--r--modules/libpref/init/all.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index d4b86731d..2a50d3704 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1185,6 +1185,14 @@ pref("dom.storage.default_quota", 5120);
pref("dom.send_after_paint_to_content", false);
+// Whether the disabled attribute in HTMLLinkElement disables the sheet loading
+// altogether, or forwards to the inner stylesheet method without attribute
+// reflection.
+//
+// Historical behavior is the second, the first is being discussed at:
+// https://github.com/whatwg/html/issues/3840
+pref("dom.link.disabled_attribute.enabled", true);
+
// Timeout clamp in ms for timeouts we clamp
pref("dom.min_timeout_value", 4);
// And for background windows