mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 04:17:31 +09:00
css: follow-up Issue #2112 of Servo removal
This commit is contained in:
parent
a944026bae
commit
1577c24777
1 changed files with 0 additions and 10 deletions
|
|
@ -59,12 +59,6 @@ CSS::Supports(const GlobalObject& aGlobal,
|
|||
return false;
|
||||
}
|
||||
|
||||
if (info.mStyleBackendType == StyleBackendType::Servo) {
|
||||
NS_ConvertUTF16toUTF8 property(aProperty);
|
||||
NS_ConvertUTF16toUTF8 value(aValue);
|
||||
return Servo_CSSSupports(&property, &value);
|
||||
}
|
||||
|
||||
nsCSSParser parser;
|
||||
return parser.EvaluateSupportsDeclaration(aProperty, aValue, info.mDocURI,
|
||||
info.mBaseURI, info.mPrincipal);
|
||||
|
|
@ -83,10 +77,6 @@ CSS::Supports(const GlobalObject& aGlobal,
|
|||
return false;
|
||||
}
|
||||
|
||||
if (info.mStyleBackendType == StyleBackendType::Servo) {
|
||||
MOZ_CRASH("stylo: CSS.supports() with arguments is not yet implemented");
|
||||
}
|
||||
|
||||
nsCSSParser parser;
|
||||
return parser.EvaluateSupportsCondition(aCondition, info.mDocURI,
|
||||
info.mBaseURI, info.mPrincipal);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue