Closed Bug 2092992 Opened 20 days ago Closed 16 days ago

[wpt-sync] Sync PR 64405 - Invalidate subtree paint when effect reference filters change in place

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Vladimir Levin <vmpstr@chromium.org> wrote:

Invalidate subtree paint when effect reference filters change in place

Cross-origin frames, plugins, and view-transition content layers strip
ancestor SVG reference filters either during PrePaint
(SetupContextForFrame) or when recording foreign layers during Paint
(EmbeddedContentPainter::RemoveSvgFilterPaint and
EmbeddedContentPainter::EffectForViewTransitionContent).

Track HasReferenceFilter() changes across ObjectPaintProperties effect
nodes in FragmentPaintPropertyTreeBuilder::UpdateForSelf and
PaintPropertyTreeBuilder::InitPaintProperties, and force both an
isolation-piercing property update and full subtree paint invalidation
so stacked descendants re-record with the updated effect chain.

R=pdr@chromium.org, szager@chromium.org

Bug: 578057132
Change-Id: I87da722dd22a32ab32d8a5829af65a63143d3fb7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8674898
Reviewed-by: Philip Rogers \<pdr@chromium.org>
Reviewed-by: Stefan Zager \<szager@chromium.org>
Commit-Queue: Vladimir Levin \<vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1734126}

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

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

Total 540 tests and 1 subtests

Status Summary

Firefox

OK : 161[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] 165[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 1[GitHub] 23[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 1369[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1624[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] 1631[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 1635[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL : 90[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 142[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 146[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, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 11
ERROR : 2[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 3[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]

Chrome

FAIL : 1

Safari

PASS : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/1978a11fd2e7 https://hg.mozilla.org/integration/autoland/rev/819a435f6a7c [wpt PR 64405] - Invalidate subtree paint when effect reference filters change in place, a=testonly
Status: NEW → RESOLVED
Closed: 16 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.