[webvtt] Parsing: should drop line:100,invalid setting

zcorpan has just created a new issue for 
https://github.com/w3c/webvtt:

== Parsing: should drop line:100,invalid setting ==
http://w3c.github.io/webvtt/#cue-timings-and-settings-parsing

> Let cue’s WebVTT cue line be number\.
> 
> If the last character in linepos is a U\+0025 PERCENT SIGN character
 \(%\), then let cue’s WebVTT cue snap\-to\-lines flag be false\. 
Otherwise, let it be true\.

I think we should validate `linealign` before setting the WebVTT cue 
line. Equivalent for position setting. It is bad for future 
extensibility to use the line/position with unrecognized alignment.

(Noticed this when looking at @BenjaminSchaaf's revamp of parsing 
tests.)

Please view or discuss this issue at 
https://github.com/w3c/webvtt/issues/336 using your GitHub account

Received on Wednesday, 1 March 2017 07:18:26 UTC