content
content copied to clipboard
Batch update for `{HTMLCanvasElement,OffscreenCanvas}.getContext()`
Description
notable changes:
add exceptions thrown for the two methods
add missing webgpu content for OffscreenCanvas.getContext()
add info that two methods may return null if has set to another context type
Motivation
Additional details
https://html.spec.whatwg.org/multipage/canvas.html#dom-offscreencanvas-getcontext-dev https://html.spec.whatwg.org/multipage/canvas.html#dom-canvas-getcontext-dev
Related issues and pull requests
Preview URLs
/en-US/docs/Web/API/HTMLCanvasElement/getContext/en-US/docs/Web/API/HTMLCanvasElement/en-US/docs/Web/API/OffscreenCanvas/getContext/en-US/docs/Web/API/OffscreenCanvas
Flaws (1)
Note! 3 documents with no flaws that don't need to be listed. 🎉
URL: /en-US/docs/Web/API/HTMLCanvasElement
Title: HTMLCanvasElement
Flaw count: 1
- macros:
/en-US/docs/Web/API/HTMLCanvasElement/mozPrintCallback does not exist
(comment last updated: 2024-10-26 17:41:39)