WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
252627
Recognize CSSUnitType::CSS_X as a resolution calc unit category
https://bugs.webkit.org/show_bug.cgi?id=252627
Summary
Recognize CSSUnitType::CSS_X as a resolution calc unit category
Ryan Reno
Reported
2023-02-20 15:58:30 PST
An expression like "calc(1x * 2)" does not recognize the 1x as a resolution unit when resolving the calc unit category. It defaults to CalculationCategory::Other which causes the parser to fail parsing the expression in the calc function if it's expecting a Dimension result.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-02-20 15:59:08 PST
<
rdar://problem/105700660
>
Ryan Reno
Comment 2
2023-02-20 16:08:25 PST
Pull request:
https://github.com/WebKit/WebKit/pull/10412
Ryan Reno
Comment 3
2023-02-21 12:02:37 PST
Submitted web-platform-tests pull request:
https://github.com/web-platform-tests/wpt/pull/38624
EWS
Comment 4
2023-02-22 09:22:02 PST
Committed
260678@main
(310f6772fe38): <
https://commits.webkit.org/260678@main
> Reviewed commits have been landed. Closing PR #10412 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug