[csswg-drafts] [css-syntax] Consume a component value (#3630)

tabatkins has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-syntax] Consume a component value ==
(migrated from mailing list)

**Johannes Koch said:**

> 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?

------------------

**Simon Sapin said:**

> Good catch! Fixed, thanks.
> 
> https://dvcs.w3.org/hg/csswg/rev/75bfda8a1479

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3630 using your GitHub account

Received on Thursday, 7 February 2019 23:15:28 UTC