W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2020

Re: [csswg-drafts] [css-syntax-3] <percentage-token> type flag is never set (#5483)

From: triple-underscore via GitHub <sysbot+gh@w3.org>
Date: Fri, 28 Aug 2020 21:48:21 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-683161117-1598651300-sysbot+gh@w3.org>
I don't think it was a mistake, because the type flag is not defined for `<percentage-token>`.
The spec states [in section 4](https://drafts.csswg.org/css-syntax-3/#tokenization):
> `<number-token>`, `<percentage-token>`, and `<dimension-token>` have a numeric value. `<number-token>` and `<dimension-token>` *additionally* have a type flag set to either "integer" or "number". The type flag defaults to "integer" if not otherwise set. `<dimension-token>` additionally have a unit composed of one or more code points.

(and there is no such kind of things defined for `<percentage-token>` anywhere else.)

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 28 August 2020 21:48:23 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:13 UTC