WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
245347
Latest css/css-color wpt has failing tests that need triage
https://bugs.webkit.org/show_bug.cgi?id=245347
Summary
Latest css/css-color wpt has failing tests that need triage
Sam Weinig
Reported
2022-09-18 17:07:48 PDT
The following new tests are failing: imported/w3c/web-platform-tests/css/css-color/at-color-profile-001.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-color/currentcolor-003.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-color/deprecated-sameas-001.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-color/deprecated-sameas-002.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-color/deprecated-sameas-003.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-color/deprecated-sameas-004.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-color/deprecated-sameas-005.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-color/deprecated-sameas-006.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-color/deprecated-sameas-010.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-color/deprecated-sameas-011.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-color/deprecated-sameas-013.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-color/deprecated-sameas-014.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-color/deprecated-sameas-015.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-color/deprecated-sameas-016.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-color/deprecated-sameas-020.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-color/deprecated-sameas-021.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-color/deprecated-sameas-022.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-color/deprecated-sameas-023.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-color/lch-009.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-color/lch-010.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-color/oklch-009.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-color/oklch-010.html [ ImageOnlyFailure ]
Attachments
rendering in safari, firefox, chrome
(189.45 KB, image/png)
2025-09-30 00:59 PDT
,
Karl Dubost
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2022-09-22 13:35:06 PDT
The deprecated-sameas* tests are due to not implementing a new requirement for some of the system-colors to have the same computed values as some others. Fix tracked in
https://bugs.webkit.org/show_bug.cgi?id=245533
.
Radar WebKit Bug Importer
Comment 2
2022-09-25 17:08:18 PDT
<
rdar://problem/100389360
>
Karl Dubost
Comment 3
2025-09-30 00:59:01 PDT
Created
attachment 476898
[details]
rendering in safari, firefox, chrome Hmm there are still things failing. Let's take.
https://wpt.live/css/css-color/deprecated-sameas-001.html
the square is grey in Firefox, black in Chrome. Top is blue, bottom is white in Safari. <div class="test"></div> <div class="ref"></div> with @supports (color: ActiveBorder) { .test { background-color: ActiveBorder; } } and .ref { background-color: ButtonBorder; width: 12em; height: 6em; } ActiveBorder resolves to: rgb(0, 103, 244) ButtonBorder resolves to: rgb(255, 255, 255) The spec says: ActiveBorder Active window border. Same as ButtonBorder.
https://drafts.csswg.org/css-color-4/#deprecated-system-colors
So activeBorder should be white.
Karl Dubost
Comment 4
2025-09-30 01:05:56 PDT
https://searchfox.org/wubkat/rev/ae89fb172f2f6dfa362aff8493e0e2978a9800d4/Source/WebCore/rendering/mac/RenderThemeMac.mm#498-502
```cpp // The following colors would expose user appearance preferences to the web, and could be used for fingerprinting. // These are available only when the web view opts into the system appearance. case CSSValueWebkitFocusRingColor: case CSSValueActiveborder: return focusRingColor(options); ``` I guess it's why it gets blue?
Karl Dubost
Comment 5
2025-09-30 01:12:57 PDT
Deprecated - sameAs -> another property * ActiveCaption (black) -> Canvas (white)
https://searchfox.org/wubkat/rev/ae89fb172f2f6dfa362aff8493e0e2978a9800d4/Source/WebCore/rendering/mac/RenderThemeMac.mm#535-536
```cpp case CSSValueActivecaption: return @selector(windowFrameTextColor); ``` * AppWorkSpace (gray) -> Canvas (white)
https://searchfox.org/wubkat/rev/ae89fb172f2f6dfa362aff8493e0e2978a9800d4/Source/WebCore/rendering/mac/RenderThemeMac.mm#537-538
```cpp case CSSValueAppworkspace: return @selector(headerColor); ``` etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug