Bug 262914

Summary: [css-color-5] Support light-dark() function for color values
Product: WebKit Reporter: Bramus <bramus>
Component: CSSAssignee: Aditya Keerthi <akeerthi>
Status: RESOLVED FIXED    
Severity: Normal CC: akeerthi, lwarlow, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 266889    
Bug Blocks:    

Bramus
Reported 2023-10-09 13:14:27 PDT
Implement light-dark(<color>, <color>) This function computes to the computed value of the first color, if the used color scheme is light or unknown, or to the computed value of the second color, if the used color scheme is dark. Relevant Links: - Spec: https://drafts.csswg.org/css-color-5/#light-dark - CrBug: https://bugs.chromium.org/p/chromium/issues/detail?id=1490618 - Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1856999
Attachments
Radar WebKit Bug Importer
Comment 1 2023-10-16 13:15:13 PDT
Aditya Keerthi
Comment 2 2023-12-26 09:34:02 PST
Aditya Keerthi
Comment 3 2024-01-27 14:27:29 PST
EWS
Comment 4 2024-01-28 16:33:04 PST
Committed 273634@main (42f9569ae95a): <https://commits.webkit.org/273634@main> Reviewed commits have been landed. Closing PR #23364 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.