[csswg-drafts] [css-values-4] Definition of a calculation (#6802)

cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-values-4] Definition of a calculation ==
> A `calc()` function contains a single calculation, which is a sequence of values [...]

> The `min()` or `max()` functions contain one or more comma-separated calculations [...]

> To **parse a calculation**, given a calculation `values`:
>
> [previous steps...]
> 6. Return the result of simplifying a calculation tree from `values`.

> To **simplify a calculation tree** `root`:
>
> [previous steps...]
> 5. If `root` is a Min or Max node

If `calc()`, `min()`, and other functions are not calculations that contains calculation values, instead of being something that contains a calculation, I do not see how the calculation tree can be identified as a Min or Max node in step 5 of the procedure to simplify a calculation tree.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6802 using your GitHub account


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

Received on Saturday, 6 November 2021 20:21:12 UTC