The following testcases for the Transition Module features remain unchanged from the SMIL 2.0 Test Suite .
(The test cases remain the same, apart from having been updated with the SMIL 2.1 Namespace and DTD declaration).
SMIL Transition Module
(report template )
Test #
Feature Test (test file)
Expected Behavior
1
basic
1.1
TR-fadeColor-dir-and-modifiers
(smil ,
source )
Tests several transition options between two transitions.
#1 fade image in from red over 2s, then display image for 2s more.
#2 does a 2s left to right bar wipe.
#3 does a 2s right to left bar wipe.
#4 does a 3s 2x horizontal repeat iris wipe.
#5 does a 3s 3x vertical repeat iris wipe.
#6 does a 2s bar wipe with a 10px red border.
#7 tests transition fallback, and should show a 2s snake wipe.
1.2
TR-in-all
(smil ,
source )
Do all in-transitions between two images
1.3
TR-in-progress
(smil ,
source )
Do bar wipe in-transitions between two images
going from a startProgress of 0.0 to 0.50 by 0.10
and an endProgress of 1.00 to 0.50 by 0.10
1.6
TR-nme-in-diagonalWipe.
(smil ,
source )
Do a non-multielement diagonalWipe in-transition on three regions
1.7
TR-out-all
(smil ,
source )
Do all out-transitions on an image
1.8
TR-out-progress
(smil ,
source )
Do bar wipe out-transitions on an image going from a startProgress of 0.0
to 0.50 by 0.10 and an endProgress of 1.00 to 0.50 by 0.10
There is a 1s pause between each transition
2
transitionFilter
2.1
barWipe
transitionFilter
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Video and transition begin at 2s,
transition runs for dur of 6s and at 8s media is 10 visible.
Video has duration of 20s.
2.2
irisWipe
transitionFilter, calcMode="discrete", accumulate="sum", repeatDur
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media displayed.
At 3s the media jumps to 5 displayed.
The transition repeats at 6s and accumulates,
so that at 9s the media jumps to 10 visible.
Video duration is 20s.
2.3
clockWipe,
calcMode=discrete
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media displaye.
At 3s it jumps to the 2nd discrete value of 75% visible.
At 6s the transition ends and the media becomes 10 visible.
Duration of media is 20 seconds.
Transition will be type="clockWipe" subtype="clockwiseTwelve"
2.4
type="snakeWipe"
subtype="topLeftHorizontal"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media displayed,
become more visible over dur, freeze at 12s with media 10 visible.
Duration of media is 20 seconds.
2.5
repeatCount,
calcMode=linear, accumulate=sum
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media displayed,
become more visible over dur, hold at 12s with media 66.6% visible.
Duration of media is 20 seconds.
Transition will be type="barWipe" subtype="leftToRight"
2.6
accumulate="sum",
from=".66" to=".33", repeatDur="4"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media 66% displayed,
wipes to 33% visible over 2s. Transition repeats and accumulates so that
video jumps to 10 visible at 2s and wipes to 66% visible at 4s.
Duration of media is 8 seconds.
Transition will be type="barWipe" subtype="leftToRight"
2.7
transfilter_mode-default_from_to_additive-replace_calcMode-linear
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media displayed,
become more visible over dur, remove the effect at 6s with media 5 visible.
Duration of media is 20 seconds.
Transition will be type="snakeWipe"
2.8
from="1"
to="0"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media 10 displayed,
become less visible over dur, freeze at 6s with media visible.
Duration of media is 20 seconds.
Transition will be type="snakeWipe" subtype="topLeftHorizontal"
2.9
calcMode="discrete",
from="0", to="1"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media displayed,
At 3s the transition goes to the 2nd discrete state of 10 visible
Transition ends at 6s with media 10 visible.
Duration of media is 20 seconds.
2.10
type="irisWipe"
subtype="rectangle"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media displayed,
become more visible over dur, freeze at 6s with media 10 visible.
Duration of media is 20 seconds.
2.11
type="clockWipe",
from="1", to="0"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media 10 displayed,
become less visible over dur, remove the effect at 6s with media visible.
Duration of media is 20 seconds.
2.12
calcMode="linear",
repeatCount="2"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media displayed,
becomes 10 visible at 6s and repeats from to 10 ending at 12s.
Duration of media is 20 seconds.
Transition will be type="clockWipe" subtype="clockwiseTwelve"
2.13
calcMode="discrete",
values list, repeatCount="2"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media displayed,
goes through discrete values until it reaches 10 visible at 6s.
repeatCount has no visible effect since accumulate="sum".
Duration of media is 20 seconds.
Transition will be type="clockWipe"
2.14
calcMode="discrete",
accumulate="sum", repeatCount="2"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media displayed,
goes to 2nd discrete value of 33% at 3s. Transition repeats at 6s,
thus video is 66% visible at 9s. Transition effect is removed at 12s.
Duration of media is 20 seconds.
Transition will be type="clockWipe" subtype="clockwiseTwelve"
2.15
accumulate="sum",
repeatDur
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media displayed,
transition is paced to 5 over 6s. Transition repeats until 12s,
and video is 10 visible at end of transition. Media dur is 20s.
Transition will be type="barWipe"
2.16
from="0",
by=".5"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media displayed,
become more visible over dur, hold at 6s with media 5 visible.
Duration of media is 10 seconds.
Transition will be type="snakeWipe" subtype="topLeftHorizontal"
2.17
type="barWipe"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media displayed,
become more visible over dur, remove the effect at 6s with media 5 visible.
Duration of media is 20 seconds.
2.18
from="0",
by=".5", calcMode="discrete"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media displayed,
become more visible over dur, freeze at 6s with media 5 visible.
Duration of media is 10 seconds.
Transition will be type="irisWipe" subtype="rectangle"
2.19
type="clockWipe",
from="0", by=".5"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media displayed,
become more visible over dur, remove the effect at 6s with media 5 visible.
2.20
type="clockWipe",
subtype="clockwiseTwelve", by=".5", fill="hold"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media displayed,
become more visible over dur, hold at 6s with media 5 visible.
Duration of media is 10 seconds.
2.21
type="irisWipe",
calcMode="linear", no "by" or "to" value
(
smil ,
source )
(
RM smil ,
source )
(xhtml+smil ,
source )
Transition will start at 0s with media displayed,
become more visible over dur, remove the effect at 6s with media 10 visible.
Duration of media is 10 seconds.
2.22
type="irisWipe"
subtype="rectangle", repeatDur="12"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition starts at 0s with displayed, lasts 6s
and goes to 10 displayed. repeats at 6s. Freeze at 12s with media 10 visible.
Duration of media is 15 seconds.
2.23
transfilter_mode-in_from_to_accumulate-none_calcMode-paced
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media displayed,
ends at 6s with video 5 visible. Repeats once. Hold at 12s with
media 5 visible. Duration of media is 15 seconds.
Transition will be type="snakeWipe"
2.24
type="snakeWipe",
calcMode="discrete", from="0" to="1"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media displayed,
jumps to 10 visible at 3s. Duration of media is 5 seconds.
Media dur is shorter than transition dur.
2.25
type="barWipe"
values="0.16; 0.333;"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media 16% displayed,
is paced to 33% over 2s. Transition repeats, jumping to 49% visible and
accumulates until video is 66% visible at 4s.
2.26
mode="out",
calcMode="discrete"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media 10 displayed,
becomes 5 visible (bottom half visible) at 3s and holds.
Duration of media is 5 seconds.
Transition will be type="snakeWipe" subtype="topLeftHorizontal"
2.27
transfilter_mode-out_from_by_accumulate-none_calcMode-linear
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media 10 displayed,
wipes to 5 visible at 3s. Transition repeats at 3s.
Transition ends at 6s and media becomes 10 visible.
Duration of media is 10 seconds.
Transition will be type="clockWipe"
2.28
mode="out",
repeatCount="2", accumulate="sum"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition begins at 0s with media 10 displayed, progresses
smoothly until video is visible at 6s. Repeats but with no visible effect
since media is already visible and accumulate="sum".
Video should never be visible after transition ends due to fill="freeze".
Transition will be type="irisWipe" subtype="rectangle"
2.29
mode="out",
repeatDur="6", type="snakeWipe"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media 10 displayed,
become less visible over 3s dur until video is 5 visible.
Transition repeats at 3s, progressing smoothly until video is visible at
6s.
2.30
mode="out"
calcMode="discrete" from="0" by="1"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media 10 displayed,
jumps to visible at 3s. Transition ends at 6s and media becomes 10 visible.
Duration of media is 10 seconds.
2.31
mode="out",
accumulate="sum", from=".66" to=".33", repeatDur="4"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition starts at 0s with media 33% displayed (on right),
wipes to 66% visible over 2s. Transition repeats and accumulates --
video jumps to visible at 2s and wipes to 33% visible at 4s.
Duration of media is 8 seconds.
Transition will be type="barWipe" subtype="leftToRight"
2.32
mode="out",
from="0" to="1", calcMode="discrete"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media 10 displayed,
jumps to visible at 3s and holds.
Duration of media is 20 seconds.
2.33
mode="out",
calcMode="linear", values list
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media 10 displayed,
wipes to visible over 6s. Media becomes 10 visible at transition end.
Duration of media is 20 seconds.
Transition will be type="barWipe"
2.34
mode="out",
fill="freeze", values list
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media 10 displayed,
wipes to visible over 6s. freeze at 6s with media visible.
Transition will be type="barWipe" subtype="leftToRight"
2.35
mode="out",
values list
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 2s with media 10 displayed,
wipes to visible over 6s. At 8s transition ends and video is 10 visible.
Duration of media is 20 seconds.
Transition will be type="clockWipe" subtype="clockwiseTwelve"
2.36
type="snakeWipe",
mode="out", values list, fill="hold"
(
smil ,
source )
(
RM smil ,
source )
(
xhtml+smil ,
source )
Transition will start at 0s with media 10 displayed,
wipes to visible over 6s and holds.
3
trans INs and OUTs
3.1
*** REMOVED
***
transIn with animation
(smil ,
source )
nist.mpg begins playing at 0s.
At 2s coffee.mpg transitions in for 5 seconds and the animateMotion is applied
to it for 5s.
At 7s coffee.mpg stops moving.
At 10s coffee.mpg ends.
3.2
*** REMOVED
***
transOut with freeze and media natural duration
(smil ,
source )
Both movies begin playing at 0s.
At 3s nist.mpg ends and freezes on last frame.
At 4s (1s before coffee.mpg ends), nist.mpg transitions out leftToRight for
1s, revealing the background as it transitions out.
At 5s coffee.mpg ends and both videos disappear.
3.3
*** REMOVED
***
transOut with freeze and media natural duration
(smil ,
source )
Both movies begin playing at 0s.
At 5.6s nist.mpg ends and freezes on last frame.
At 9s (1s before coffee.mpg ends), nist.mpg transitions out leftToRight for
1s, revealing the background as it transitions out.
At 10s (end of its natural dur) coffee.mpg ends and both videos disappear.