зеркало из https://github.com/mozilla/gecko-dev.git
Bug 678822: Skip call to nsSMILAnimationFunction::GetAccumulate() if we've had parse errors. r=birtles
This commit is contained in:
Родитель
66538a572b
Коммит
e2a4105660
|
@ -0,0 +1,3 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<animate repeatCount="2" dur="1s" accumulate="1" />
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 102 B |
|
@ -38,3 +38,4 @@ load 665334-1.svg
|
|||
load 669225-1.svg
|
||||
load 670313-1.svg
|
||||
load 669225-2.svg
|
||||
load 678822-1.svg
|
||||
|
|
|
@ -187,7 +187,9 @@ nsSMILAnimationFunction::SampleAt(nsSMILTime aSampleTime,
|
|||
!IsValueFixedForSimpleDuration();
|
||||
|
||||
// Are we on a new repeat and accumulating across repeats?
|
||||
mHasChanged |= (mRepeatIteration != aRepeatIteration) && GetAccumulate();
|
||||
if (!mErrorFlags) { // (can't call GetAccumulate() if we've had parse errors)
|
||||
mHasChanged |= (mRepeatIteration != aRepeatIteration) && GetAccumulate();
|
||||
}
|
||||
|
||||
mSampleTime = aSampleTime;
|
||||
mSimpleDuration = aSimpleDuration;
|
||||
|
|
Загрузка…
Ссылка в новой задаче