Bug 248547

Summary: StylePropertyMap.set() should wrap value in a calc() if outside the allowed range
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: CSSAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 175733    

Description Chris Dumez 2022-11-30 12:12:43 PST
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.
Comment 1 Chris Dumez 2022-11-30 12:18:20 PST
Pull request: https://github.com/WebKit/WebKit/pull/6982
Comment 2 EWS 2022-12-07 09:22:30 PST
Committed 257485@main (2a77eefbdefd): <https://commits.webkit.org/257485@main>

Reviewed commits have been landed. Closing PR #6982 and removing active labels.