Closed Bug 1843144 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 40996 - CSS system color Highlight and HighlightText fix

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 40996 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/40996
Details from upstream follow.

Valerie Young <spectranaut@igalia.com> wrote:

CSS system color Highlight and HighlightText fix

I'm working on a fix of the CSS system color Highlight and HighlightText in chromium: https://chromium-review.googlesource.com/c/chromium/src/+/4679342

This is a useful test, but doesn't account for the fact that Highlight and HighlightText in chrome have some transparency. I simplified the test a little but primarily added a "yellow" background in the expectation file.

With these changes, the test still passes when I run it in firefox locally, and it is passes now when I run it in chrome with the patch linked above.

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.