Bug 248888

Summary: Stop reversing child expression in reifyMathExpression()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: CSSAssignee: Chris Dumez <cdumez>
Status: RESOLVED INVALID    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 175733    

Description Chris Dumez 2022-12-07 09:38:27 PST
Stop reversing child expression in reifyMathExpression(). As far as I can tell, this ends up being identical since those are children of a sum. However, the tests rely on a specific ordering when validating the results. When parsing something like "calc(1px + 1em)", we would end up with `1em` and first child and `1px` and second child, which was confusing.
Comment 1 Chris Dumez 2022-12-07 09:40:09 PST
Pull request: https://github.com/WebKit/WebKit/pull/7269