Closed Bug 1825646 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 39288 - Add support for "dropShadow" in canvasFilter.

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Jean-Philippe Gravel <jpgravel@chromium.org> wrote:

Add support for "dropShadow" in canvasFilter.

For now, currentColor and color-scheme are not supported. These
depend on the DOM element computed style, which is not avaiable when
we do new CanvasFilter(...). To support CurrentColor and
color-schemes, we would need maintain unresolved colors in the
CanvasFilter object and resolve these colors only when the filter is
assigned to a canvas element context. This is possible, but it's better
if we only add this complexity if it's really needed.

Change-Id: I402c8a43c9e227ac3e5f363aee1946619a408716
Bug: 1428652
Reviewed-on: https://chromium-review.googlesource.com/4386673
WPT-Export-Revision: 662f39cb4fc449ef39da3a8f731997469736f0ef

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 4 tests

Status Summary

Firefox

OK : 2
FAIL : 3
TIMEOUT: 1
ERROR : 1

Chrome

OK : 2
FAIL : 3
TIMEOUT: 1
ERROR : 1

Safari

OK : 2
FAIL : 3
TIMEOUT: 1
ERROR : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d996879ccb55 [wpt PR 39288] - Add support for "dropShadow" in CanvasFilter., a=testonly https://hg.mozilla.org/integration/autoland/rev/cc2d8c638896 [wpt PR 39288] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.