Bug 1754792 [wpt PR 32802] - Fix transition of background color depending on currentc...
commitc65f86cdd90646e04d9300c13d05014b4479fbd6
authorKevin Ellis <kevers@google.com>
Sun, 13 Feb 2022 21:48:06 +0000 (13 21:48 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sat, 26 Feb 2022 11:58:19 +0000 (26 11:58 +0000)
treeba277d4921b959cb3c0292bd42ee51c0f5e6c73c
parent58b66e4bb610dfd45e471edcb115c50c2f4c61dd
Bug 1754792 [wpt PR 32802] - Fix transition of background color depending on currentcolor, a=testonly

Automatic update from web-platform-tests
Fix transition of background color depending on currentcolor

The process for extracting an RGBA color from an interpolable value does
not account for additional color blending operations such as current
color. To fix, we add a check that the value represents a simple RGBA
color prior to extracting its value and give up otherwise, which
triggers a fallback to the main thread.

Bug: 1290371
Change-Id: I7cadb7961e198528d3d43bf987cb0909aa765440
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3450601
Reviewed-by: Philip Rogers <pdr@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#970068}

--

wpt-commits: fec5e6ffebff555362a861ca8221911c7dcaf7fb
wpt-pr: 32802
testing/web-platform/tests/css/css-backgrounds/animations/background-color-transition-currentcolor-ref.html [new file with mode: 0644]
testing/web-platform/tests/css/css-backgrounds/animations/background-color-transition-currentcolor.html [new file with mode: 0644]