зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1311257 - Update comment refering to bug 1311257. r=birtles
MozReview-Commit-ID: EM1dYILDlzS --HG-- extra : rebase_source : 4b47c821c0d07261a13d58fda2b9bcc0f4bc2970
This commit is contained in:
Родитель
50ce1998ae
Коммит
862f50057c
|
@ -595,7 +595,7 @@ GetMinAndMaxScaleForAnimationProperty(const nsIFrame* aFrame,
|
|||
// will be used on the compositor.
|
||||
StyleAnimationValue baseStyle = effect->BaseStyle(prop.mProperty);
|
||||
if (!baseStyle.IsNull()) {
|
||||
// FIXME: Bug 1311257: We need to get the baseStyle for
|
||||
// FIXME: Bug 1334036: We need to get the baseStyle for
|
||||
// RawServoAnimationValue.
|
||||
UpdateMinMaxScale(aFrame, { baseStyle, nullptr }, aMinScale, aMaxScale);
|
||||
}
|
||||
|
|
|
@ -558,7 +558,7 @@ AddAnimationForProperty(nsIFrame* aFrame, const AnimationProperty& aProperty,
|
|||
StyleAnimationValue baseStyle =
|
||||
aAnimation->GetEffect()->AsKeyframeEffect()->BaseStyle(aProperty.mProperty);
|
||||
if (!baseStyle.IsNull()) {
|
||||
// FIXME: Bug 1311257: We need to get the baseValue for
|
||||
// FIXME: Bug 1334036: We need to get the baseValue for
|
||||
// RawServoAnimationValue.
|
||||
SetAnimatable(aProperty.mProperty,
|
||||
{ baseStyle, nullptr },
|
||||
|
|
|
@ -536,7 +536,7 @@ public:
|
|||
bool aInDocWithShell)
|
||||
{
|
||||
MOZ_ASSERT(!aStyleSet->IsServo(),
|
||||
"Bug 1311257: Servo backend does not support the base value yet");
|
||||
"Servo backend should not use this function");
|
||||
MOZ_ASSERT(mAnimationFlag == nsComputedDOMStyle::eWithoutAnimation,
|
||||
"AnimationFlag should be eWithoutAnimation");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче