[webvtt] Reftests for rendering

ASSIGNED
Assigned to

Status

()

Core
Audio/Video: Playback
P2
normal
Rank:
15
ASSIGNED
5 years ago
a month ago

People

(Reporter: kyle, Assigned: kyle)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
Ensure the WebVTT tracks are rendered properly.
Specification: http://dev.w3.org/html5/webvtt/#cues-with-video

I am presently working on it.
(Assignee)

Updated

5 years ago
Depends on: 833385
Assignee: nobody → kyle
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
(Assignee)

Comment 1

5 years ago
Created attachment 740022 [details] [diff] [review]
WebVTT Reftests Patch

This is all the reftests I've finished. Outstanding tests include positioning cues with right-to-left test. There appears to be a bug in the specification. Overlapping cue tests need to be written. Tests for the tags ruby, class, and voice are not done. In addition, there are no tests for new CSS properties such as ::cue.

This contains the following tests:
Test the default behaviour. No particular rule. (April 17, 2013)
basic

Make sure cues do not render for the audio element. (April 17, 2013)
audio

Make sure control interface and cue do not overlap. (April 17, 2013)
controls

Ensure cues display in the correct order for multiple cues and tracks. (April 17, 2013)
2tracks-start-time-a
2tracks-start-time-b
1track-start-time-a
1track-start-time-b
2tracks-track-order-a
2tracks-track-order-b
2tracks-end-time-a
2tracks-end-time-b
1track-end-time-a
1track-end-time-b
1track-cue-order-a
1track-cue-order-b

Right to left writing direction test (April 17, 2013)
writing-direction-rtl

Writing mode vertical test (April 17, 2013)
writing-mode-vertical-lr
writing-mode-vertical-rl

Cue writing direction, alignment, and writting mode tests. (April 17, 2013)
The rules for direction, alignment, and mode depend on each other
so tests for each individually would be the identical.
There is a specification bug for positioning cues with right-to-left text. Those tests need to be done.
setting-horizontal-end-ltr
setting-horizontal-left-ltr
setting-horizontal-middle49-ltr
setting-horizontal-middle50-ltr
setting-horizontal-middle51-ltr
setting-horizontal-right-ltr
setting-horizontal-start-ltr
setting-vertical-lr-end
setting-vertical-lr-left
setting-vertical-lr-middle49
setting-vertical-lr-middle50
setting-vertical-lr-middle51
setting-vertical-lr-right
setting-vertical-lr-start
setting-vertical-rl-end
setting-vertical-rl-left
setting-vertical-rl-middle49
setting-vertical-rl-middle50
setting-vertical-rl-middle51
setting-vertical-rl-right
setting-vertical-rl-start

Snap-to-line tests
snap-to-lines-false-horizontal
snap-to-lines-false-vertical-lr
snap-to-lines-false-vertical-rl
snap-to-lines-true-horizontal
snap-to-lines-true-vertical-lr
snap-to-lines-true-vertical-rl

Text wrapping tests
wrap-balance
wrap-break-word

Cue test payload tag tests
tag-bold
tag-italic
tag-underline.vtt
Component: Audio/Video → Audio/Video: Playback

Updated

a month ago
Rank: 15
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.