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

[css3-syntax] Percent in Number-rest state

From: Johannes Koch <koch@w3development.de>
Date: Mon, 07 Jan 2013 17:35:04 +0200
To: <www-style@w3.org>
Message-ID: <ee6ff2b21f169788f83cdc3d0996ef85@w3development.de>
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.

-- 
In te domine speravi; non confundar in aeternum
(Te deum, 4th century)
Received on Monday, 7 January 2013 15:35:27 GMT

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