Bug 250036

Summary: [CSS-Typed-OM] flex-basis / flex-grow / flex-shrink computed values should be clamped
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: CSSAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://github.com/web-platform-tests/wpt/pull/37747
Bug Depends on:    
Bug Blocks: 175733    

Description Chris Dumez 2023-01-03 11:58:27 PST
flex-basis / flex-grow / flex-shrink computed values should be clamped, since the specification indicates the values cannot be negative:
- https://w3c.github.io/csswg-drafts/css-flexbox/#flex-basis-property
- https://w3c.github.io/csswg-drafts/css-sizing-3/#propdef-width
- https://w3c.github.io/csswg-drafts/css-flexbox/#flex-shrink-property
- https://w3c.github.io/csswg-drafts/css-flexbox/#flex-grow-property
Comment 1 Chris Dumez 2023-01-03 12:00:19 PST
Pull request: https://github.com/WebKit/WebKit/pull/8156
Comment 2 EWS 2023-01-03 14:03:55 PST
Committed 258403@main (da48215a5f58): <https://commits.webkit.org/258403@main>

Reviewed commits have been landed. Closing PR #8156 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-01-03 14:04:23 PST
<rdar://problem/103847560>