- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Wed, 22 Feb 2023 13:57:09 +0000
- To: public-css-archive@w3.org
> This would mean that determining if _there is enough information to resolve it_ as a `<number>` cannot be simply based on if the context is `<number> | <percentage>` or `<integer> | <percentage>`. It seems there are a few other productions in which the range to resolve `<percentage>` to `<number>` is not [0,1]. And it cannot be simplified in some of them (eg. `border-image-slice`, in which it resolves against the width of the border image). It seems a bit odd that a naked `<percentage>` (not wrapped in a math function) in `rgb()` is mapped to `<number>` when serializing whereas it is directly resolved to `<number>` when simplifying a math function but anyway, I understand this. -- GitHub Notification of comment by cdoublev Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8485#issuecomment-1440058769 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 22 February 2023 13:57:11 UTC