github web-platform-tests/wpt merge_pr_48495

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
4 months ago

Fix background-valid.html.

This aligns with our behavior and Chrome's. Colors generally serialize
to their resolved form in getComputedStyle(), and we only preserve
keyword colors during parsing for legacy reasons (but this is not the
case, because the transparent color comes from the engine).

Differential Revision: https://phabricator.services.mozilla.com/D224760

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1917052
gecko-commit: f84e7920a7cda35d340b4be1446b28674a6518de
gecko-reviewers: dholbert

Don't miss a new wpt release

NewReleases is sending notifications on new releases.