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    

Chris Dumez
Reported 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.
Attachments
Chris Dumez
Comment 1 2022-11-30 12:18:20 PST
EWS
Comment 2 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.
Note You need to log in before you can comment on or make changes to this bug.