[wpt-sync] Sync PR 64009 - [html-in-canvas] Fix nested drawable under filter
Categories
(Core :: Graphics: Canvas2D, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
77.86 KB,
text/plain
|
Details |
Sync web-platform-tests PR 64009 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64009
Details from upstream follow.
Philip Rogers <pdr@chromium.org> wrote:
[html-in-canvas] Fix nested drawable under filter
This patch sets
CanvasDrawableState::content_effectto the drawable's
parent effect [1] (current_effect) instead of
canvas_fragment.ContentsEffect(). This fixes a mistake where we
missed some updates when adding support for drawable descendants.
UpdateElementCanvasTransform (should be refactored to split out the
effect update) runs prior to UpdateEffect and updates the
context_.current_effectto the nearest drawable's effect. This effect
can be used directly for the canvas drawable state, rather than using
the canvas's effect. This change fixes an issue later in the pipeline
when the wrong effect was used for the drawable's recording.Bug: 562108899
Change-Id: I3c52e5b627ed67135b18a341d9bd71a249127076
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8613228
Reviewed-by: Stefan Zager \<szager@chromium.org>
Commit-Queue: Philip Rogers \<pdr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1724302}
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=111017
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 4 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 152 tests
Status Summary
Firefox
OK : 139
PASS : 12
FAIL : 231
TIMEOUT: 1
ERROR : 8
NOTRUN : 25
Chrome
FAIL : 1
Safari
TIMEOUT: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
(See attachment for full changes)
Comment 4•24 days ago
|
||
| bugherder | ||
Description
•