Skip to content

Commit dccceaf

Browse files
authored
Add a canvas group (#1081)
1 parent 37254f8 commit dccceaf

9 files changed

+10
-0
lines changed

features/canvas-context-lost.dist.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
name: contextlost and contextrestored
55
description: The `contextlost` event for `<canvas>` fires when the canvas backing storage is lost, while the `contextrestored` event fires when it is recreated.
66
spec: https://html.spec.whatwg.org/multipage/webappapis.html#context-lost-steps
7+
group: canvas
78
usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/3974
89
status:
910
baseline: false

features/canvas-context-lost.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: contextlost and contextrestored
22
description: The `contextlost` event for `<canvas>` fires when the canvas backing storage is lost, while the `contextrestored` event fires when it is recreated.
33
spec: https://html.spec.whatwg.org/multipage/webappapis.html#context-lost-steps
4+
group: canvas
45
usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/3974

features/canvas-text-baselines.dist.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ spec:
77
- https://html.spec.whatwg.org/multipage/canvas.html#dom-textmetrics-alphabeticbaseline-dev
88
- https://html.spec.whatwg.org/multipage/canvas.html#dom-textmetrics-hangingbaseline-dev
99
- https://html.spec.whatwg.org/multipage/canvas.html#dom-textmetrics-ideographicbaseline-dev
10+
group: canvas
1011
status:
1112
baseline: low
1213
baseline_low_date: 2023-10-13

features/canvas-text-baselines.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ spec:
44
- https://html.spec.whatwg.org/multipage/canvas.html#dom-textmetrics-alphabeticbaseline-dev
55
- https://html.spec.whatwg.org/multipage/canvas.html#dom-textmetrics-hangingbaseline-dev
66
- https://html.spec.whatwg.org/multipage/canvas.html#dom-textmetrics-ideographicbaseline-dev
7+
group: canvas
78
compat_features:
89
- api.TextMetrics.alphabeticBaseline
910
- api.TextMetrics.hangingBaseline

features/canvas-text.dist.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
name: Canvas text metrics
55
description: The `fillText()` and `strokeText()` methods draw text to a 2D canvas. The `measureText()` method measures the width and other metrics which can be used to position the text.
66
spec: https://html.spec.whatwg.org/multipage/canvas.html#drawing-text-to-the-bitmap
7+
group: canvas
78
status:
89
baseline: high
910
baseline_low_date: 2015-07-29

features/canvas-text.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Canvas text metrics
22
description: The `fillText()` and `strokeText()` methods draw text to a 2D canvas. The `measureText()` method measures the width and other metrics which can be used to position the text.
33
spec: https://html.spec.whatwg.org/multipage/canvas.html#drawing-text-to-the-bitmap
4+
group: canvas
45
compat_features:
56
- api.CanvasRenderingContext2D.fillText
67
- api.CanvasRenderingContext2D.measureText

features/offscreen-canvas.dist.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
name: Offscreen canvas
55
description: 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.
66
spec: https://html.spec.whatwg.org/multipage/canvas.html#the-offscreencanvas-interface
7+
group: canvas
78
caniuse: offscreencanvas
89
usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/1624
910
status:

features/offscreen-canvas.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Offscreen canvas
22
description: 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.
33
spec: https://html.spec.whatwg.org/multipage/canvas.html#the-offscreencanvas-interface
4+
group: canvas
45
caniuse: offscreencanvas
56
usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/1624
67
compat_features:

groups/canvas.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# <canvas> including 2D and WebGL rendering contexts, and offscreen canvas.
2+
name: Canvas

0 commit comments

Comments
 (0)