Re: [csswg-drafts] [css-color-hdr-1] use one-or-more for `dynamic-range-limit-mix` grammar production (#11349)

> I think what might be desired here is to use # which is "one or more comma separated". This would satisfy the requirement for commas.

Sorry, this was my mistake. I intended for commas to be required.

> I think, in addition, we might want to specify something like #{2,} - considering all examples in the parse tests expect two or more values, and the spec talks about summing all values, I am unsure if it is redundant or not to specify just one value (e.g. dynamic-range-limit-mix(high 10%)).

My inclination would be to allow single-argument issues in `dynamic-range-limit-mix`. The reason being that the meaning is unambiguous (the computed value of `dynamic-range-limit-mix(high 10%)` is `high`), and allowing it is simpler.

-- 
GitHub Notification of comment by ccameron-chromium
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/11349#issuecomment-2535540547 using your GitHub account


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

Received on Wednesday, 11 December 2024 11:05:19 UTC