Skip to content

Commit 923be6f

Browse files
authored
Add canvas.getContext() bits to WebGL1/2 features (#3036)
1 parent 33b7c03 commit 923be6f

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

features/webgl.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ group: webgl
66
status:
77
compute_from: api.WebGLRenderingContext
88
compat_features:
9+
- api.HTMLCanvasElement.getContext.webgl_context
910
- api.HTMLCanvasElement.getContext.webgl_context.options_alpha_parameter
1011
- api.HTMLCanvasElement.getContext.webgl_context.options_failIfMajorPerformanceCaveat_parameter
1112
- api.HTMLCanvasElement.getContext.webgl_context.options_powerPreference_parameter

features/webgl.yml.dist

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,19 @@ compat_features:
222222
# safari_ios: "8"
223223
- api.WebGLContextEvent.WebGLContextEvent
224224

225+
# baseline: high
226+
# baseline_low_date: 2020-01-15
227+
# baseline_high_date: 2022-07-15
228+
# support:
229+
# chrome: "33"
230+
# chrome_android: "33"
231+
# edge: "79"
232+
# firefox: "24"
233+
# firefox_android: "24"
234+
# safari: "8"
235+
# safari_ios: "8"
236+
- api.HTMLCanvasElement.getContext.webgl_context
237+
225238
# baseline: high
226239
# baseline_low_date: 2020-01-15
227240
# baseline_high_date: 2022-07-15

features/webgl2.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ spec: https://registry.khronos.org/webgl/specs/latest/2.0/
55
status:
66
compute_from: api.WebGL2RenderingContext
77
compat_features:
8+
- api.HTMLCanvasElement.getContext.webgl2_context
89
- api.HTMLCanvasElement.getContext.webgl2_context.options_alpha_parameter
910
- api.HTMLCanvasElement.getContext.webgl2_context.options_failIfMajorPerformanceCaveat_parameter
1011
- api.HTMLCanvasElement.getContext.webgl2_context.options_powerPreference_parameter

features/webgl2.yml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ compat_features:
2525
# firefox_android: "51"
2626
# safari: "15"
2727
# safari_ios: "15"
28+
- api.HTMLCanvasElement.getContext.webgl2_context
2829
- api.HTMLCanvasElement.getContext.webgl2_context.options_alpha_parameter
2930
- api.HTMLCanvasElement.getContext.webgl2_context.options_failIfMajorPerformanceCaveat_parameter
3031

0 commit comments

Comments
 (0)