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

cdumez has just created a new issue for https://github.com/w3c/css-houdini-drafts:

== Should StylePropertyMap.set() wrap out-of-range values in a calc()? ==
Blink's implementation of StylePropertyMap.set() seems to have logic inside StylePropertyMap.set() to wrap out-of-range values in a `calc()` so that the operation succeeds instead of throwing.

For example. setting the `width` property to `-3%` would set it to `calc(-3%)`. This behavior is also covered by quite a few web-platform-tests (`css/css-typed-om/the-stylepropertymap/properties/width.html` for example).

However, I wasn't able to find any reference to this in the specification. Should this behavior get specified? Or should the tests get updated?


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


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

Received on Monday, 5 December 2022 16:36:26 UTC