[Bug 14570] <track> In section 4.8.10.12.1/"A line position"/"text track cue computed line position" algorithm: It seems better to let the step 5 be "Increment n by one"

http://www.w3.org/Bugs/Public/show_bug.cgi?id=14570

--- Comment #2 from Fredrik Söderquist <fs@opera.com> 2011-11-01 07:56:34 UTC ---
It is my understanding that (assuming horizontal writing direction)
non-negative values in this context mean "N:th line from the top", while
negative values mean "N:th line from the bottom" (possibly with "(N+1):th" for
the non-negative case to handle 0). Given the mapping:

  0, 1, 2, 3... -> 1, 0, -1, -2... (i.e a line function lp = -(N - 1))

the first track would get primary placement on the second line from the top,
while the second would get the first line and the third would be the first from
the bottom.

With the suggested mapping:

  0, 1, 2, 3... -> -1, -2, -3, -4... (function lp = -(N + 1))

the first track would get the first line from the bottom, the second would get
the second et.c.

Furthermore it seems that a good default placement in the trivial case of one
track and one cue from said track with the default position (which would be
'auto') would be as the first line from the bottom.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 1 November 2011 07:56:40 UTC