W3C home > Mailing lists > Public > www-style@w3.org > December 2014

Re: [css-ruby] ruby-position on 2 line subtitles/captions

From: Glenn Adams <glenn@skynav.com>
Date: Sun, 14 Dec 2014 15:17:23 -0700
Message-ID: <CACQ=j+c0-EVFsAnuy=B4RD0G-3-J5OZyKafCnsMkAK=D3gB3yg@mail.gmail.com>
To: Xidorn Quan <quanxunzhen@gmail.com>
Cc: W3C Style <www-style@w3.org>
On Sun, Dec 14, 2014 at 2:54 PM, Xidorn Quan <quanxunzhen@gmail.com> wrote:
> On Mon, Dec 15, 2014 at 2:05 AM, Glenn Adams <glenn@skynav.com> wrote:
>> Recent work on supporting deployed Japanese Subtitling/Captions in TTML
>> indicates a requirement to support ruby positioning on 2 line
>> subtitles/captions where the first line uses right/above (before) and the
>> second line uses left/below (after). We have addressed this in TTML by
>> introducing an 'outside' keyword, which is interpreted as 'before' for
>> lines 1 through N-1 and 'after' for the Nth (last) line.
> I guess it would make more sense to combine ::first-line with
> ruby-position than to define a new value. It would have different behavior
> from what you defined here when there are more than two lines, but I wonder
> if either way gives an ideal result in that case.

TTML doesn't have selectors, so that option isn't available there. Even if
it were available, it doesn't seem quite proper to distribute the semantics
of positioning in that fashion, i.e., to rely upon first line overrides.
But, yes, that remains an option with CSS.

> - Xidorn
Received on Sunday, 14 December 2014 22:18:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:49 UTC