Bug 248126

Summary: Make currentColor inherit properly in text-shadow & box-shadow
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: karlcow, m_dubet, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar, WPTImpact
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Description Tim Nguyen (:ntim) 2022-11-18 23:22:28 PST
Failing WPT: css/css-text-decor/text-shadow/currentcolor.html

There aren't any tests for box-shadow, but similar one can be created.

See results in FF & Chrome for reference.
Comment 1 Radar WebKit Bug Importer 2022-11-18 23:22:37 PST
<rdar://problem/102542182>
Comment 2 Tim Nguyen (:ntim) 2022-11-18 23:26:20 PST
There is a WPT for box-shadow: css/css-backgrounds/box-shadow-currentcolor.html
Comment 3 Matthieu Dubet 2022-11-28 06:12:55 PST
Pull request: https://github.com/WebKit/WebKit/pull/6857
Comment 4 EWS 2023-05-16 10:31:09 PDT
Committed 264120@main (c71ce85eb456): <https://commits.webkit.org/264120@main>

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