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

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

--- Comment #19 from Silvia Pfeiffer <silviapfeiffer1@gmail.com> ---
(In reply to fantasai from comment #15)
> (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.


Based on this, I am not convinced we need to add any more elements for the
WebVTT specific use case. Particularly since Mozilla reported in bug 23874 :
"We looked and didn't find any wild examples of <rp> in subtitles."


> > 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.


It seems the main requirement for ruby extensions on top of what is currently
in WebVTT is this ruby-position CSS feature.


> > 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

OK, we can leave emphasis-marks for the next version of WebVTT.

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

Received on Wednesday, 30 September 2015 19:37:54 UTC