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 29132 - Possibly incorrect example in WebVTT spec
Summary: Possibly incorrect example in WebVTT spec
Alias: None
Product: TextTracks CG
Classification: Unclassified
Component: WebVTT (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: Web Media Text Tracks CG
Depends on:
Reported: 2015-09-17 16:11 UTC by olly.exoplayer
Modified: 2015-09-17 20:28 UTC (History)
2 users (show)

See Also:


Description olly.exoplayer 2015-09-17 16:11:14 UTC
Specifically, this sentence:

"The second cue has its cue box right aligned at the 90% mark of the video viewport width. The same effect can be achieved with "position:55%,start", which explicitly positions the cue box."

For that to be true, shouldn't the example be:

00:00:03.000 --> 00:00:06.500 position:90%,end size:35%

And not what it is now:

00:00:03.000 --> 00:00:06.500 position:90% align:end size:35%

Since, as I understand it, "align" applies to the text within the box, not the box itself.
Comment 1 olly.exoplayer 2015-09-17 17:10:11 UTC
Seems I was wrong, because the cue's computed position alignment inherits from "align".
Comment 2 Silvia Pfeiffer 2015-09-17 20:28:19 UTC
Great to see you managed to work it out!