media-audio-215-t

FAIL

raster image of media-audio-215-t

Tests the audio-level property for nested audio elements and clamping of audio-level.

The test consists of 6 subtests. When each audio sub-test is executed a corresponding rect will turn blue. When each audio sub-test is finished the corresponding rect will turn gray again. For this test to pass, all subtests must have a green rectangle next to them. The audio must also be heard to pass this test. If the user agent does not support the WAV media format, the test is still a pass.

The 1st subtest has an audio-level = 1. To pass this subtest the audio must be played at the system volume.

The 2nd subtest has an audio-level = 2. To pass this subtest the audio must be played at the system volume.

The 3rd subtest has an audio element with an audio-level = 2. Within the audio element there is a child audio element with an audio-level = 0.5. The source audio is the child audio element. To pass this subtest the audio must be played at 1/2 the system volume.

The 4th subtest has an audio element with an audio-level = 0.5. Within the audio element there is a child audio element with an audio-level = 2. The source audio is the child audio element. To pass this subtest the audio must be played at 1/2 the system volume.

The 5th subtest has three audio elements. The first audio element has an audio-level = 0.5 and is the parent audio element. The second audio element has an audio-level = 2 and is a child to the first audio element. The third audio element has an audio-level = 0.5 and is a child to the second audio element. The source audio is third audio element. To pass this subtest the audio must be played at 1/4 the system volume.

The 6th subtest has four audio elements. The first audio element has an audio-level = to the audio level of the 3rd audio element (0.5). The second audio element references an audio element from another subtest with an audio-level of 2. The second audio element is a child of the first audio element. The third audio element has an audio-level = 0.5 and is a child of the second audio element. The fourth audio element has an audio-level of 2 and is a child of the third audio element. The source audio is the fourth audio element. To pass this subtest the audio must be played at 1/4 the system volume.