Skip to content

"Consume qualified rule" section in the "CSS Syntax Level 3" spec. appears to express same step _twice_, an omission? [css-syntax] #10119

@amn

Description

@amn

Reading https://www.w3.org/TR/css-syntax-3/#consume-qualified-rule I am confused as to why there is seemingly more or less identical steps described under "Repeatedly consume next input token", the first step is written thus:

<{-token>
Consume a simple block and assign it to the qualified rule’s block. Return the qualified rule.

Fair, enough, but then immediately after another is written thus:

simple block with an associated token of <{-token>
Assign the block to the qualified rule’s block. Return the qualified rule.

If we disregard the fact that it's not at all clear how the condition quoted above is related to the sentence "Repeatedly consume next input token" that precedes the steps, it appears to basically express the same procedure as the first, regardless, albeit in a less comprehensible form if you ask me.

Is this an omission, and at any rate, can someone in the know clarify this issue?

If the second parable (step) is removed entirely, then in fact, the list of steps looks entirely comprehensible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Closed as Question AnsweredUsed when the issue is more of a question than a problem, and it's been answered.css-syntax-3

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions