Closed Bug 2063172 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 61903 - [html-in-canvas] Add {get,set}CanvasTransform scaffolding

Categories

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

task

Tracking

()

RESOLVED FIXED
156 Branch
Tracking Status
firefox156 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Philip Rogers <pdr@chromium.org> wrote:

[html-in-canvas] Add {get,set}CanvasTransform scaffolding

This patch adds the IDL for getCanvasTransform and setCanvasTransform,
wires up storage, and adds some trivial tests. This has been done
behind a new flag, ElementCanvasTransform, which will be used to avoid
breaking current users. A virtual test suite has been added to ensure
basic coverage of the behavior without the new feature (e.g., users
relying on CSS transforms NOT affecting drawElementImage).

This patch only adds the ability to get and set the canvas transform,
and followups will be needed to implement the logic for geometry
mapping, hit testing, etc.

See: https://github.com/WICG/html-in-canvas/issues/135

Bug: 532229486
Change-Id: I21a7a4955731fab40ab22aabf739f2a804b6e3fe
Reviewed-on: https://chromium-review.googlesource.com/8222805
WPT-Export-Revision: 921ddbe5f15a7435e98174da33065456aabd19f2

Component: web-platform-tests → Graphics: Canvas2D
Product: Testing → Core

CI Results

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

Total 93 tests and 1 subtests

Status Summary

Firefox

OK : 1[GitHub] 89[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 1[GitHub] 11[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 9[GitHub] 134[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
ERROR: 1

Chrome

OK : 1
PASS : 1
FAIL : 9

Safari

OK : 1
PASS : 1
FAIL : 9

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

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