Closed Bug 2080177 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63449 - [html-in-canvas] Remove legacy getElementTransform API

Categories

(Core :: Graphics: Canvas2D, task, P4)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Philip Rogers <pdr@chromium.org> wrote:

[html-in-canvas] Remove legacy getElementTransform API

This patch removes the legacy 2-argument getElementTransform(element, draw_transform) method from HTMLCanvasElement and OffscreenCanvas,
retaining the 1-argument HTMLCanvasElement.getElementTransform(element)
method that reads the stored element canvas transform.

Transform calculation test coverage from the removed legacy tests (such
as canvas/CSS pixel scaling, zoom, CTM transforms, transform-origin,
and source rect offsets) has been migrated to canvas-transform-update
and canvas-transform-update-worker via drawElementImage().

Fixed: 571496925
Change-Id: Ie9484247714ef6a621132c27da60bb043f088208
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8542152
Auto-Submit: Philip Rogers \<pdr@chromium.org>
Reviewed-by: Stefan Zager \<szager@chromium.org>
Commit-Queue: Stefan Zager \<szager@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1715079}

PR 63449 applied with additional changes from upstream: 1990905826e8968cfc867b4dd7fd2e605b887728, dcdb8e113ce06c809e3ae44c9731544168fbbd04

Component: web-platform-tests → Graphics: Canvas2D
Product: Testing → Core
Attached file Notable wpt changes —

CI Results

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

Total 150 tests and 2 subtests

Status Summary

Firefox

OK : 4[GitHub] 135[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 12
FAIL : 8[GitHub] 229[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 1
ERROR : 2[GitHub] 9[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
NOTRUN : 20[GitHub] 33[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 6
PASS : 22
FAIL : 6

Safari

OK : 4
FAIL : 8
ERROR : 2
NOTRUN : 20

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(See attachment for full changes)

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: