Closed Bug 2063791 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 61959 - [html-in-canvas] Use element's canvas transform state for rendering

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 61959 into mozilla-central (this bug is closed when the sync is complete).

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

Philip Rogers <pdr@chromium.org> wrote:

[html-in-canvas] Use element's canvas transform state for rendering

This patch switches canvas child rendering to use the child element's
canvas transform state instead of the canvas's transform state, causing
rendering to include CSS transforms.

Design doc about respecting CSS transforms:
https://docs.google.com/document/d/170AxSYPrlFVrp1LlUl0lWQ6h0_hUAosAGtPexQkRg0U/edit?tab=t.0

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

Bug: 532229486
Change-Id: Ica9b9897fee2c2ce07f492b1022eb37e6259015c
Reviewed-on: https://chromium-review.googlesource.com/8228404
WPT-Export-Revision: ceaca436e226ef0279c5b7acc4e1c7a5c43275fb

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

CI Results

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

Total 94 tests

Status Summary

Firefox

OK : 1[GitHub] 86[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 4[GitHub] 9[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 8[GitHub] 121[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 1[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 3[GitHub]
ERROR : 2[GitHub] 3[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
NOTRUN : 6

Chrome

OK : 1
PASS : 10
FAIL : 3
TIMEOUT: 2
ERROR : 2
NOTRUN : 6

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.