W3C home > Mailing lists > Public > public-html@w3.org > September 2013

Re: TextTrackCue discussions

From: Simon Pieters <simonp@opera.com>
Date: Mon, 16 Sep 2013 21:38:16 +0200
To: "Jerry Smith (WINDOWS)" <jdsmith@microsoft.com>, "Glenn Adams" <glenn@skynav.com>
Cc: "Brendan Long" <self@brendanlong.com>, "Silvia Pfeiffer" <silviapfeiffer1@gmail.com>, "HTML WG (public-html@w3.org)" <public-html@w3.org>
Message-ID: <op.w3irh2qdidj3kv@simons-macbook-pro.local>
On Mon, 16 Sep 2013 21:00:04 +0200, Glenn Adams <glenn@skynav.com> 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

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:46:05 UTC