Re: [csswg-drafts] [css-values-5] Accept progress notations for any `<number>` (#10841)

Somewhat related question: should a progress notation be considered an operator node or a leaf node?

For example, should `opacity: calc(progress(1 from 1 to 1))` serialize with or without the `calc()` wrapper? `calc(1)` (leaf case) should serialize with it and `calc(min(1em / 1px, 1))` (operator case) should serialize without it.

I suspect progress notations (and tree-counting functions and perhaps `random()`) should be considered calculations (but not math functions) and handled like math functions, ie. as operators.

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


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

Received on Monday, 9 September 2024 12:50:25 UTC