Skip to content

Commit

Permalink
Computed position alignment (#421)
Browse files Browse the repository at this point in the history
* Attempt to redirect whatwg copy to new location

* HTML-level redirect whatwg copy to new location

* Address start and end aligned text for positioned cue boxes.

Start and end aligned text need to have a computed position alignment
that is not center.
  • Loading branch information
silviapfeiffer authored Dec 21, 2017
1 parent 3dc9cad commit 827e593
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 62 deletions.
10 changes: 10 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1134,6 +1134,16 @@ fragment:</p>
return <a lt="WebVTT cue position line-right alignment">line-right</a> and abort these
steps.</p></li>

<li><p>If the <a>WebVTT cue text alignment</a> is <a lt="WebVTT cue start alignment">start</a>,
return <a lt="WebVTT cue position line-left alignment">line-left</a> if the base direction of the
cue text is left-to-right, <a lt="WebVTT cue position line-right alignment">line-right</a>
otherwise.</p></li>

<li><p>If the <a>WebVTT cue text alignment</a> is <a lt="WebVTT cue end alignment">end</a>,
return <a lt="WebVTT cue position line-right alignment">line-right</a> if the base direction of
the cue text is left-to-right, <a lt="WebVTT cue position line-left alignment">line-left</a>
otherwise.</p></li>

<li><p>Otherwise, return <a lt="WebVTT cue center alignment">center</a>.</p></li>

</ol>
Expand Down
Loading

0 comments on commit 827e593

Please sign in to comment.