diff options
author | New Tobin Paradigm <mattatobin@no-reply.palemoon.org> | 2021-06-19 20:40:11 +0000 |
---|---|---|
committer | New Tobin Paradigm <mattatobin@no-reply.palemoon.org> | 2021-06-19 20:40:11 +0000 |
commit | 2c626f604620140462d52d5865d4beb0a9d11ae3 (patch) | |
tree | c52a7546ed441242f782153fd8656424b6b89b5b /layout/style | |
parent | a970411caf9b1951708efb4987733c6a4581454b (diff) | |
parent | 4dac05e0e0cc4ffd9359541cbfa909b928ae56c7 (diff) | |
download | uxp-2c626f604620140462d52d5865d4beb0a9d11ae3.tar.gz |
Merge pull request 'Support detecting bool preferences in chrome stylesheets' (#1785) from athenian200/UXP:bool-chrome-stylesheets into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1785
Diffstat (limited to 'layout/style')
-rw-r--r-- | layout/style/nsCSSParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/style/nsCSSParser.cpp b/layout/style/nsCSSParser.cpp index 0f1b04a178..9866dd09e8 100644 --- a/layout/style/nsCSSParser.cpp +++ b/layout/style/nsCSSParser.cpp @@ -4667,7 +4667,7 @@ CSSParserImpl::ParseSupportsConditionInParens(bool& aConditionMet) return true; } - if (AgentRulesEnabled() && + if ((AgentRulesEnabled() || ChromeRulesEnabled()) && mToken.mType == eCSSToken_Function && mToken.mIdent.LowerCaseEqualsLiteral("-moz-bool-pref")) { return ParseSupportsMozBoolPrefName(aConditionMet); |