[csswg-drafts] [css-typed-om] Minor issue in add(...values) (#12384)

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

== [css-typed-om] Minor issue in add(...values) ==
Step 2 of the [add(...values) method](https://drafts.css-houdini.org/css-typed-om-1/#dom-cssnumericvalue-add) states:
> return a new [CSSUnitValue](https://drafts.css-houdini.org/css-typed-om-1/#cssunitvalue) whose [unit](https://drafts.css-houdini.org/css-typed-om-1/#dom-cssunitvalue-unit) internal slot is set to this’s [unit](https://drafts.css-houdini.org/css-typed-om-1/#dom-cssunitvalue-unit) internal slot 

However, `this` might be a `CSSMathSum object that does not have a unit internal slot.

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


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

Received on Sunday, 22 June 2025 08:56:31 UTC