# SMIL 3.0 Testcases

## Introduction

This document collects testcases for the new features introduced in SMIL 3.0

1- Testcases for the new features introduced in SMIL 3.0.

## 1 - Animation

### animation-test-01.smil

Test | Feature | Expected Behaviour
--- | --- | ---
1.1 |
discrete animation with fill="remove" and no end (baseline)
Open as Text
Open as SMIL
| t= 0 to t= 3: top-left t= 3 to t= 6: bottom-left t= 6 to t= 9: bottom-middle t= 9 to t=12: bottom-right t=12 to t=15: top-left

### animation-test-02.smil

Test | Feature | Expected Behaviour
--- | --- | ---
1.2 |
discrete animation with fill="freeze" and no end
Open as Text
Open as SMIL
| t= 0 to t= 3: top-left t= 3 to t= 6: bottom-left t= 6 to t= 9: bottom-middle t= 9 to t=15: bottom-right

### animation-test-03.smil

Test | Feature | Expected Behaviour
--- | --- | ---
1.3 |
discrete animation with fill="remove" and short end
Open as Text
Open as SMIL
| t= 0 to t= 3: top-left t= 3 to t= 6: bottom-left t= 6 to t=15: top-left

### animation-test-04.smil

Test | Feature | Expected Behaviour
--- | --- | ---
1.4 |
discrete animation with fill="freeze" and short end
Open as Text
Open as SMIL
| t= 0 to t= 3: top-left t= 3 to t= 6: bottom-left t= 6 to t=15: bottom-middle

### animation-test-05.smil

Test | Feature | Expected Behaviour
--- | --- | ---
1.5 |
discrete animation with fill="remove" and short min and shorter end
Open as Text
Open as SMIL
| t= 0 to t= 3: top-left t= 3 to t= 6: bottom-left t= 6 to t= 9: bottom-middle t= 9 to t=15: top-left

### animation-test-06.smil

Test | Feature | Expected Behaviour
--- | --- | ---
1.6 |
discrete animation with fill="freeze" and short min and shorter end
Open as Text
Open as SMIL
| t= 0 to t= 3: top-left t= 3 to t= 6: bottom-left t= 6 to t= 9: bottom-middle t= 9 to t=15: bottom-right

### animation-test-07.smil

Test | Feature | Expected Behaviour
--- | --- | ---
1.7 |
discrete animation with fill="remove" and short end and long min
Open as Text
Open as SMIL
| t= 0 to t= 3: top-left t= 3 to t= 6: bottom-left t= 6 to t= 9: bottom-middle t= 9 to t=12: bottom-right t=12 to t=15: top-left

### animation-test-08.smil

Test | Feature | Expected Behaviour
--- | --- | ---
1.8 |
discrete animation with fill="freeze" and short end and long min
Open as Text
Open as SMIL
| t= 0 to t= 3: top-left t= 3 to t= 6: bottom-left t= 6 to t= 9: bottom-middle t= 9 to t=15: bottom-right

### animation-test-09.smil

Test | Feature | Expected Behaviour
--- | --- | ---
1.9 |
discrete animation with fill="remove" repeatCount="2" and no min
Open as Text
Open as SMIL
| 3 seconds top-left then repeated once (i.e. played twice): 3 seconds bottom-left 3 seconds bottom-middle 3 seconds bottom-right then 6 seconds top-left

### animation-test-10.smil

Test | Feature | Expected Behaviour
--- | --- | ---
1.10 |
discrete animation with fill="freeze" repeatCount="2" and no min
Open as Text
Open as SMIL
| 3 seconds top-left then repeated once (i.e. played twice): 3 seconds bottom-left 3 seconds bottom-middle 3 seconds bottom-right then 6 more seconds bottom-right

### animation-test-11.smil

Test | Feature | Expected Behaviour
--- | --- | ---
1.11 |
discrete animation with fill="remove" repeatCount="2" and min
Open as Text
Open as SMIL
| 3 seconds top-left then repeated once (i.e. played twice): 3 seconds bottom-left 3 seconds bottom-middle 3 seconds bottom-right then 6 seconds top-left (3 seconds for min, 3 seconds for fill)

### animation-test-12.smil

