[wpt-sync] Sync PR 57986 - GetOrCreate the PaintCanvas after resolving the filter in beginLayer
Categories
(Core :: Graphics: Canvas2D, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox150 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 57986 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/57986
Details from upstream follow.
Jean-Philippe Gravel <jpgravel@chromium.org> wrote:
GetOrCreate the PaintCanvas after resolving the filter in beginLayer
Layer filter definition can have custom property getters, and these
getters could possibly resize the canvas. We must therefore get the
PaintCanvas after resolving the filter.Fixed: 485677960
Change-Id: I2dd7f3d774ecfa4727e64d392b537146f8da11d0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7596012
Reviewed-by: Colin Blundell \<blundell@chromium.org>
Commit-Queue: Jean-Philippe Gravel \<jpgravel@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1588708}
| Assignee | ||
Updated•9 months ago
|
| Assignee | ||
Comment 1•9 months ago
|
||
| Assignee | ||
Updated•9 months ago
|
| Assignee | ||
Updated•9 months ago
|
| Assignee | ||
Comment 2•9 months ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 6 tests
Status Summary
Firefox
PASS : 2
FAIL : 2
TIMEOUT: 2
Chrome
PASS : 3
CRASH : 3
Safari
PASS : 2
FAIL : 2
TIMEOUT: 2
Links
Details
New Tests That Don't Pass
- /html/canvas/element/layers/2d.layer.draw-in-filter.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:FAIL) - /html/canvas/offscreen/layers/2d.layer.draw-in-filter.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:FAIL) - /html/canvas/offscreen/layers/2d.layer.draw-in-filter.w.html [wpt.fyi]:
TIMEOUT(Chrome:PASS, Safari:TIMEOUT) - /html/canvas/offscreen/layers/2d.layer.resize-canvas-in-filter.w.html [wpt.fyi]:
TIMEOUT(Chrome:CRASH, Safari:TIMEOUT)
Comment 4•8 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/a0a6821d0bb5
https://hg.mozilla.org/mozilla-central/rev/cc5b750e18e4
Description
•