Bug 537852 followup B: Pause before seeking, in syncbase reftests. r=birtles
@ -2,9 +2,10 @@
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
class="reftest-wait"
|
||||
onload="
|
||||
document.documentElement.pauseAnimations();
|
||||
document.documentElement.setCurrentTime(1.5);
|
||||
document.getElementById('a').removeAttribute('begin');
|
||||
setTimeAndSnapshot(2, true)">
|
||||
setTimeAndSnapshot(2, false)">
|
||||
<script xlink:href="../smil-util.js" type="text/javascript"/>
|
||||
<!--
|
||||
Deleting the begin spec whilst the element is active should not cause
|
||||
|
Before Width: | Height: | Size: 751 B After Width: | Height: | Size: 804 B |
@ -2,9 +2,10 @@
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
class="reftest-wait"
|
||||
onload="
|
||||
document.documentElement.pauseAnimations();
|
||||
document.documentElement.setCurrentTime(1.2);
|
||||
document.getElementById('a').removeAttribute('begin');
|
||||
setTimeAndSnapshot(2, true)">
|
||||
setTimeAndSnapshot(2, false)">
|
||||
<script xlink:href="../smil-util.js" type="text/javascript"/>
|
||||
<!--
|
||||
Deleting the begin spec whilst the syncbase element is active should not
|
||||
|
Before Width: | Height: | Size: 826 B After Width: | Height: | Size: 879 B |
@ -2,9 +2,10 @@
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
class="reftest-wait"
|
||||
onload="
|
||||
document.documentElement.pauseAnimations();
|
||||
document.documentElement.setCurrentTime(1.2);
|
||||
document.getElementById('a').setAttribute('begin', '0s');
|
||||
setTimeAndSnapshot(2, true)">
|
||||
setTimeAndSnapshot(2, false)">
|
||||
<script xlink:href="../smil-util.js" type="text/javascript"/>
|
||||
<!--
|
||||
Changing the begin spec whilst the syncbase element is active should not
|
||||
|
Before Width: | Height: | Size: 829 B After Width: | Height: | Size: 882 B |
@ -2,9 +2,10 @@
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
class="reftest-wait"
|
||||
onload="
|
||||
document.documentElement.pauseAnimations();
|
||||
document.documentElement.setCurrentTime(0);
|
||||
document.getElementById('a').beginElementAt(1);
|
||||
setTimeAndSnapshot(2, true)">
|
||||
setTimeAndSnapshot(2, false)">
|
||||
<script xlink:href="../smil-util.js" type="text/javascript"/>
|
||||
<!--
|
||||
We'll add another begin instance time at t=1s for 'a' by script, causing a
|
||||
|
Before Width: | Height: | Size: 744 B After Width: | Height: | Size: 797 B |
@ -2,9 +2,10 @@
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
class="reftest-wait"
|
||||
onload="
|
||||
document.documentElement.pauseAnimations();
|
||||
document.documentElement.setCurrentTime(0);
|
||||
document.getElementById('a').endElementAt(1);
|
||||
setTimeAndSnapshot(2, true)">
|
||||
setTimeAndSnapshot(2, false)">
|
||||
<script xlink:href="../smil-util.js" type="text/javascript"/>
|
||||
<!--
|
||||
We'll add another end instance time at t=1s for a by script, causing a
|
||||
|
Before Width: | Height: | Size: 736 B After Width: | Height: | Size: 789 B |
@ -2,9 +2,10 @@
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
class="reftest-wait"
|
||||
onload="
|
||||
document.documentElement.pauseAnimations();
|
||||
document.documentElement.setCurrentTime(0);
|
||||
document.getElementById('a').removeAttribute('begin');
|
||||
setTimeAndSnapshot(2, true)">
|
||||
setTimeAndSnapshot(2, false)">
|
||||
<script xlink:href="../smil-util.js" type="text/javascript"/>
|
||||
<!--
|
||||
Changing the begin attribute by script should cause a change notice to be
|
||||
|
Before Width: | Height: | Size: 730 B After Width: | Height: | Size: 783 B |
@ -2,9 +2,10 @@
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
class="reftest-wait"
|
||||
onload="
|
||||
document.documentElement.pauseAnimations();
|
||||
document.documentElement.setCurrentTime(0);
|
||||
document.getElementById('a').beginElementAt(1);
|
||||
setTimeAndSnapshot(2, true)">
|
||||
setTimeAndSnapshot(2, false)">
|
||||
<script xlink:href="../smil-util.js" type="text/javascript"/>
|
||||
<!--
|
||||
Test that cycles don't cause problems for change notices as well.
|
||||
|
Before Width: | Height: | Size: 726 B After Width: | Height: | Size: 779 B |
@ -2,9 +2,10 @@
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
class="reftest-wait"
|
||||
onload="
|
||||
document.documentElement.pauseAnimations();
|
||||
document.documentElement.setCurrentTime(0);
|
||||
document.getElementById('a').setAttribute('end', '0s');
|
||||
setTimeAndSnapshot(2, true)">
|
||||
setTimeAndSnapshot(2, false)">
|
||||
<script xlink:href="../smil-util.js" type="text/javascript"/>
|
||||
<!--
|
||||
Test that cycles don't cause problems for deleted intervals.
|
||||
|
Before Width: | Height: | Size: 718 B After Width: | Height: | Size: 771 B |
@ -2,9 +2,10 @@
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
class="reftest-wait"
|
||||
onload="
|
||||
document.documentElement.pauseAnimations();
|
||||
document.documentElement.setCurrentTime(0);
|
||||
document.getElementById('a').removeAttribute('dur');
|
||||
setTimeAndSnapshot(2, true)">
|
||||
setTimeAndSnapshot(2, false)">
|
||||
<script xlink:href="../smil-util.js" type="text/javascript"/>
|
||||
<!--
|
||||
A cycle that is valid at first but then becomes invalid.
|
||||
|
Before Width: | Height: | Size: 1003 B After Width: | Height: | Size: 1.0 KiB |
@ -2,9 +2,10 @@
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
class="reftest-wait"
|
||||
onload="
|
||||
document.documentElement.pauseAnimations();
|
||||
document.documentElement.setCurrentTime(0);
|
||||
document.getElementById('c').setAttribute('dur', '1s');
|
||||
setTimeAndSnapshot(2, true)">
|
||||
setTimeAndSnapshot(2, false)">
|
||||
<script xlink:href="../smil-util.js" type="text/javascript"/>
|
||||
<!--
|
||||
Based on Example 2 from SMIL3, an invalid cycle, but made valid by a DOM
|
||||
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.1 KiB |
@ -2,9 +2,10 @@
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
class="reftest-wait"
|
||||
onload="
|
||||
document.documentElement.pauseAnimations();
|
||||
document.documentElement.setCurrentTime(0);
|
||||
document.getElementById('c').removeAttribute('dur');
|
||||
setTimeAndSnapshot(2, true)">
|
||||
setTimeAndSnapshot(2, false)">
|
||||
<script xlink:href="../smil-util.js" type="text/javascript"/>
|
||||
<!--
|
||||
At first we have:
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
@ -2,9 +2,10 @@
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
class="reftest-wait"
|
||||
onload="
|
||||
document.documentElement.pauseAnimations();
|
||||
document.documentElement.setCurrentTime(0);
|
||||
document.getElementById('a').setAttribute('end', '0s');
|
||||
setTimeAndSnapshot(2, true)">
|
||||
setTimeAndSnapshot(2, false)">
|
||||
<script xlink:href="../smil-util.js" type="text/javascript"/>
|
||||
<!--
|
||||
A simple case of a deleting interval.
|
||||
|
Before Width: | Height: | Size: 823 B After Width: | Height: | Size: 876 B |
@ -2,9 +2,10 @@
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
class="reftest-wait"
|
||||
onload="
|
||||
document.documentElement.pauseAnimations();
|
||||
document.documentElement.setCurrentTime(0.75);
|
||||
document.getElementById('a').setAttribute('restart', 'never');
|
||||
setTimeAndSnapshot(2, true)">
|
||||
setTimeAndSnapshot(2, false)">
|
||||
<script xlink:href="../smil-util.js" type="text/javascript"/>
|
||||
<!--
|
||||
A simple case of a deleting interval.
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.2 KiB |
@ -2,9 +2,10 @@
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
class="reftest-wait"
|
||||
onload="
|
||||
document.documentElement.pauseAnimations();
|
||||
document.documentElement.setCurrentTime(0.25);
|
||||
document.getElementById('a').setAttribute('restart', 'never');
|
||||
setTimeAndSnapshot(2, true)">
|
||||
setTimeAndSnapshot(2, false)">
|
||||
<script xlink:href="../smil-util.js" type="text/javascript"/>
|
||||
<!--
|
||||
As with deleted-interval-simple-2.svg but this time we should get the
|
||||
|
Before Width: | Height: | Size: 813 B After Width: | Height: | Size: 866 B |
@ -2,9 +2,10 @@
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
class="reftest-wait"
|
||||
onload="
|
||||
document.documentElement.pauseAnimations();
|
||||
document.documentElement.setCurrentTime(0);
|
||||
document.getElementById('a').beginElementAt(0.5);
|
||||
setTimeAndSnapshot(2, true)">
|
||||
setTimeAndSnapshot(2, false)">
|
||||
<script xlink:href="../smil-util.js" type="text/javascript"/>
|
||||
<!--
|
||||
A simple case of a deleting interval.
|
||||
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.1 KiB |
@ -2,9 +2,10 @@
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
class="reftest-wait"
|
||||
onload="
|
||||
document.documentElement.pauseAnimations();
|
||||
document.documentElement.setCurrentTime(0);
|
||||
document.getElementById('a').removeAttribute('dur');
|
||||
setTimeAndSnapshot(2, true)">
|
||||
setTimeAndSnapshot(2, false)">
|
||||
<script xlink:href="../smil-util.js" type="text/javascript"/>
|
||||
<!--
|
||||
A case of a changing interval that causes another interval to have an
|
||||
|
Before Width: | Height: | Size: 761 B After Width: | Height: | Size: 814 B |
@ -2,9 +2,10 @@
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
class="reftest-wait"
|
||||
onload="
|
||||
document.documentElement.pauseAnimations();
|
||||
document.documentElement.setCurrentTime(1.5);
|
||||
document.getElementById('a').setAttribute('begin', '3s');
|
||||
setTimeAndSnapshot(2, true)">
|
||||
setTimeAndSnapshot(2, false)">
|
||||
<script xlink:href="../smil-util.js" type="text/javascript"/>
|
||||
<!--
|
||||
Tests that when we create an interval we freeze the begin time once it has
|
||||
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.1 KiB |
@ -2,9 +2,10 @@
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
class="reftest-wait"
|
||||
onload="
|
||||
document.documentElement.pauseAnimations();
|
||||
document.documentElement.setCurrentTime(0);
|
||||
document.getElementById('b').setAttribute('end', 'a.begin');
|
||||
setTimeAndSnapshot(2, true)">
|
||||
setTimeAndSnapshot(2, false)">
|
||||
<script xlink:href="../smil-util.js" type="text/javascript"/>
|
||||
<!--
|
||||
Test of animation sandwich priority based on syncbase dependencies.
|
||||
|
Before Width: | Height: | Size: 1006 B After Width: | Height: | Size: 1.0 KiB |
@ -2,9 +2,10 @@
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
class="reftest-wait"
|
||||
onload="
|
||||
document.documentElement.pauseAnimations();
|
||||
document.documentElement.setCurrentTime(0);
|
||||
document.getElementById('b').setAttribute('begin', 'a.begin');
|
||||
setTimeAndSnapshot(2, true)">
|
||||
setTimeAndSnapshot(2, false)">
|
||||
<script xlink:href="../smil-util.js" type="text/javascript"/>
|
||||
<!--
|
||||
Test of animation sandwich priority based on syncbase dependencies.
|
||||
|
Before Width: | Height: | Size: 1006 B After Width: | Height: | Size: 1.0 KiB |
@ -2,9 +2,10 @@
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
class="reftest-wait"
|
||||
onload="
|
||||
document.documentElement.pauseAnimations();
|
||||
document.documentElement.setCurrentTime(0);
|
||||
document.getElementById('b').setAttribute('begin', 'a.begin');
|
||||
setTimeAndSnapshot(2, true)">
|
||||
setTimeAndSnapshot(2, false)">
|
||||
<script xlink:href="../smil-util.js" type="text/javascript"/>
|
||||
<!--
|
||||
Test of animation sandwich priority based on syncbase dependencies.
|
||||
|
Before Width: | Height: | Size: 783 B After Width: | Height: | Size: 834 B |