Test | Feature | Expected Behaviour
--- | --- | ---
1.12 |
discrete animation with fill="freeze" repeatCount="2" and min
Open as Text
Open as SMIL
| 3 seconds top-left then repeated once (i.e. played twice): 3 seconds bottom-left 3 seconds bottom-middle 3 seconds bottom-right then 6 more seconds bottom-right (3 seconds for min, 3 seconds for fill)

## 2 - ContentControl

### smil30-smilContentControl-NoallowReorder.smil

Test | Feature | Expected Behaviour
--- | --- | ---
2.1 |
allowReorder=no
Open as Text
Open as SMIL
| The configuration of the User Agent is "fr; q=1.0, en; q=0.5" and english.jpg is shown.

### smil30-smilContentControl-allowReorder.smil

Test | Feature | Expected Behaviour
--- | --- | ---
2.2 |
allowReorder=yes
Open as Text
Open as SMIL
| The configuration of the User Agent is "fr; q=1.0, en; q=0.5" and french.jpg is shown.

## 3 - Layout

### layout-background-opacity-region-override.smil

Test | Feature | Expected Behaviour
--- | --- | ---
3.1 |
backgroundOpacity
Open as Text
Open as SMIL
| A 640px by 640px base canvas is displayed with a red background color (#FF0000), and a region is displayed in the upper left corner to exactly a quarter of the size of the base canvas. This region is displayed with a blue background set at 50% opacity, therefore resulting in the #7f0080 color. At 5s, a text media (text.txt) displays inside this region and overrides the background opacity to 0.75, resulting in the #4000bf color. The text ends after 5s, resulting in the region's background color returning to its original blue background at 0.5 opacity (#7f0080). Another 2 reference regions are displayed to compare the expected color in the first region: the on in the lower-right corner uses a 75% blue background, the one in the lower-left corner uses a plain solid background at #4000bf (both these additional comparison regions should look exactly the same, as #4000bf is the color obtained with blue 75% opaque on a red background). 2 images are provided to represent the expected visuals from the test described above: the first one named "ColorQuad_NoText.png" corresponds to the stage before the text appears, while "ColorQuad_WithText.png" corresponds to the stage after the text has appeared.

### layout-background-opacity-region.smil

Test | Feature | Expected Behaviour
--- | --- | ---
3.2 |
backgroundOpacity
Open as Text
Open as SMIL
| A 640px by 640px base canvas has a red background color (#FF0000). The geometry of this canvas is divided into 16 non-overlapping squares of equal dimensions (160px by 160px). Each square area is occupied by a single region. Each of these regions test a different combination of background color and background opacity. There is however one exception: the last 2 regions overlap (bottom-right quarter), to test transparent regions overlapping each other. After 5s, an image displays for 5s. The image should not be perceivable when executing this test, as this is an exact visual representation of the color pattern given by the empty 640px by 640px layout (apart from the small watermark text "Image" on the upper right corner). If any difference in color is perceived, then the test is failed. If no difference is visually perceived, the tester should make color measurements (e.g. color picker) after a full 10s to make sure that the color values conform to the expected values.

## 4 - Media

### FancyPanZoomDemo.smil

Test | Feature | Expected Behaviour
--- | --- | ---
4.1 |
panZoom attribute animation
Open as Text
Open as SMIL
| The presentation does Ken Burns style animation 5 times: from the full image to different crops. The accompanying text describes what should be seen.

### MediaOpacityExtra.smil

Test | Feature | Expected Behaviour
--- | --- | ---
4.2 |
panZoom attribute animation
Open as Text
Open as SMIL
| Many different opacities. The text explains what we should see.

### PanZoomDemo.smil

Test | Feature | Expected Behaviour
--- | --- | ---
4.3 |
panZoom attribute animation
Open as Text
Open as SMIL
| The presentation shows a full image and then 5 different crops. full image to different crops. The accompanying text describes what should be seen.

### media-pan-zoom-percentages.smil

Test | Feature | Expected Behaviour
--- | --- | ---
4.4 |
viewBox, fit
Open as Text
Open as SMIL
| the test image (a checkerboard) is shown for 20 seconds with 4 different viewbox/fit combinations. This test uses percentage values instead of absolute values.

### media-pan-zoom.smil

Test | Feature | Expected Behaviour
--- | --- | ---
4.5 |
viewBox, fit
Open as Text
Open as SMIL
| the test image (a checkerboard) is shown for 20 seconds with 4 different viewbox/fit combinations.

### mediaObject-chromaKey1.smil

Test | Feature | Expected Behaviour
--- | --- | ---
4.6 |
chromaKey attribute
Open as Text
Open as SMIL
| Four regions are on a root-layout with a red background color. The upper-left region should show a smiley-face with a light blue background, yellow face, and black features. The upper-right region should have knocked out the blue background and allowed the red root-layout background to show through. The lower-left image should knock out black. The lower-right image should knock out yellow.

### mediaObject-chromaKeyOpacity1.smil

Test | Feature | Expected Behaviour
--- | --- | ---
4.7 |
chromaKeyOpacity attribute
Open as Text
Open as SMIL
| This test is the same as mediaObject-chromaKey1.smil, but instead of using the default chromaKeyOpacity of 0%, it uses a chromaKeyOpacity of 50%.

### mediaObject-chromaKeyTolerance1.smil

Test | Feature | Expected Behaviour
--- | --- | ---
4.8 |
chromaKeyTolerance attribute
Open as Text
Open as SMIL
| This test tries to knock out the light blue background from the smile.jpg image. However, due to JPEG's lossy compression, the blue is not exactly uniform. In the upper-left image, we knock out only the exact color of #7FFFFE. In the upper-right image, we knock out the same color with a tolerance of 3 pixel values around #7FFFFE. In the lower-left image, we knock out the same color with a tolerance of 16, and in the lower-right we knock out the same color with a tolerance of 40.

### mediaObject-mediaBackgroundOpacity1.smil

Test | Feature | Expected Behaviour
--- | --- | ---
4.9 |
mediaBackgroundOpacity attribute
Open as Text
Open as SMIL
| We show the same flash file side-by-side. This flash file has a defined background color of #0000FF. On the left-side we use the display the flash file with the authored background color. However, in the right side, we assign an opacity of 0% to the background color.

### mediaObject-mediaBackgroundOpacity2.smil

Test | Feature | Expected Behaviour
--- | --- | ---
4.10 |
mediaBackgroundOpacity attribute
Open as Text
Open as SMIL
| We show the same flash file side-by-side. This flash file has a defined background color of #0000FF. On the left-side we use the display the flash file with the authored background color. However, in the right side, we assign an opacity of 0% to the background color.

### mediaObject-mediaOpacity1.smil

Test | Feature | Expected Behaviour
--- | --- | ---
4.11 |
mediaOpacity attribute
Open as Text
Open as SMIL
| We have a 640x480 root-layout with a white backgroundColor, on which 4 regions are laid out. In the upper-left region, we display the smile image with a mediaOpacity of 25%. In the upper-right region, we display the smile image with a mediaOpacity of 50%. In the lower-left region, we display the smile image with a mediaOpacity of 75%. In the lower-right region, we display the smile image with a mediaOpacity of 100%.

### mediaObject-panZoom1.smil

Test | Feature | Expected Behaviour
--- | --- | ---
4.12 |
panZoom attribute
Open as Text
Open as SMIL
| We have a 320x240 region with fit="fill" and we want to display a 320x240 window of a 800x600 image in it.

### mediaObject-panZoom2.smil

Test | Feature | Expected Behaviour
--- | --- | ---
4.13 |
panZoom attribute
Open as Text
Open as SMIL
| We have a 320x240 region with fit="fill" and we want to display a 320x240 window of a 800x600 image in it. We do a zoom out in 5 second increments.

### mediaObject-panZoom3.smil

Test | Feature | Expected Behaviour
--- | --- | ---
4.14 |
panZoom attribute
Open as Text
Open as SMIL
| We have a 320x240 region with fit="fill" and we want to display a 320x240 window of a 800x600 image in it. We do a pan across the image in 5 second intervals.

### mediaObject-panZoom4.smil

Test | Feature | Expected Behaviour
--- | --- | ---
4.15 |
panZoom attribute
Open as Text
Open as SMIL
| We have a 320x240 region with fit="fill" and we want to display a 320x240 window of a 800x600 image in it. We do a pan across the image in 5 second intervals.

### mediaObject-panZoom5.smil

Test | Feature | Expected Behaviour
--- | --- | ---
4.16 |
panZoom attribute
Open as Text
Open as SMIL
| We have a 320x240 region with fit="fill" and we want to display a 320x240 window of a 800x600 image in it. We do a pan across the image in 5 second intervals.

### mediaObject-panZoom6.smil

Test | Feature | Expected Behaviour
--- | --- | ---
4.17 |
panZoom attribute
Open as Text
Open as SMIL
| We have a 320x240 region with fit="fill" and we want to display a 320x240 window of a 800x600 image in it.

### mediaObject-panZoom7.smil

Test | Feature | Expected Behaviour
--- | --- | ---
4.18 |
panZoom attribute
Open as Text
Open as SMIL
| We have a 320x240 region with fit="fill" and we want to display a 320x240 window of a 800x600 image in it.

### mediaObject-panZoom8.smil

Test | Feature | Expected Behaviour
--- | --- | ---
4.19 |
panZoom attribute
Open as Text
Open as SMIL
| We have a 320x240 region with fit="fill" and we want to display a 320x240 window of a 800x600 image in it.

## 5 - Metainformation

### metainfo-test1.smil

Test | Feature | Expected Behaviour
--- | --- | ---
5.1 |
meta element in the body
Open as Text
Open as SMIL
| Text "This node has meta-information" shows.

### metainfo-test2.smil

Test | Feature | Expected Behaviour
--- | --- | ---
5.2 |
metadata elements in the body
Open as Text
Open as SMIL
| Text "This node has metadata-information" shows.

### metainfo-test3.smil

Test | Feature | Expected Behaviour
--- | --- | ---
5.3 |
element with a label attribute referring to external smil document
not-test-03-label-description.smil
Open as Text
Open as SMIL
| Text "This node has a label" shows.

## 6 - Namespace_and_Doctype

### namespace-doctype-test1.smil

Test | Feature | Expected Behaviour
--- | --- | ---
6.1 |
DOCTYPE and SMIL 3.0 namespace validation
1 image
Open as Text
Open as SMIL
| This should result in the user agent issuing an error.

### namespace-doctype-test2.smil

Test | Feature | Expected Behaviour
--- | --- | ---
6.2 |
DOCTYPE and SMIL 3.0 namespace validation
1 image
Open as Text
Open as SMIL
| User agent should play the file, because the syntax of the namespace attribute value is correct. The image is displayed for 5 seconds.

### namespace-doctype-test3.smil

Test | Feature | Expected Behaviour
--- | --- | ---
6.3 |
DOCTYPE and SMIL 3.0 namespace validation
1 image
Open as Text
Open as SMIL
| the user agent should attempt to play this as a SMIL 1.0 document. - Strict SMIL 1.0 implementations will issue an error on the unknown attribute value. - Permissive SMIL 1.0 implementations may ignore the unknown attribute value, resulting in the end attribute being ignored, and the image and the document having 0 duration, instead of the unresolved duration that it would have in SMIL 3.0.

## 7 - SMILText

### smil30-smiltext-ChangedTextWritingMode.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.1 |
a change in textWritingMode modifies the behaviour of textPlace and textAlign
Open as Text
Open as SMIL
| In the first smilText the text should be left aligned and rendered from the top. In the second smilText the text should be rigth aligned and rendered from the bottom

### smil30-smiltext-IgnoredTextstyling.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.2 |
A styling attribute is used on an element to which it does not apply (textDirection in p).
Open as Text
Open as SMIL
| The document parses and textDirection is ignored.

### smil30-smiltext-LateBegin.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.3 |
There are two tevs in a smilText with a begin attribute. The value of the second is smaller than the value of the first
Open as Text
Open as SMIL
| Once the second tev is reached the text after this element is rendered inmediately

### smil30-smiltext-NextBeyondDur.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.4 |
smilText has a duration and there is a tev with a next beyond that duration
Open as Text
Open as SMIL
| Once smilText's dur is reached no more text is rendered.

### smil30-smiltext-OverridenTextWrapOptions.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.5 |
textWrapOption is inherited or overriden by smilText or it's content
Open as Text
Open as SMIL
| The region has a noWrap behaviour inherited by the first SMILText element. The second SMILText element should wrap its content. The third has two pieces of text in a paragraph and a div and each of them behaves differently

### smil30-smiltext-OverridingTextStylingAttributes.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.6 |
textColor, textBackgroundColor, textFontFamily, textFonSize, textFontStyle and textFontWeight at different levels
Open as Text
Open as SMIL
| Overriden values should be treated accordingly. The first smilText should behave as stated in the region. The second should override textColor and textBackgroundColor and keep textFontFamily, textFontSize, textFontStyle and textFontWeigh. In the third the first paragraph should be represented with totally new textStyle attributes while the second should respect the values in the region.

### smil30-smiltext-br.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.7 |
br validation
Open as Text
Open as SMIL
| A break is produced in the middle of the text.

### smil30-smiltext-clear.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.8 |
clear validation
Open as Text
Open as SMIL
| Some text appears and after a while the text disappears.

### smil30-smiltext-div.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.9 |
div and textAlign attribute validation
Open as Text
Open as SMIL
| Two blocks of text are rendered. A line break should be performed between these blocks. The first block is left aligned while the second is right aligned.

### smil30-smiltext-p.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.10 |
p validation
Open as Text
Open as SMIL
| The result is the two pieces of text appear as two independent paragraphs.

### smil30-smiltext-spanDirections.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.11 |
spans whithin the same smilText element have opposite directions
Open as Text
Open as SMIL
| The text of each span element is printed in the proper direction

### smil30-smiltext-spanattributes.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.12 |
span and textColor, textBackgroundColor, textFontFamily, textFonSize, textFontStyle and textFontWeight attributes validation
Open as Text
Open as SMIL
| All the text has the default characteristics but that marked with the color red, the black background, the size of 18 pixels, and the italic and bold font.

### smil30-smiltext-spantextstyle.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.13 |
span, textStyle and textStyling
Open as Text
Open as SMIL
| All the text has the default characteristics but that marked with the color red, the black background, the size of 18 pixels, and the italic and bold font.

### smil30-smiltext-tevbegin.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.14 |
tev with begin attribute validation
Open as Text
Open as SMIL
| The text appears after 3 seconds.

### smil30-smiltext-tevbeginEvents.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.15 |
tev with begin attribute validation. The value of the tev depends on an event generated by another smilText
Open as Text
Open as SMIL
| The text appears after 3 seconds.

### smil30-smiltext-tevnext.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.16 |
tev with next attribute validation
Open as Text
Open as SMIL
| The first set appears after 3 seconds and the second after 5.

### smil30-smiltext-textCrawl01.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.17 |
textMode="crawl" of a small text with textAlign=start, textConceal=none
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl02.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.18 |
textMode="crawl" of a small text with textAlign=start, textConceal=initial
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl03.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.19 |
textMode="crawl" of a small text with textAlign=start, textConceal=final
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl04.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.20 |
textMode="crawl" of a small text with textAlign=start, textConceal=both
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl05.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.21 |
textMode="crawl" of a small text with textAlign=center, textConceal=none
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl06.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.22 |
textMode="crawl" of a small text with textAlign=center, textConceal=initial
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl07.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.23 |
textMode="crawl" of a small text with textAlign=center, textConceal=final
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl08.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.24 |
textMode="crawl" of a small text with textAlign=center, textConceal=both
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl09.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.25 |
textMode="crawl" of a small text with textAlign=end, textConceal=none
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl10.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.26 |
textMode="crawl" of a small text with textAlign=end, textConceal=initial
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl11.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.27 |
textMode="crawl" of a small text with textAlign=end, textConceal=final
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl12.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.28 |
textMode="crawl" of a small text with textAlign=end, textConceal=both
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl13.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.29 |
textMode="crawl" of a large text with textAlign=start, textConceal=none
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl14.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.30 |
textMode="crawl" of a large text with textAlign=start, textConceal=initial
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl15.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.31 |
textMode="crawl" of a large text with textAlign=start, textConceal=final
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl16.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.32 |
textMode="crawl" of a large text with textAlign=start, textConceal=both
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl17.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.33 |
textMode="crawl" of a large text with textAlign=center, textConceal=none
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl18.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.34 |
textMode="crawl" of a large text with textAlign=center, textConceal=initial
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl19.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.35 |
textMode="crawl" of a large text with textAlign=center, textConceal=final
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl20.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.36 |
textMode="crawl" of a large text with textAlign=center, textConceal=both
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl21.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.37 |
textMode="crawl" of a large text with textAlign=end, textConceal=none
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl22.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.38 |
textMode="crawl" of a large text with textAlign=end, textConceal=initial
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl23.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.39 |
textMode="crawl" of a large text with textAlign=end, textConceal=final
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textCrawl24.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.40 |
textMode="crawl" of a large text with textAlign=end, textConceal=both
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textModes.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.41 |
textMode attribute validation
Open as Text
Open as SMIL
| In the first smilText, new content is appended to the existing. In the second, tev behaves as clear because of the value of textMode

### smil30-smiltext-textScroll01.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.42 |
textMode="scroll" of a small text with textPlace=start, textConceal=none
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll02.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.43 |
textMode="scroll" of a small text with textPlace=start, textConceal=initial
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll03.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.44 |
textMode="scroll" of a small text with textPlace=start, textConceal=final
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll04.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.45 |
textMode="scroll" of a small text with textPlace=start, textConceal=both
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll05.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.46 |
textMode="scroll" of a small text with textPlace=center, textConceal=none
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll06.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.47 |
textMode="scroll" of a small text with textPlace=center, textConceal=initial
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll07.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.48 |
textMode="scroll" of a small text with textPlace=center, textConceal=final
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll08.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.49 |
textMode="scroll" of a small text with textPlace=center, textConceal=both
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll09.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.50 |
textMode="scroll" of a small text with textPlace=end, textConceal=none
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll10.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.51 |
textMode="scroll" of a small text with textPlace=end, textConceal=initial
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll11.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.52 |
textMode="scroll" of a small text with textPlace=end, textConceal=final
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll12.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.53 |
textMode="scroll" of a small text with textPlace=end, textConceal=both
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll13.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.54 |
textMode="scroll" of a large text with textPlace=start, textConceal=none
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll14.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.55 |
textMode="scroll" of a large text with textPlace=start, textConceal=initial
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll15.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.56 |
textMode="scroll" of a large text with textPlace=start, textConceal=final
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll16.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.57 |
textMode="scroll" of a large text with textPlace=start, textConceal=both
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll17.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.58 |
textMode="scroll" of a large text with textPlace=center, textConceal=none
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll18.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.59 |
textMode="scroll" of a large text with textPlace=center, textConceal=initial
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll19.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.60 |
textMode="scroll" of a large text with textPlace=center, textConceal=final
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll20.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.61 |
textMode="scroll" of a large text with textPlace=center, textConceal=both
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll21.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.62 |
textMode="scroll" of a large text with textPlace=end, textConceal=none
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll22.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.63 |
textMode="scroll" of a large text with textPlace=end, textConceal=initial
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll23.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.64 |
textMode="scroll" of a large text with textPlace=end, textConceal=final
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textScroll24.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.65 |
textMode="scroll" of a large text with textPlace=end, textConceal=both
Open as Text
Open as SMIL
| The text in the test is self-explanatory.

### smil30-smiltext-textalingtextwritingmode.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.66 |
textAlign and textWritingMode attributes validation
Open as Text
Open as SMIL
| The result is all the pieces of text appear centered in the region and writeen in a top to bottom progression.

### smil30-smiltext-textmodetextrate.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.67 |
textMode and textRate attributes validation
Open as Text
Open as SMIL
| The text crawls across the screen in a direction opposite to the default left-to-right at 10 pixels per second.

### smil30-smiltext-textplace.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.68 |
textPlace validation
Open as Text
Open as SMIL
| Content is initially placed in the bottom of the region and new content is not rendered as it is out of bounds.

### smil30-smiltext-textplaceScroll.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.69 |
textPlace and textMode validation
Open as Text
Open as SMIL
| Content is initially placed in the bottom of the region and as new content is added it scrolls up.

### smiltext-textAlign1.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.70 |
textAlign attribute
Open as Text
Open as SMIL
| This tests the textAlign attribute.

### smiltext-textBackgroundColor1.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.71 |
textBackgroundColor attribute
Open as Text
Open as SMIL
| This tests the textBackgroundColor attribute.

### smiltext-textColor1.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.72 |
textColor attribute
Open as Text
Open as SMIL
| This tests the textColor attribute.

### smiltext-textDirection1.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.73 |
textDirection attribute
Open as Text
Open as SMIL
| This tests the textDirection attribute.

### smiltext-textFontFamily1.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.74 |
textFontFamily attribute
Open as Text
Open as SMIL
| This tests the textFontFamily attribute.

### smiltext-textFontSize1.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.75 |
textFontSize attribute
Open as Text
Open as SMIL
| This tests the textFontSize attribute using integer font lengths.

### smiltext-textFontSize2.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.76 |
textFontSize attribute
Open as Text
Open as SMIL
| This tests the textFontSize attribute using the absolute-size enumeration.

### smiltext-textFontSize3.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.77 |
textFontSize attribute
Open as Text
Open as SMIL
| This tests the textFontSize attribute using the relative-size enumeration.

### smiltext-textFontStyle1.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.78 |
textFontSize attribute
Open as Text
Open as SMIL
| This tests the textFontStyle attribute.

### smiltext-textFontWeight1.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.79 |
textFontWeight attribute
Open as Text
Open as SMIL
| This tests the textFontWeight attribute.

### smiltext-textMode1.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.80 |
textMode attribute
Open as Text
Open as SMIL
| This tests the textMode attribute with the value "append".

### smiltext-textMode2.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.81 |
textMode attribute
Open as Text
Open as SMIL
| This tests the textMode attribute with the value "replace".

### smiltext-textMode3.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.82 |
textMode attribute
Open as Text
Open as SMIL
| This tests the textMode attribute with the value "crawl".

### smiltext-textMode4.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.83 |
textMode attribute
Open as Text
Open as SMIL
| This tests the textMode attribute with the value "scroll".

### smiltext-textMode5.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.84 |
textMode attribute
Open as Text
Open as SMIL
| This tests the textMode attribute with the value "jump".

### smiltext-textRate1.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.85 |
textMode attribute
Open as Text
Open as SMIL
| This tests the textRate attribute with three different values of crawling rate.

### smiltext-xmlspace1.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.86 |
xml
Open as Text
Open as SMIL
| This tests the xml:space attribute on the <p> element.

### smiltext-xmlspace2.smil

Test | Feature | Expected Behaviour
--- | --- | ---
7.87 |
xml
Open as Text
Open as SMIL
| This tests the xml:space attribute on the <div> element.

## 8 - State

### test-01-avt.smil

Test | Feature | Expected Behaviour
--- | --- | ---
8.1 |
Use of attribute value templates
Open as Text
Open as SMIL
| It should display "the number 42 should be forty-two".

### test-02-setvalue.smil

Test | Feature | Expected Behaviour
--- | --- | ---
8.2 |
setvalue element
Open as Text
Open as SMIL
| The output is self-describing, displayed in 3 5-second texts.

### test-03-newvalue.smil

Test | Feature | Expected Behaviour
--- | --- | ---
8.3 |
newvalue element
Open as Text
Open as SMIL
| The output is self-describing, displayed in 3 5-second texts.

### test-04-statesrc.smil

Test | Feature | Expected Behaviour
--- | --- | ---
8.4 |
state element with src attribute
Open as Text
Open as SMIL
| The output is self-describing.

### test-05-send.smil

Test | Feature | Expected Behaviour
--- | --- | ---
8.5 |
submission and send elements
Open as Text
Open as SMIL
| After running the test there should be a file "test-05-send-out.xml". The contents of this file should be identical to "test-05-send-out-correct.xml" (modulo whitespace).

### test-06-newvalue.smil

Test | Feature | Expected Behaviour
--- | --- | ---
8.6 |
newvalue where attribute
Open as Text
Open as SMIL
| After running the test there should be a file "test-06-newvalue-out.xml". The contents of this file should be identical to "test-06-newvalue-out-correct.xml" (modulo whitespace).

### test-07-expr.smil

Test | Feature | Expected Behaviour
--- | --- | ---
8.7 |
expr attribute
Open as Text
Open as SMIL
| You should see two 5-second self-explanatory texts.

### test-08-language.smil

Test | Feature | Expected Behaviour
--- | --- | ---
8.8 |
expr attribute
Open as Text
Open as SMIL
| You should see one 5 second statement about english being one of your preferred languages (or not), another 5 second statement about french. These statements should be correct.

### test-09-statesrc-badurl.smil

Test | Feature | Expected Behaviour
--- | --- | ---
8.9 |
state element with src attribute referring to nonexistent document
Open as Text
Open as SMIL
| The output is self-describing.

### test-10-statesrc-override.smil

Test | Feature | Expected Behaviour
--- | --- | ---
8.10 |
state element with src attribute and inline state document
Open as Text
Open as SMIL
| The output is self-describing.

### test-11-statechanged.smil

Test | Feature | Expected Behaviour
--- | --- | ---
8.11 |
expr attribute
Open as Text
Open as SMIL
| You should see two 5-second self-explanatory texts.

## 9 - Structure

### structure_identity-test1.smil

Test | Feature | Expected Behaviour
--- | --- | ---
9.1 |
version and baseProfile attribute values
1 image
Open as Text
Open as SMIL
| User agent should play the file, because the syntax of the "version" and "baseProfile" attributes values are correct. The image is displayed for 5 seconds

### structure_identity-test2.smil

Test | Feature | Expected Behaviour
--- | --- | ---
9.2 |
version and baseProfile attribute values
1 image
Open as Text
Open as SMIL
| User agent should issue a syntax error, because the syntax of the "version" attribute value is incorrect.

### structure_identity-test3.smil

Test | Feature | Expected Behaviour
--- | --- | ---
9.3 |
version and baseProfile attribute values
1 image
Open as Text
Open as SMIL
| User agent should issue a syntax error, because the syntax of the "baseProfile" attribute value is incorrect.

### structure_identity-test4.smil

Test | Feature | Expected Behaviour
--- | --- | ---
9.4 |
version and baseProfile attribute values
1 image
Open as Text
Open as SMIL
| User agent should play the file, because the syntax of the "version" and "baseProfile" attributes values are correct. The image is displayed for 5 seconds

## 10 - Timing_and_Sync

### timingandsync-test1-with-dur.smil

Test | Feature | Expected Behaviour
--- | --- | ---
10.1 |
begin attribute values
5 images
Open as Text
Open as SMIL
| Start Image 1 shows for 5 seconds Click "next" Image 2 shows for 5 seconds Click "next" Image 3 shows for 5 seconds Click "next" Image 4 Wait 20 seconds, during which time clicking "next" does nothing. End. While the image is showing, clicking "next" restarts the image (except for image 1).

### timingandsync-test1.smil

Test | Feature | Expected Behaviour
--- | --- | ---
10.2 |
begin attribute values
5 images
Open as Text
Open as SMIL
| Start Image 1 Click "next" Image 2 Click "next" Image 3 Click "next" Image 4 Wait 20 seconds, during which time clicking "next" restart the image. End.

### timingandsync-test3.smil

Test | Feature | Expected Behaviour
--- | --- | ---
10.3 |
begin attribute values
5 images
Open as Text
Open as SMIL
| Start Image 1 Click next Image 2 Click next Image 3 Click next Image 4 Click next End

### timingandsync-test4.smil

Test | Feature | Expected Behaviour
--- | --- | ---
10.4 |
begin attribute values
3 audio files, 3 text files
Open as Text
Open as SMIL
| Start audio fragment 1 starts text fragment 1 is displayed audio fragment 1 ends audio fragment 2 starts text fragment 2 is displayed audio fragment 2 ends audio fragment 3 starts text fragment 3 is displayed audio fragment 3 ends End

[Animation] [ContentControl] [Layout] [Media] [Metainformation] [Namespace_and_Doctype] [SMILText] [State] [Structure] [Timing_and_Sync]