Bug 248966

Summary: Drop shouldForceEnclosingCalcInCSSText flag recently added to CSSCalcExpressionNode
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   
Bug Depends on:    
Bug Blocks: 175733    

Description Chris Dumez 2022-12-08 11:52:55 PST
Drop shouldForceEnclosingCalcInCSSText flag that was recently added to CSSCalcExpressionNode in 257485@main. We don't need it, we can simply wrap the number in a sum to make sure that the surrounding `calc()` isn't dropped during serialization.
Comment 1 Chris Dumez 2022-12-08 11:54:42 PST
Pull request: https://github.com/WebKit/WebKit/pull/7337
Comment 2 EWS 2022-12-09 04:15:55 PST
Committed 257619@main (0476db43bf13): <https://commits.webkit.org/257619@main>

Reviewed commits have been landed. Closing PR #7337 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-12-09 04:16:27 PST
<rdar://problem/103176800>