Closed Bug 2056539 Opened 4 months ago Closed 4 months ago

[wpt-sync] Sync PR 61439 - Fix blank canvas output when chaining CSS filters with url() SVG filters

Categories

(Core :: Graphics: Canvas2D, task, P4)

task

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox155 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Hyowon Kim <hyowon@igalia.com> wrote:

Fix blank canvas output when chaining CSS filters with url() SVG filters

CSS filter functions don't clip to bounds and never get a primitive
subregion, so their empty subregion was unioned into the next url()
filter's default subregion, producing an empty crop rect.

Bug: 533040707
Change-Id: I4142fc547e708b5ba87d1432d26a2195d55dc583
Reviewed-on: https://chromium-review.googlesource.com/8083705
WPT-Export-Revision: fd991fb9b898cbc4d11c53c0d1dfa276a1cd9b35

Component: web-platform-tests → Graphics: Canvas2D
Product: Testing → Core

CI Results

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

Total 23 tests

Status Summary

Firefox

OK : 1[GitHub] 7[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 2[GitHub] 11[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 17[Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt] 18[Gecko-linux2404-64-debug, Gecko-windows11-64-25h2-debug]
FAIL: 5[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 6[Gecko-linux2404-64-debug, Gecko-windows11-64-25h2-debug] 7[Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt]

Chrome

OK : 1
PASS: 1
FAIL: 1

Safari

OK : 1
FAIL: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/a31fbe073822 https://hg.mozilla.org/integration/autoland/rev/8fc0a25a688e [wpt PR 61439] - Fix blank canvas output when chaining CSS filters with url() SVG filters, a=testonly
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
You need to log in before you can comment on or make changes to this bug.