Re: WebVTT spec

On Fri, 8 Mar 2013, Silvia Pfeiffer wrote:
> > 
> > I would move the constructor to WebVTTCue, so that the hiearachy is:
> >
> >    EventTarget
> >     |
> >    TextTrackCue -----------------------+
> >     |                                  |
> >    WebVTTCue (has constructor)        FooTTCue (has constructor)
> >
> > ...where "FooTT" is some other text track format.
> 
> Would TextTrackCue also have a constructor? I.e. do we have a generic 
> text track cue format?

Well, without rules for how to render the cue (rules which are format- 
specific), I don't really see what that such a constructor would do.

I suppose we could define some simple generic rules, but why would authors 
use that instead of just WebVTT cues?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 8 March 2013 05:58:17 UTC