Bug 248126 - Make currentColor inherit properly in text-shadow & box-shadow
Summary: Make currentColor inherit properly in text-shadow & box-shadow
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar, WPTImpact
Depends on:
Blocks:
 
Reported: 2022-11-18 23:22 PST by Tim Nguyen (:ntim)
Modified: 2023-05-16 10:31 PDT (History)
3 users (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) 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.