mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Issue #2489: Include color-mix to avoid filtering
This commit is contained in:
parent
58d7206259
commit
6b938c48a5
2 changed files with 3 additions and 2 deletions
|
|
@ -8650,7 +8650,8 @@ CSSParserImpl::ParseVariant(nsCSSValue& aValue,
|
|||
(tk->mIdent.LowerCaseEqualsLiteral("rgb") ||
|
||||
tk->mIdent.LowerCaseEqualsLiteral("hsl") ||
|
||||
tk->mIdent.LowerCaseEqualsLiteral("rgba") ||
|
||||
tk->mIdent.LowerCaseEqualsLiteral("hsla"))))
|
||||
tk->mIdent.LowerCaseEqualsLiteral("hsla") ||
|
||||
tk->mIdent.LowerCaseEqualsLiteral("color-mix"))))
|
||||
{
|
||||
// Put token back so that parse color can get it
|
||||
UngetToken();
|
||||
|
|
|
|||
|
|
@ -804,7 +804,7 @@ public:
|
|||
MOZ_ASSERT(mUnit == eCSSUnit_ComplexColor);
|
||||
return mValue.mComplexColor->ToComplexColor();
|
||||
}
|
||||
|
||||
|
||||
Array* GetArrayValue() const
|
||||
{
|
||||
MOZ_ASSERT(UnitHasArrayValue(), "not an array value");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue