Closed Bug 1884036 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 44940 - [css-color] add test for LinkText and dark color-scheme

Categories

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

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Mayank <9084735+mayank99@users.noreply.github.com> wrote:

[css-color] add test for LinkText and dark color-scheme

Changes to system-color-consistency.html:

  1. Added a new test for LinkText.
  2. All tests are now run twice, once for color-scheme: light (default) and once for color-scheme: dark

Review with whitespace off for proper diff.


Note: I would have liked to also test for VisitedText but I'm not sure how to. <a href=""> should technically work but getComputedValue doesn't return the correct value (likely for security reasons).

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

Ran 8 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 56 subtests

Status Summary

Firefox

OK : 1
PASS: 56

Chrome

OK : 1
PASS: 55
FAIL: 1

Safari

OK : 1
PASS: 25
FAIL: 31

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e618b2367a57 [wpt PR 44940] - [css-color] add test for LinkText and dark color-scheme, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.