W3C home > Mailing lists > Public > www-international@w3.org > January to March 2016

[Bug 28257] [webvtt] start/end linked to left/right [I18N-ISSUE-422]

From: <bugzilla@jessica.w3.org>
Date: Mon, 15 Feb 2016 10:49:02 +0000
To: www-international@w3.org
Message-ID: <bug-28257-4285-Tnxd0Xzcbp@http.www.w3.org/Bugs/Public/>

--- Comment #33 from Silvia Pfeiffer <silviapfeiffer1@gmail.com> ---
(In reply to Simon Pieters from comment #32)
> (In reply to Silvia Pfeiffer from comment #30)
> > When the text is "align:start" and the box is 50% size, and you have RTL
> > text, the text box sits in the right half, not the left half like this:
> > 
> > +---------------------------------------+
> > |                                       |
> > |                           txet cibarA |
> > +---------------------------------------+
> >  ^ 0%               ^ 50%              ^ 100%
> > 
> > That's the intention of automating the box placement based on the alignment
> > and directionality.
> > 
> > If the algo doesn't describe it this way, then there's a bug for RTL.
> OK, what you say now contradicts what you said earlier (and what the spec
> currently says).

Yeah, it's confusing. I think it also changed at some point in the past and I
remembered a former spec.

Originally, there was a difference between 'align:left' and 'align:start' that
also influenced the positioning of the box. That is what I remembered.

But now that I think back, I think we changed it.

I think it was a use case from YouTube where they had a 50% wide box with left
aligned LTR text and were surprised when the box flipped over to the other side
after a translation. That was was unexpected because the box had been reduced
to avoid stuff on screen. Basically the argument was that a translation should
not move the text box.

> Do you now want the base direction of the cue text to
> affect the position of the box?

It doesn't matter what I want - it's what makes sense to captioners that

> (The base direction of the first line? Note
> that each line can have different base direction.)

For WebVTT, I would think it's the first line that determines the position of
the box.

BTW: this is all a bit tricky and it took me a while to put it all in a logical
system, because this box related positioning is so different from the CSS flow
based positioning. Anyway - I'm sorry about the confusion.

You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 15 February 2016 10:49:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 21 September 2016 22:37:40 UTC