Bug 257255 - Don't crash when we can't resolve currentcolor
Summary: Don't crash when we can't resolve currentcolor
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-05-24 04:43 PDT by Matthieu Dubet
Modified: 2023-05-31 09:48 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 Matthieu Dubet 2023-05-24 04:43:36 PDT
For some properties (gradient, drop-shadow) we can't resolve currentcolor early enough.
We should return an invalid color in those cases instead of crashing.
Comment 1 Matthieu Dubet 2023-05-24 04:43:44 PDT
rdar://108683501
Comment 2 Matthieu Dubet 2023-05-24 04:49:13 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14287
Comment 3 EWS 2023-05-31 09:48:42 PDT
Committed 264737@main (80e4d733b917): <https://commits.webkit.org/264737@main>

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