Skip to content

[css-syntax] Consume a component value #3630

@tabatkins

Description

@tabatkins

(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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions