Re: Default Display for Voice Tags

On Wed, 26 Jun 2013 17:50:09 +0200, Rick Eyre <rick.eyre@hotmail.com>  
wrote:

>> getCueAsHTML() is for using the cue data outside the video, or for  
>> having
>> custom subtitles. Returning CSS boxes isn't possible and wouldn't make
>> sense.
>
> How come it wouldn't be possible? By "CSS Boxes" I assume we're just  
> talking about divs with the appropriate CSS positioning applied to them?

No. There are no elements involved.

CSS boxes are the things that get rendered, basically. CSS has block  
boxes, inline boxes, line boxes, etc. They do not correspond to any  
objects in JS.


> getCueAsHTML() could return that no problem and it would be valid HTML.
>
> Maybe I've misunderstood the spec.

I'm afraid so.

-- 
Simon Pieters
Opera Software

Received on Wednesday, 26 June 2013 22:31:41 UTC