[csswg-drafts] "Consume qualified rule" section in the spec. appears to mention consumption of simple block _twice_? [css-syntax] (#10119)

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

== "Consume qualified rule" section in the spec. appears to mention consumption of simple block _twice_? [css-syntax] ==
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>](https://www.w3.org/TR/css-syntax-3/#tokendef-open-curly)
    [Consume a simple block](https://www.w3.org/TR/css-syntax-3/#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](https://www.w3.org/TR/css-syntax-3/#simple-block) with an associated token of [<{-token>](https://www.w3.org/TR/css-syntax-3/#tokendef-open-curly)
    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 related to the sentence "Repeatedly consume next input token" that precedes the steps, the second item above appears to basically express the same procedure as the first.

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.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 22 March 2024 21:26:45 UTC