Adds setTransform(DOMMatrix2DInit) and getTransform() to OffscreenCanvasRenderingContext2D.


This feature exists and is supported currently for CanvasRenderingContext2D. The WHATWG spec states that OffscreenCanvasRenderingContext2D implements all canvas transform methods, and this is one of the canvas transform methods listed there. Without it it is impossible for a web developer to get the current value of a canvas' transform if it is offscreen.



Specification link

Unknown standards status - check spec link for status

Status in Chromium


Enabled by default (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • In development
  • No signal
  • No signals


Search tags

canvas, offscreencanvas, gettransform,

Last updated on 2021-12-13