DOMMatrix setTransform/getTransform on OffscreenCanvas

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.



De-facto standard

Status in Chromium


Enabled by default (tracking bug) in:

  • Chrome for desktop release 80
  • Chrome for Android release 80
  • Android WebView release 80

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 signal
  • No signals


Last updated on 2020-08-01