MDN’s new design is in Beta! A sneak peek:


RenderingContext is a helper type representing any of the following rendering contexts CanvasRenderingContext2D, WebGLRenderingContext or WebGL2RenderingContext (which inherits from WebGLRenderingContext).

This is a helper type to simplify the specification, it isn't an interface and there are no objects implementing it.


Specification Status Comment
WHATWG HTML Living Standard
The definition of 'RenderingContext' in that specification.
Living Standard Initial definition.


Document Tags and Contributors

 Contributors to this page: fscholz, teoli
 Last updated by: fscholz,