Closed Bug 1870651 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 43711 - Use BackgroundImageGeometry in SVGMaskPainter

Categories

(Core :: Web Painting, task, P4)

task

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Fredrik Söderquist <fs@opera.com> wrote:

Use BackgroundImageGeometry in SVGMaskPainter

Introduce a SVGBackgroundPaintContext, which is like
BoxBackgroundPaintContext, but contains context information needed to
resolve a FillLayer for painting for SVG content. Add an overload of
BackgroundImageGeometry::Calculate() that take this context object and
calculates the SVG-specific bits before calling the more generic code.

This allows removing SVGMaskGeometry, which largely duplicated the
functionality of BackgroundImageGeometry.

Bug: 1500572
Change-Id: Ie1fb9728ec580130c158cd94f6fcf024d18a89ec
Reviewed-on: https://chromium-review.googlesource.com/5130489
WPT-Export-Revision: 8852889d8cae5a33be86e8c7eb8eb1b14a0e13c9

Component: web-platform-tests → Web Painting
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/441af015fdb6 [wpt PR 43711] - Use BackgroundImageGeometry in SVGMaskPainter, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
You need to log in before you can comment on or make changes to this bug.