[csswg-drafts] [css-values-4] Remove step 1 of serialize a math function? (#14341)

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

== [css-values-4] Remove step 1 of serialize a math function? ==
Per [§ 10.12 Range Checking](https://drafts.csswg.org/css-values-4/#calc-range), clamping is performed on computed/used values of math functions. Per step 1 of [§ 10.13. Serialization](https://drafts.csswg.org/css-values-4/#calc-serialize), this occurs at serialization time, which seems puzzling to me.

How could the used value of a color function (for example) be calculated as expected if it contains a math function and its clamping occurs at serialization time?

There is this somewhat related note in CSS Cascade:

  > the computed value is an abstract data representation: their definitions reflect that data representation, not how that data is serialized.

All this leads me to believe that step 1 of *serialize a math function* should be removed.

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


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

Received on Tuesday, 18 August 2026 08:26:12 UTC