Skip to content
11 changes: 8 additions & 3 deletions features/draft/html-elements/canvas.yml → features/canvas.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
draft_date: 2024-06-05
name: <canvas>
description: The `<canvas>` element TODO.
description: The `<canvas>` HTML element is a space to draw graphics in, using the 2D canvas API, WebGL, or WebGPU.
spec: https://html.spec.whatwg.org/multipage/canvas.html#canvas
group: html
group:
- canvas
- html-elements
# Note: https://caniuse.com/canvas covers both the <canvas> element and the 2D
# rendering context. These are separated in web-features, so no caniuse link here.
status:
compute_from: html.elements.canvas
compat_features:
- api.HTMLCanvasElement
- api.HTMLCanvasElement.getContext
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,18 @@

status:
baseline: high
baseline_low_date: 2020-01-15
baseline_high_date: 2022-07-15
baseline_low_date: 2015-07-29
baseline_high_date: 2018-01-29
support:
chrome: "50"
chrome_android: "50"
edge: "79"
firefox: "18"
firefox_android: "18"
safari: "11"
safari_ios: "11"
chrome: "1"
chrome_android: "18"
edge: "12"
firefox: "1.5"
firefox_android: "4"
safari: "2"
safari_ios: "1"
compat_features:
# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
Expand Down Expand Up @@ -58,7 +59,6 @@ compat_features:
# safari_ios: "3"
- api.HTMLCanvasElement.toDataURL

# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2020-01-15
# baseline_high_date: 2022-07-15
Expand Down