Re: Inline Styles

On Jun 27, 2013, at 11:12 , David Ronca <dronca@netflix.com> wrote:

> Inline styles would be a tremendously valuable feature since for many years, most of our assets will be sourced from TV assets, and will be relatively simple.

agreed.  we have even come up with numerous simple ways to include them, but people had objections to all (most of the objections were, if I may say so, questions of 'taste', and we ended up doing nothing so far, which is probably the worst outcome).

> 
> David
> 
> 
> On Thu, Jun 27, 2013 at 2:32 AM, Silvia Pfeiffer <silviapfeiffer1@gmail.com> wrote:
> Hi David,
> 
> That part of the spec is pure speculation at this point and is not
> standardised. Please don't implement that yet. I'm going to have to
> revisit it.
> 
> Please only use external style sheets with the Web page into which the
> WebVTT file is included at this point.
> 
> Thanks,
> Silvia.
> 
> On Thu, Jun 27, 2013 at 2:46 AM, David Ronca <dronca@netflix.com> wrote:
> > The C/S Specification has this section:
> >
> > It is also possible to avoid importing an external style sheet and include
> > the styles directly in the WebVTT header. Here is an example:
> >
> >
> > WEBVTT
> > Style:
> > ::cue {
> >   line-height: 5.33vh;
> >   font-size: 4.1vh;
> >   font-family: monospace;
> >   font-style: normal;
> >   font-weight: normal;
> >   background-color: black;
> >   color: white;
> > }
> > ##
> > Kind: captions
> > Language: en-US
> >
> > I don't see much discussion of inline styles in the WebVTT spec.  Is it also
> > possible to have named styles defined inline like this?
> >
> > ::cue(c.white) {
> >   color: white;
> > }
> > ::cue(c.red) {
> >   color: red;
> > }
> >
> >
> > Thanks,
> > David
> 

David Singer
Multimedia and Software Standards, Apple Inc.

Received on Friday, 28 June 2013 16:46:26 UTC