Closed Bug 2076579 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63067 - [html-in-canvas] Update offscreen, WebGL, WebGPU, and internal tests to use drawable

Categories

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

task

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Philip Rogers <pdr@chromium.org> wrote:

[html-in-canvas] Update offscreen, WebGL, WebGPU, and internal tests to use drawable

This patch updates the html-in-canvas OffscreenCanvas, WebGL, WebGPU,
and internal element-canvas-transform-disabled tests to explicitly add
the drawable attribute to canvas child elements.

Bug: 565840012
Change-Id: If67e9392e0aa34468a7c9ab9e96dd7efce35e915
Reviewed-on: https://chromium-review.googlesource.com/8488106
WPT-Export-Revision: b10a986b3edf9d03151605c3545787f1602efb6c

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 8 tests

Status Summary

Firefox

OK : 3
FAIL : 18
TIMEOUT: 6
ERROR : 1
NOTRUN : 4

Chrome

OK : 6
PASS : 26

Safari

OK : 3
FAIL : 18
TIMEOUT: 6
ERROR : 1
NOTRUN : 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /html/canvas/offscreen/manual/draw-element-image/animated-gif-worker.tentative.html [wpt.fyi]: SKIP [Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt], TIMEOUT [GitHub] (Chrome: OK, Safari: TIMEOUT)
    • Canvas.drawElementImage: animated gif in worker: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
  • /html/canvas/offscreen/manual/draw-element-image/video-worker.tentative.html [wpt.fyi]: SKIP [Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt], TIMEOUT [GitHub] (Chrome: OK, Safari: TIMEOUT)
    • captureElementImage repaints video frames in worker: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
  • /html/canvas/offscreen/manual/draw-element-image/canvas-transform-update-worker.tentative.html [wpt.fyi]: ERROR (Chrome: OK, Safari: ERROR)
    • drawElementImage on worker dispatches elementgeometryupdate and updates element transform by default: FAIL (Chrome: PASS, Safari: FAIL)
    • drawElementImage on worker updates element transform with explicit {preserveElementGeometry: false}: NOTRUN (Chrome: PASS, Safari: NOTRUN)
    • drawElementImage on worker does not update element transform with {preserveElementGeometry: true}: NOTRUN (Chrome: PASS, Safari: NOTRUN)
    • Multiple drawElementImage calls in same worker turn batch into a single elementgeometryupdate event: NOTRUN (Chrome: PASS, Safari: NOTRUN)
    • clearElementGeometry on worker clears geometry and dispatches elementgeometryupdate event: NOTRUN (Chrome: PASS, Safari: NOTRUN)
  • /html/canvas/offscreen/manual/draw-element-image/getElementTransform-worker.tentative.html [wpt.fyi]
    • Element transform at the origin should be an identity matrix: FAIL (Chrome: PASS, Safari: FAIL)
    • Element transform should account for x and y: FAIL (Chrome: PASS, Safari: FAIL)
    • Element transform should account for width and height scale: FAIL (Chrome: PASS, Safari: FAIL)
    • Element transform should not include transform on the element: FAIL (Chrome: PASS, Safari: FAIL)
    • Element transform should account for the current transform matrix with translation: FAIL (Chrome: PASS, Safari: FAIL)
    • Element transform should not be affected by zoom on the canvas: FAIL (Chrome: PASS, Safari: FAIL)
    • Element transform should account for the current transform matrix with rotation: FAIL (Chrome: PASS, Safari: FAIL)
    • Element transform should not account for transform-origin: FAIL (Chrome: PASS, Safari: FAIL)
    • Element transform should account for canvas grid pixel scale: FAIL (Chrome: PASS, Safari: FAIL)
    • Element transform should account for canvas css pixel scale: FAIL (Chrome: PASS, Safari: FAIL)
    • Element transform should account for canvas pixel scale, zoom, CTM, and x and y: FAIL (Chrome: PASS, Safari: FAIL)
    • Element transform should account for sx and sy offset: FAIL (Chrome: PASS, Safari: FAIL)
    • Draw/Element transform should preserve is2D for 2D matrices: FAIL (Chrome: PASS, Safari: FAIL)
    • Draw/Element transform should preserve is2D for 3D matrices: FAIL (Chrome: PASS, Safari: FAIL)
  • /html/canvas/offscreen/manual/draw-element-image/offscreenCanvas-drawElementImage-worker.tentative.html [wpt.fyi]
    • OffscreenCanvas.drawElementImage should work in a worker thread: FAIL (Chrome: PASS, Safari: FAIL)
  • /html/canvas/offscreen/manual/draw-element-image/offscreenCanvas-drawElementImage.tentative.html [wpt.fyi]
    • OffscreenCanvas.drawElementImage should draw an ElementImage: FAIL (Chrome: PASS, Safari: FAIL)
    • Passing an Element to OffscreenCanvas methods on the main thread throws InvalidStateError: FAIL (Chrome: PASS, Safari: FAIL)
  • /html/canvas/offscreen/manual/draw-element-image/ink-overflow-worker.tentative.html [wpt.fyi]: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
  • /html/canvas/offscreen/manual/draw-element-image/scale-worker.tentative.html [wpt.fyi]: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)

Tests Disabled in Gecko Infrastructure

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0a0aaadaeb04 https://hg.mozilla.org/integration/autoland/rev/b54127808468 [wpt PR 63067] - [html-in-canvas] Update offscreen, WebGL, WebGPU, and internal tests to use drawable, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
You need to log in before you can comment on or make changes to this bug.