BASELINE NowYouCanUse.com
Web Platform Baseline Status Breakdown Total Features: 1191
Search: Reset ×
Categories: All CSS (101) HTML elements (98) Selectors (46) JavaScript (43) Forms (40)
WebGL extensions (37) WebAssembly (22) Media queries (21) Fonts (19) Performance (19) Text (19) Scrolling (18) Arrays (17) Layout (17) HTML (16) Progressive web app (15) Typed arrays (14) Units (14) Canvas (13) Background (12) Color types (12) Media elements (12) Strings (12) Clipping, shapes, and masking (11) Security (11) Web components (11) WebXR (11) Typographic font features (10) Animation (9) Internationalization (9) Reporting (9) Text wrap (9) Clipboard (8) Workers (8) Containment (7) DOM (7) Fetch (7) JavaScript modules (7) Print media (7) Sensors (7) CSS object models (6) Image formats (6) Iterators (6) Landmark elements (6) Positioning (6) Promises (6) SVG (6) Storage (6) Streams (6) Credential management (5) Custom elements (5) Explicit defaults (5) Font synthesis (5) HTTP (5) Messaging (5) Multi-column (5) Resource hints (5) Ruby (5) Selection (5) Speech (5) Transitions (CSS) (5) View transitions (5) Web audio (5) WebGL (5) Container queries (4) Cookies (4) Counters (4) File system access (4) Flexbox (4) Gamepad (4) Grid (4) Images (4) Lists (4) Primitive types (4) Regular expressions (4) WebDriver (4) WebRTC (4) Blend mode (3) Borders and outlines (3) Gradients (3) Image scaling (3) JSON (3) Maps (3) MathML (3) Payments (3) Reading order (3) Scroll markers (3) Transforms (3) WebAuthn (3) WebGPU (3) White space (3) Worklets (3) XML (3) Collections (2) Compute pressure (2) Geolocation (2) IndexedDB (2) Parsing and serialization (2) Resource integrity (2) Sets (2) Text fragments (2) WebMCP (2) CSS environment variables (1)
Showing 13 of 13 features

2024

1 features
• September 2024
Newly Available

The optional willReadFrequently parameter of a canvas's getContext() method permits the browser to optimize for frequent getImageData() calls by avoiding hardware acceleration. Also known as multiple readback.

Chrome 99
Firefox 28
Safari 18
Edge 99
Baseline Date: Sep 16, 2024

2023

4 features
• December 2023
Widely Available

The reset() method clears a canvas to its initial state.

Chrome 99
Firefox 113
Safari 17.2
Edge 99
Baseline Date: Dec 11, 2023
• April 2023

The createConicGradient() methods draw a conic gradient to a 2D canvas.

Chrome 99
Firefox 112
Safari 16.4
Edge 99
Baseline Date: Apr 11, 2023
Widely Available

The roundRect() methods draw a rounded rectangle to a 2D canvas.

Chrome 99
Firefox 112
Safari 16.4
Edge 99
Baseline Date: Apr 11, 2023
• March 2023
Widely Available

The OffscreenCanvas API provides a canvas that can be drawn to off screen, with no dependencies on the DOM, which can be used to run heavy rendering operations inside a worker context.

Chrome 69
Firefox 105
Safari 16.4
Edge 79
Baseline Date: Mar 27, 2023

2020

1 features
• January 2020

The captureStream() method for <canvas> elements returns a MediaStream which includes a CanvasCaptureMediaStreamTrack representing real-time video of the canvas image. You can use this to record the canvas, or send it elsewhere, such as another canvas or WebRTC connection.

Chrome 51
Firefox 43
Safari 11
Edge 79
Baseline Date: Jan 15, 2020

2015

2 features
• July 2015
Widely Available

The CanvasRenderingContext2D API is the "2d" rendering context for the <canvas> element. It represents a flat, two-dimensional space for drawing graphics and animations.

Chrome 1
Firefox 1.5
Safari 2
Edge 12
Baseline Date: Jul 29, 2015
Widely Available

The <canvas> HTML element is a space to draw graphics in, using the 2D canvas API, WebGL, or WebGPU.

Chrome 1
Firefox 1.5
Safari 2
Edge 12
Baseline Date: Jul 29, 2015

Limited Availability

5 features
• In Progress / Not Yet Baseline

The optional alpha parameter of a 2D canvas's getContext() method sets whether the canvas has an alpha transparency channel. If set to false, then this permits the browser to optimize compositing for an opaque canvas.

Chrome 32
Firefox 30
Safari
Edge 79
Status: Incomplete cross-engine support

The optional colorSpace parameter of a 2D canvas's getContext() method chooses the color representation, such as "srgb" or "display-p3".

Chrome 92
Firefox
Safari 15.2
Edge 92
Status: Incomplete cross-engine support

The optional desynchronized parameter of a canvas's getContext() method permits the browser to draw a 2D canvas independently of the event loop. This can reduce drawing latency.

Chrome 81
Firefox
Safari 15
Edge 79
Status: Incomplete cross-engine support

A <canvas> HTML element with the layoutsubtree attribute can draw descendant elements in its rendering context. You can use it to style and layout text in a canvas, expose canvas content to browser features (like accessibility, translate, or find-in-page), and apply 2D and 3D effects to HTML.

Chrome
Firefox
Safari
Edge
Status: Incomplete cross-engine support

The contextlost event for <canvas> fires when the canvas backing storage is lost, while the contextrestored event fires when it is recreated.

Chrome 99
Firefox 125
Safari
Edge 99
Status: Incomplete cross-engine support