Re: [csswg-drafts] [css-color-4] Resolving and serializing the opacity property (#8311)

I think clamping should not be defined in [4.2. Representing Transparency: the `<alpha-value>` syntax](https://drafts.csswg.org/css-color-4/#alpha-syntax):

  > **4.2. Representing Transparency: the `<alpha-value>` syntax**
  >
  > `<alpha-value> = <number> | <percentage>`
  >
  > [...]
  >
  > Values outside the range [0,1] are not invalid, but are clamped to that range at parsed-value time.

It is a sub-section of *4. Representing Colors: the `<color>` type* (which means clamping only applies in this context) but the problem is that all references of `<alpha-value>` links to the above production rule.

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


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

Received on Friday, 20 January 2023 07:06:33 UTC