- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Tue, 23 Jan 2024 08:37:04 +0000
- To: public-css-archive@w3.org
> In *15.1 Serializing alpha values* (CSS Color 4), the emphasized parts below seem redundant: > > > [...] If, **after clamping to the range [0.0, 1.0]** the alpha is exactly 1 [...] Actually I would remove it from [4.2. Representing Transparency in Colors: the `<alpha-value>` syntax](https://drafts.csswg.org/css-color-4/#alpha-syntax): > Unless otherwise specified, an `<alpha-value>` component of a color defaults to 100% when omitted. **Values outside the range `[0,1]` are not invalid, but are clamped to that range at parsed-value time**. I agree with https://github.com/w3c/csswg-drafts/issues/7677#issuecomment-1380872899, you just need the specified value to be clamped. Implementers may choose to do it at parse time or not. -- GitHub Notification of comment by cdoublev Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8311#issuecomment-1905558509 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 23 January 2024 08:37:06 UTC