[Bug 28265] [webvtt] incomplete ruby implementation [I18N-ISSUE-431]

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28265

fantasai <fantasai.bugs@inkedblade.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fantasai.bugs@inkedblade.ne
                   |                            |t

--- Comment #15 from fantasai <fantasai.bugs@inkedblade.net> ---
(In reply to Courtney from comment #14)
> Silvia,  
> 
> Here are some of the features I am being asked for:
> 1.  Ruby alignment, specifically the ability to specify spacing of
> multi-character Ruby over main text.  There are two cases- Ruby that
> annotates a span of multiple characters in the main text, and Ruby that
> contains multiple characters.  Sometimes Ruby can be applied to individual
> characters in the main text and sometimes it needs to be applied to a span
> of them.  Support for <rtc> is required to apply Ruby to a span of
> characters in the main text, and to group Ruby characters together.  I think
> that <rbc> doesn't need to be explicit in most cases.  While XHMTL defines
> <rbc>, it is generated as an anonymous box in HTML; WebVTT could do the
> same.  ( Disclaimer:  I'm not an HTML expert, but my reference for that
> information is the ruby-base-container definition in 
> https://drafts.csswg.org/css-ruby/, and the lack of <rbc> in the HTML spec. 
> I actually can't find where <rbc> is defined, so if someone can send a
> reference to it, it would be appreciated. )

Spanning multiple characters is accomplished by placing more than one character
in the <rb>, not by using <rbc> or <rtc>. You are confusing what a "base" is
with what a "character" is: in CJK languages each base is frequently one
character, but this is not necessary.

<rtc> support would be needed only if you have multiple levels of ruby.

> 2.  Ruby placement - under/over ( for horizontal ) and left/right ( for
> vertical ) of main text.  In my understanding, placing Ruby under main text
> is rare ( though there are examples of it in the HTML spec ).  But, with
> vertical subtitles, being able to specify left or right of the text is
> valuable.  Looks like this can be accomplished with the CSS ruby-position
> property (https://drafts.csswg.org/css-ruby/) though the spec seems to be a
> draft.

Yes, ruby-position will do this. There is no HTML support for this since it is
a presentational consideration, not a semantic one.

> 3.  Bōten emphasis dots - these can be delivered as Ruby annotations if the
> character for them is available.
> 
> I have not had requests for support for <rp> or for double Ruby
> annotations-i.e: above and below main text.  But, my feeling is that we
> should probably just adopt the HTML Ruby support wholesale in WebVTT, as the
> CSS Ruby support proposal is designed to work with it.

This should be accomplished by supporting the text-emphasis property:
  http://www.w3.org/TR/css-text-decor-3/#emphasis-marks

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Friday, 14 August 2015 20:36:38 UTC