[wpt-sync] Sync PR 64010 - [html-in-canvas] Fix nested canvas drawable in 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 64010 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64010
Details from upstream follow.
Philip Rogers <pdr@chromium.org> wrote:
[html-in-canvas] Fix nested canvas drawable in filter
This patch updates
UpdateElementCanvasTransform()to walk past
non-drawable effects when falling back tocanvas_contents.Effect()for
a nestedcontent=drawablecanvas inside a drawable subtree.When a nested
content=drawablecanvas was inside a filtered drawable
ancestor (or was itself a filtered drawable), its
canvas_contents.Effect()was the filter effect node
(IsInDrawableCanvasSubtree() && !HasCanvasDrawableState()). Top-level
drawables in the nested canvas fell back tocanvas_contents.Effect()
becauseUpdateForChildren()on the nested canvas reset
current_effecttoRoot(). Parenting inner drawables to the filter
effect preventedPaintArtifactCompositorfrom decompositing the filter
into the enclosing drawable's effect and triggered aCHECKfailure.
Walkingeffectup whileIsInDrawableCanvasSubtree() && !HasCanvasDrawableState()ensures inner drawables are parented to the
enclosing drawable's effect node.Fixed: 562108899, 575053148
Change-Id: I190b3cfb47d1ed9839f1ec79d0271f5f12e6efdb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8613587
Reviewed-by: Stefan Zager \<szager@chromium.org>
Commit-Queue: Philip Rogers \<pdr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1724305}
| 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=111025
| 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
CRASH : 1
Safari
TIMEOUT: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
(See attachment for full changes)
Comment 4•1 month ago
|
||
| bugherder | ||
Description
•