[Bug 28267] New: [webvtt] 3.1 Line wrapping for non-Latin scripts [I18N-ISSUE-434]

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

            Bug ID: 28267
           Summary: [webvtt] 3.1 Line wrapping for non-Latin scripts
                    [I18N-ISSUE-434]
           Product: TextTracks CG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebVTT
          Assignee: dave.null@w3.org
          Reporter: silviapfeiffer1@gmail.com
        QA Contact: public-texttracks@w3.org
                CC: philipj@opera.com, silviapfeiffer1@gmail.com

Feedback by Addison Phillips from W3C I18N group:
http://lists.w3.org/Archives/Public/public-tt/2015Mar/0066.html

I18N comment: https://www.w3.org/International/track/issues/434

3.1 Text track cues
http://www.w3.org/TR/2014/WD-webvtt1-20141111/#text-track-cues

Line wrapping should take into account the special rules needed for scripts
such as the following:

- Chinese, Japanese and Korean wrap after characters, but don't put certain
characters at the start/end of a line

- Thai and other SE Asian scripts wrap at word boundaries, but words are not
delimited by spaces – spaces are instead used to separate phrases.

- Tibetan wraps after the tsek character that follows a syllable – words are
not separated by spaces.

- Indic and other complex scripts break at orthographic syllable boundaries,
which are often two or more grapheme clusters.

See http://www.w3.org/TR/css3-text/#line-breaking for additional background.
(http://r12a.github.io/scripts/tutorial/part5 provides additional examples, if
needed.)

6.2.1 says that "Text runs must be wrapped according to the CSS line-wrapping
rules", but that is a little vague (and, to be honest, the CSS information on
script behaviour is also somewhat sparse). No mention is made of default
settings for the line-break and word-break properties.

It would be good, as a minimum, to remind implementers that script-specific
wrapping algorithms need to be supported for WebVTT content.

(6.2.2 says that "the 'word-wrap' property must be set to 'break-word'". Note
that a alternative, and somewhat more descriptive name for this property is
overflow-wrap.)

In addition, we noticed in:

http://www.w3.org/TR/webvtt1/#cues-with-multiple-lines

In Section 1.1, there is discussion about line-wrapping and line-breaking. The
examples are given in English. "Balancing" line wrapping might take different
forms because of the presentational needs of various langauges.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Sunday, 22 March 2015 00:19:36 UTC