W3C home > Mailing lists > Public > public-html-testsuite@w3.org > October 2012

Opera testsuite for <track> and WebVTT

From: Simon Pieters <simonp@opera.com>
Date: Mon, 15 Oct 2012 17:38:20 +0200
Cc: "public-texttracks@w3.org" <public-texttracks@w3.org>
To: "public-html-testsuite@w3.org" <public-html-testsuite@w3.org>
Message-ID: <op.wl78d6p6idj3kv@simons-macbook-pro.local>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 15 October 2012 15:38:56 GMT