Re: Default Display for Voice Tags

On Wed, 26 Jun 2013 01:52:47 +0200, Rick Eyre <rick.eyre@hotmail.com>  
wrote:

>> IIRC Hixie didn't want to define the rendering in terms of a DOM because
>> it would be cheaper to create CSS boxes directly, or some such. I'm not
>> sure it was a great idea though.
>
> Yeah, this kind of doesn't make sense to me as well. I don't see many  
> use cases for getCueAsHTML() being called if it's not being called for  
> rendering subtitles. Furthermore, if the CSS boxes are cheaper and look  
> exactly the same why not just have getCueAsHTML() return those?

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.

-- 
Simon Pieters
Opera Software

Received on Wednesday, 26 June 2013 08:30:13 UTC