You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To fix #219 (comment) I find the flat structure of the parsing algorithm with "jump to step foo" makes things hard to work with. Explore a different way to specify the parser that can e.g. share steps for skipping to the next blank line or "-->", and makes it easier to add new kinds of blocks.
See https://output.jsbin.com/guhura/ (in Firefox) for a comparison between an attempted literal implementation of the current spec and a new, hopefully better, implementation. The new implementation also fixes #224 (this is how I discovered it).
Introduce a new "consume a WebVTT block" concept that is used
for parsing the header, cues, and discarding of bad cues.
This should be strictly editorial except that it also fixes#224.
It should be easier to add new block types like STYLE, and hopefully
easier to implement without having the algorithm use GOTO everywhere.
To fix #219 (comment) I find the flat structure of the parsing algorithm with "jump to step foo" makes things hard to work with. Explore a different way to specify the parser that can e.g. share steps for skipping to the next blank line or "-->", and makes it easier to add new kinds of blocks.
This should be purely editorial.
Also see http://krijnhoetmer.nl/irc-logs/whatwg/20151022#l-301 for some discussion.
The text was updated successfully, but these errors were encountered: