W3C home > Mailing lists > Public > www-style@w3.org > January 2013

Re: [css3-syntax] Percent in Number-rest state

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 7 Jan 2013 10:35:52 -0800
Message-ID: <CAAWBYDCZKhq+Xgi=0wQVD3hhLNGjV23aZpxUSB0dn=L7DHusKA@mail.gmail.com>
To: Johannes Koch <koch@w3development.de>
Cc: www-style list <www-style@w3.org>
On Mon, Jan 7, 2013 at 7:35 AM, Johannes Koch <koch@w3development.de> wrote:
> Hi, here's a question about the Syntax Module Editor's Draft 5 January 2013:
>
> Tokenization:
>
> 3.3.16. Number-rest state
> (<http://dev.w3.org/csswg/css3-syntax/#number-rest-state>):
>
> U+0025 PERCENT SIGN (%)
>     Emit a percentage token with its value set to the number produced by
> interpreting the number token's representation as a base-10 number. Switch
> to the data state. Reconsume the current input character.
>
> Why is the current input character ('%') to be reconsumed? The result is an
> additional delim token with value '%' emitted in Data state.

Sorry, error on my part.  It's probably a copypaste artifact from the
previous clause that I forgot to delete.

~TJ
Received on Monday, 7 January 2013 18:36:38 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:04 GMT