Skip to content

Commit

Permalink
Simplify WebGLRenderingContextBase#canvas attribute (KhronosGroup#3296)
Browse files Browse the repository at this point in the history
  • Loading branch information
saschanaz authored Jul 6, 2021
1 parent fec72ba commit 495b85b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions specs/latest/1.0/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1717,8 +1717,7 @@ <h3><a name="WEBGLRENDERINGCONTEXT">The WebGL context</a></h3>
const GLenum UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;
const GLenum BROWSER_DEFAULT_WEBGL = 0x9244;

[Exposed=Window] readonly attribute (HTMLCanvasElement or OffscreenCanvas) canvas;
[Exposed=Worker] readonly attribute OffscreenCanvas canvas;
readonly attribute (HTMLCanvasElement or OffscreenCanvas) canvas;
readonly attribute GLsizei drawingBufferWidth;
readonly attribute GLsizei drawingBufferHeight;

Expand Down

0 comments on commit 495b85b

Please sign in to comment.