Bug 261018 - [css-color] Fix serialization of infinity & -infinity in colors
Summary: [css-color] Fix serialization of infinity & -infinity in colors
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Nguyen (:ntim)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-08-31 23:35 PDT by Tim Nguyen (:ntim)
Modified: 2023-09-01 01:04 PDT (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 Tim Nguyen (:ntim) 2023-08-31 23:35:29 PDT
We serialize to values like `lch(50 Infinity 0)` which are invalid at parse-time.

Serialize infinity to `calc(infinity)` instead, which is valid in CSS.
Comment 1 Radar WebKit Bug Importer 2023-08-31 23:35:40 PDT
<rdar://problem/114808320>
Comment 2 Tim Nguyen (:ntim) 2023-08-31 23:39:08 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17330
Comment 3 EWS 2023-09-01 01:03:58 PDT
Committed 267544@main (ec9f0db07e3e): <https://commits.webkit.org/267544@main>

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