Bug 247007 - Allow calc() with combined percentages and lengths for line-height
Summary: Allow calc() with combined percentages and lengths for line-height
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Darin Adler
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-10-25 08:37 PDT by Darin Adler
Modified: 2022-10-28 06:10 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Adler 2022-10-25 08:37:16 PDT
Currently line-height rejects calc with combined percentages and lengths. The parser allows it, but the style builder does not. This is causing us to fail some web platform tests.
Comment 1 Radar WebKit Bug Importer 2022-10-25 08:38:54 PDT
<rdar://problem/101546260>
Comment 2 Darin Adler 2022-10-25 08:42:21 PDT
Pull request: https://github.com/WebKit/WebKit/pull/5758
Comment 3 EWS 2022-10-28 06:09:58 PDT
Committed 256095@main (2946bb7fba02): <https://commits.webkit.org/256095@main>

Reviewed commits have been landed. Closing PR #5758 and removing active labels.