W3C home > Mailing lists > Public > public-texttracks@w3.org > September 2012

Re: Yet Another Scroll-Up Idea (YASUI) in VTT

From: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
Date: Tue, 25 Sep 2012 22:32:57 +1000
Message-ID: <CAHp8n2ny42ZdpH5Ds83uzS1ZR5S07vBYUeY-51H7Xfu=o1A1gA@mail.gmail.com>
To: Simon Pieters <simonp@opera.com>
Cc: public-texttracks <public-texttracks@w3.org>, David Singer <singer@apple.com>
On Fri, Sep 21, 2012 at 4:47 PM, Simon Pieters <simonp@opera.com> wrote:
> On Fri, 21 Sep 2012 03:25:12 +0200, Silvia Pfeiffer
> <silviapfeiffer1@gmail.com> wrote:
>
>> It's  a bit outdated and replaced by
>> http://dvcs.w3.org/hg/text-tracks/raw-file/default/608toVTT/608toVTT.html
>>  now. I have emailed the group about this before and asked if it can
>> become part of what we're working on.
>
>
> The style sheet looks wrong. You should drop the "video track" from all
> selectors. Also this ruleset seems mostly wrong:
>
> video track {
>   font-family: monospace;
>   font-size: 100%;
>   font-style: normal;
>   font-weight: normal;
>   font-effect: none;
>   background-color: black;
>   color: white;
>   line-height: 100%;
>   position: absolute;
>   top: 10%;
>   left: 10%;
>   width: 80%;
>   height: 80%;
> }
>
> The selector should be just ::cue (matches the WebVTT root), there's no
> font-effect property, position, top, left, width and height do not apply to
> WebVTT elements.
>
> Are you sure you want font-size:100%? IIRC it will inherit the font size of
> the video element (which is likely to be 16px or so; won't scale with the
> video). The default is 5vh i.e. 5% of the video viewport's height.


I've made some changes to that spec. Still needs some effort to get
the rest of the 708 features specified.

http://dvcs.w3.org/hg/text-tracks/raw-file/default/608toVTT/608toVTT.html

I've used the suggestion of Ian to reference external stylesheets with
an @import from https://www.w3.org/Bugs/Public/show_bug.cgi?id=18530 .
I've used multi-line header metadata for it with the bulky "##" end.
Not sure yet if I like it..

Cheers,
Silvia.
Received on Tuesday, 25 September 2012 12:36:29 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 8 May 2014 13:18:52 UTC