This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
AlignSetting includes "left" and "right", but tables in the lineAlign/positionAlign setters do not, making the behavior undefined.
I was in fact wondering if I need to define a different type for them. My thoughts were that if a string is used that is not identified in the table, lineAlign and positionAlign would not be set, which is exactly the same as if those strings were not listed, so I could skip defining a new type. Is that not appropriate? If not, I'm happy to create a new type.
If an enum { "start", "middle", "end" } is used in IDL and "left" is set an exception (TypeError I think) is thrown, so that would be appropriate.
Ok, feel free to prepare the patch
Fixed in https://github.com/w3c/webvtt/pull/109