This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24315 - [WebVTT] Is the default line alignment start or middle?
Summary: [WebVTT] Is the default line alignment start or middle?
Status: RESOLVED FIXED
Alias: None
Product: TextTracks CG
Classification: Unclassified
Component: WebVTT (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Silvia Pfeiffer
QA Contact: This bug has no owner yet - up for the taking
URL:
Whiteboard: v1
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-17 02:20 UTC by Loretta Guarino Reid
Modified: 2014-02-13 11:00 UTC (History)
3 users (show)

See Also:


Attachments

Description Loretta Guarino Reid 2014-01-17 02:20:45 UTC
There is some disagreement about the default value for line alignment:

3.1 Text Track Cues - line alignment default is start

4.4.2 WebVTT cue settings - line alignment default is middle

5.1 WebVTT file parsing - line alignment default is start
Comment 1 Silvia Pfeiffer 2014-01-19 22:35:26 UTC
This is about the vertical alignment for horizontal text, which is a new feature. It specifies how the lines in a cue box are default positioned between the top and the bottom of the cue box. We hadn't specified this before, but we haven't really had the concept of an explicit cue box either.

I currently think we should use "start" as the default alignment so that if the cue box gets filled with more text (e.g. via paint-on text), the space is used better. Let me know if you think otherwise.

"line alignment" in 3.1 relates to the second part of the  "line:" setting and defaults to "start", so this is correct.

In 4.4.2, the note is wrong and should say "start".

5.1 "start" as default for line alignment is correct.
Comment 2 Philip Jägenstedt 2014-01-27 08:39:09 UTC
Setting to v1 since this is about the position/alignment confusion.