mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 11:57:32 +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("rgb") ||
|
||||||
tk->mIdent.LowerCaseEqualsLiteral("hsl") ||
|
tk->mIdent.LowerCaseEqualsLiteral("hsl") ||
|
||||||
tk->mIdent.LowerCaseEqualsLiteral("rgba") ||
|
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
|
// Put token back so that parse color can get it
|
||||||
UngetToken();
|
UngetToken();
|
||||||
|
|
|
||||||
|
|
@ -804,7 +804,7 @@ public:
|
||||||
MOZ_ASSERT(mUnit == eCSSUnit_ComplexColor);
|
MOZ_ASSERT(mUnit == eCSSUnit_ComplexColor);
|
||||||
return mValue.mComplexColor->ToComplexColor();
|
return mValue.mComplexColor->ToComplexColor();
|
||||||
}
|
}
|
||||||
|
|
||||||
Array* GetArrayValue() const
|
Array* GetArrayValue() const
|
||||||
{
|
{
|
||||||
MOZ_ASSERT(UnitHasArrayValue(), "not an array value");
|
MOZ_ASSERT(UnitHasArrayValue(), "not an array value");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue