This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
It would be pretty nice if there was a WebVTT sample file; a kind of a conformance ref file making use of all the features. Basically it could include: - all the different kind of timing formats possible - multiline events - nested tags (mixed with multilines?) - an UTF-8 BOM, mixed CRLF and classic \n - ruby or any other "advanced" features - different combinations of the special attributes (size, align, etc) - special cases such as multiple spaces and tabs in a sentence - obiwan kenobi It's kind of useful to have a quick overview of all the features, as well as helping implementations.
Agreed. That should be part of building a test set. If you have such a file, please contribute.
Created attachment 1180 [details] SubRip capability tester I don't have any since I'm still trying to understand the specifications. At FFmpeg, we use the attached file for testing SubRip capabilities which has kind of a similarity with WebVTT. Note that this file is mainly designed to trigger corner cases, broken markups, mixed ASS and SubRip insanity, and stuff like that. Though, it might give you some more ideas for a potential reference file or a first base. BTW, looking at the list I made above, I'd also like to add: - cue with and without cue identifiers - a big header (with multiple -mixed- \n and CLRF before the first cue) - special characters (cue with an escaped "-->" in the payload for example) I'm willing to complete with more ideas if someone can provide a first valid sample.
If what you want is a test suite, then I agree we need one, but I am not planning on putting one in the spec itself or writing it myself. If what you want is examples, I'll keep adding some as I get inspiration...
Checked in as WHATWG revision r7510. Check-in comment: More examples of WebVTT. http://html5.org/tools/web-apps-tracker?from=7509&to=7510
We now have a "test suite" component, so I'm moving this bug under this component.