зеркало из https://github.com/mozilla/gecko-dev.git
Bug 535850: fix random orange in SMIL mochitest, test_animLengthReadonly.xhtml, by adding initial pause & seek-to-0. (test-only fix)
This commit is contained in:
Родитель
6a765dabd8
Коммит
0b1058cb81
|
@ -34,6 +34,10 @@ var circle = document.getElementById('circle');
|
|||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
function main() {
|
||||
// Start out paused at beginning of timeline
|
||||
svg.pauseAnimations();
|
||||
svg.setCurrentTime(0);
|
||||
|
||||
// Sanity check: check initial values
|
||||
is(circle.cx.baseVal.value, -100);
|
||||
is(circle.cx.animVal.value, -100);
|
||||
|
@ -47,7 +51,6 @@ function main() {
|
|||
"(1) animVal cy is editable when not animated");
|
||||
|
||||
// Skip to mid-way through the animation
|
||||
svg.pauseAnimations();
|
||||
svg.setCurrentTime(4);
|
||||
|
||||
// (2): Check that whilst animations are active the animVal's are readonly
|
||||
|
|
Загрузка…
Ссылка в новой задаче