StylePropertyMap.set() should wrap value in a calc() if outside the allowed range, instead of throwing. This is the behavior expected by WPT tests and it matches what Blink is doing, though I cannot find a reference to this in the specification.
Pull request: https://github.com/WebKit/WebKit/pull/6982
Committed 257485@main (2a77eefbdefd): <https://commits.webkit.org/257485@main> Reviewed commits have been landed. Closing PR #6982 and removing active labels.