Opera testsuite for <track> and WebVTT

Hi,

I've pushed the following tests:

http://w3c-test.org/html/tests/submission/Opera/media/

This tests the <track> element, the surrounding DOM API, CORS for <track>,  
parsing of WebVTT, parsing of WebVTT cue data, and WebVTT cue rendering.  
The rendering tests are reftests (except the adhoc folder which is  
manual), the rest are testharness.js tests. The tests do not perfectly  
reflect the latest changes to the specs. Not all tests are expected to  
pass in Opera. Some tests check that a feature is not supported (e.g.  
vertical), but that should be fixed.

The parser tests have expected result as JSON in the cue data, and a  
separate JSON file with expected number of cues per file or error if the  
file is expected to fail to load.

The parser cue data tests are generated from html5lib-style dat files.  
Expected tree is the "WebVTT cue text DOM construction rules" (the  
cue.getCueAsHTML() document fragment).

Enjoy.
-- 
Simon Pieters
Opera Software

Received on Monday, 15 October 2012 15:38:56 UTC