Re: [css-syntax] Consume a component value

On 12/03/2014 22:03, Johannes Koch wrote:
> ED 2014-03-05:
>
> input: {}
>
> 5.4.6 Consume a component value
>
> Consume the next input token.
> [current input token is {]
>
> If the current input token is a <{-token>, <[-token>, or <(-token>,
> consume a simple block and return it.
>
> -> 5.4.7 Consume a simple block
>
> Note: This algorithm assumes that the next input token has already been
> checked to be an <{-token>, <[-token>, or <(-token>.
> [No: the _current_ input token is {]
>
> Consume the next input token.
> [current input token is }]
>
> The ending token is the mirror variant of the current input token. (E.g.
> if it was called with <[-token>, the ending token is <]-token>.)
> [Huh?]
>
> ---
> Should 5.4.6 read
>
> If the _next_ input token is a ...
>
> instead?
>

Good catch! Fixed, thanks.

https://dvcs.w3.org/hg/csswg/rev/75bfda8a1479

-- 
Simon Sapin

Received on Thursday, 13 March 2014 16:05:17 UTC