- From: guest271314 via GitHub <sysbot+gh@w3.org>
- Date: Sun, 27 Oct 2019 15:35:46 +0000
- To: public-houdini-archive@w3.org
guest271314 has just created a new issue for https://github.com/w3c/css-houdini-drafts: == [css-paint-api] drawImage() throws error when url() is passed. Why are ImageBitmap, OffscreenCanvas == The `PaintWorklet` specification claims that `[drawImage()](https://drafts.css-houdini.org/css-paint-api-1/#example-2)` is possible. However a `TypeError` is thrown when passing `url()` ([CSSImageValue](https://drafts.css-houdini.org/css-typed-om-1/#imagevalue-objects)) function to `drawImage()` (https://github.com/w3c/css-houdini-drafts/issues/877#issuecomment-487727155) `TypeError: Failed to execute 'drawImage' on 'PaintRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)'` 1. Is `PaintRenderingContext2D.drawImage()` broken? 2. Why are `ImageBitmap` and `OffscreenCanvas` not defined at `PaintWorkletGlobalScope`? Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/969 using your GitHub account
Received on Sunday, 27 October 2019 15:35:48 UTC