mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 03:47:31 +09:00
Issue #1826 - Support calc() in media queries
This commit is contained in:
parent
19e946c77e
commit
adde59de74
3 changed files with 14 additions and 5 deletions
|
|
@ -3998,7 +3998,7 @@ CSSParserImpl::ParseMediaQueryExpression(nsMediaQuery* aQuery)
|
|||
bool rv = false;
|
||||
switch (feature->mValueType) {
|
||||
case nsMediaFeature::eLength:
|
||||
rv = ParseSingleTokenNonNegativeVariant(expr->mValue, VARIANT_LENGTH,
|
||||
rv = ParseSingleTokenNonNegativeVariant(expr->mValue, VARIANT_LCALC,
|
||||
nullptr);
|
||||
break;
|
||||
case nsMediaFeature::eInteger:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue