[webvtt] update computed position based on base direction of cue text

k2nagaraju has just created a new issue for https://github.com/w3c/webvtt:

== update computed position based on base direction of cue text ==
According to Example 18

If cue contains "align : start"
https://w3c.github.io/webvtt/#webvtt-cue-position => computed position = 50
https://w3c.github.io/webvtt/#webvtt-cue-position-alignment =>computed position alignment is line-left

cue size = 50 based on maximum size calculation
Determine the value of x-position for horizontal writing direction (LTR)
If the computed position alignment is line-left
Let x-position is computed position. => 50;

So cue will be drawn from x position 50 and size of 50.
But in example it is showed as it will start from x position 0.

Is it correct ? or computed position need to update based on base direction of cue text if position is auto and alignment is start/end.

Please view or discuss this issue at https://github.com/w3c/webvtt/issues/425 using your GitHub account

Received on Tuesday, 2 January 2018 13:12:42 UTC