[Bug 14572] <track> Collect space characters and discard them after step 8.

http://www.w3.org/Bugs/Public/show_bug.cgi?id=14572

Fredrik Söderquist <fs@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fs@opera.com
            Summary|Collect space characters    |<track> Collect space
                   |and discard them after step |characters and discard them
                   |8.                          |after step 8.

--- Comment #1 from Fredrik Söderquist <fs@opera.com> 2011-10-27 12:58:59 UTC ---
In http://www.whatwg.org/html#parse-the-webvtt-settings, there seems to be a
step missing to handle any separating whitespace between settings.

Consider for example the settings string:

"T:75% L:10"

After parsing the "T:75%" part the algorithm is looking at " L:10" and is at
step 2. Step 3 will then set 'setting' to " " and move 'position'. Step 5 will
then set 'setting' to "" and step 6 consumes the "L". In step 8 the
Otherwise-branch is taken and ":10" is consumed, resulting in the loss of the
L-setting.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 27 October 2011 12:59:01 UTC