Closed Bug 1956026 Opened 5 months ago Closed 5 months ago

[wpt-sync] Sync PR 51552 - Track output bounds of filters in EffectPaintPropertyNode

Categories

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

task

Tracking

()

RESOLVED FIXED
138 Branch
Tracking Status
firefox138 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Xianzhu Wang <wangxianzhu@chromium.org> wrote:

Track output bounds of filters in EffectPaintPropertyNode

This basically replaces crrev.com/c/6354923, as a more complete fix to
the bug.

crrev.com/c/6354923 worked in case that the reference box contains all
inputs. That's true for HTML elements because the reference box is the
bounding box of visual rects of all descendants, but that's not always
true for SVG elements.

Now track the output bounds (calculated from the bounding box of
visual rects of all descendants) and use it in EffectPaintPropertyNode
::MapRect as the result if there are any reference filters.

Bug: 373759987
Change-Id: I5f8ddc7d61e3320b4416fa3c5921c24d29e8d649
Reviewed-on: https://chromium-review.googlesource.com/6374076
WPT-Export-Revision: 42732791d39cd6519d0127aa9998365f0dc8f471

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4c00526ff88b [wpt PR 51552] - Track output bounds of filters in EffectPaintPropertyNode, a=testonly https://hg.mozilla.org/integration/autoland/rev/a22d6c1a997b [wpt PR 51552] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
You need to log in before you can comment on or make changes to this bug.