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 22356 - Make align and vertical attributes in WebVTT API enumerations
Summary: Make align and vertical attributes in WebVTT API enumerations
Status: RESOLVED FIXED
Alias: None
Product: TextTracks CG
Classification: Unclassified
Component: WebVTT (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Silvia Pfeiffer
QA Contact: This bug has no owner yet - up for the taking
URL: http://dev.w3.org/html5/webvtt/#webvt...
Whiteboard: v1
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-13 20:14 UTC by Rick Eyre
Modified: 2014-01-28 18:24 UTC (History)
6 users (show)

See Also:


Attachments

Description Rick Eyre 2013-06-13 20:14:52 UTC
It would make more sense for these to be enums as they can take only a limited set of values.
Comment 1 Silvia Pfeiffer 2013-06-13 23:21:01 UTC
agreed
Comment 2 Simon Pieters 2013-06-15 05:14:46 UTC
Agreed. The only normative change would be that TypeError is thrown (by WebIDL) instead of SyntaxError.
Comment 3 Philip J├Ągenstedt 2014-01-28 18:24:44 UTC
These have already been enums for a while now.

I'm getting rid of the SyntaxError bits in https://github.com/w3c/webvtt/pull/28