Bug 250036 - [CSS-Typed-OM] flex-basis / flex-grow / flex-shrink computed values should be clamped
Summary: [CSS-Typed-OM] flex-basis / flex-grow / flex-shrink computed values should be...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks: 175733
  Show dependency treegraph
 
Reported: 2023-01-03 11:58 PST by Chris Dumez
Modified: 2023-01-03 14:04 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>