Re: TextTrackCue discussions

On Mon, 16 Sep 2013 21:00:04 +0200, Glenn Adams <> wrote:

> I expect that TTMLCue will expose a reference to an XMLDocument
> representing the parsed TTML XML DOM.

You don't actually want to use the XMLDocument interface. It's a legacy  
thing only returned by document.implementation.createDocument(). New specs  
wanting to expose an "XML document" should use the Document interface.

Do you need to create a document for each cue? It seems a bit expensive  
compared to just returning the root element and let it have the same  
ownerDocument as the <video>'s ownerDocument or some such.

Simon Pieters
Opera Software

Received on Monday, 16 September 2013 19:38:47 UTC