[webkit-changes] [WebKit/WebKit] 72fc87: [CSS] "currentcolor" should correctly inherit comp...
Matthieu Dubet
noreply at github.com
Tue Aug 22 10:33:24 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 72fc87a3b8db2919f0cc4e2e1ae2adfe9da56af4
https://github.com/WebKit/WebKit/commit/72fc87a3b8db2919f0cc4e2e1ae2adfe9da56af4
Author: Matthieu Dubet <m_dubet at apple.com>
Date: 2023-08-22 (Tue, 22 Aug 2023)
Changed paths:
A LayoutTests/imported/w3c/web-platform-tests/css/css-color/currentcolor-004-expected.html
A LayoutTests/imported/w3c/web-platform-tests/css/css-color/currentcolor-004-ref.html
A LayoutTests/imported/w3c/web-platform-tests/css/css-color/currentcolor-004.html
M Source/WebCore/style/StyleBuilderCustom.h
Log Message:
-----------
[CSS] "currentcolor" should correctly inherit computed :visited style
https://bugs.webkit.org/show_bug.cgi?id=260517
rdar://114254856
Reviewed by Tim Nguyen.
When using "currentcolor" in the color property,
its value is the inherit computed value (per spec).
This patch fixes it when we are computing :visited style for links.
* LayoutTests/imported/w3c/web-platform-tests/css/css-color/currentcolor-004-expected.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-color/currentcolor-004-ref.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-color/currentcolor-004.html: Added.
* Source/WebCore/style/StyleBuilderCustom.h:
(WebCore::Style::BuilderCustom::applyValueColor):
Canonical link: https://commits.webkit.org/267139@main
More information about the webkit-changes
mailing list