Re: [css-houdini-drafts] Should StylePropertyMap.set() wrap out-of-range values in a calc()? (#1081)

Actually, I did find spec text for this finally:
https://drafts.css-houdini.org/css-typed-om-1/#create-an-internal-representation

> If any component of property’s CSS grammar has a limited numeric range, and the corresponding part of value is a [CSSUnitValue](https://drafts.css-houdini.org/css-typed-om-1/#cssunitvalue) that is outside of that range, replace that value with the result of wrapping it in a fresh [CSSMathSum](https://drafts.css-houdini.org/css-typed-om-1/#cssmathsum) whose [values](https://drafts.css-houdini.org/css-typed-om-1/#dom-cssmathsum-values) internal slot contains only that part of value.

-- 
GitHub Notification of comment by cdumez
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/1081#issuecomment-1360414253 using your GitHub account


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

Received on Tuesday, 20 December 2022 22:50:25 UTC