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

Thank you. Again, I got confused by the list title ending with the colon suggesting the steps are directly related to the token while I can't understand _how_ one is supposed to compare or otherwise relate a "simple block" to the current input token:

> Repeatedly consume the [next input token](https://www.w3.org/TR/css-syntax-3/#next-input-token):

> [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.

I mean, a block is an object of different type than a token. When it is apparently asked whether a token is a block, I for one am not sure what is being asked of an implementation there.

The Editor's Draft has apparently rectified this as the steps mention tokens and tokens alone.

-- 
GitHub Notification of comment by amn
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10119#issuecomment-2016426291 using your GitHub account


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

Received on Saturday, 23 March 2024 09:35:31 UTC