[css-paint-api] HTML spec switches on CanvasImageSource · Issue #819 · w3c/css-houdini-drafts (original) (raw)

In https://drafts.css-houdini.org/css-paint-api-1/#drawing-a-cssimagevalue we have:

The CanvasImageSource typedef is extended to also include the CSSImageValue type to be used as an image source.

The spec doesn't say what to do in the cases where the HTML spec matches on CanvasImageSource values, for example https://html.spec.whatwg.org/multipage/canvas.html#the-image-argument-is-not-origin-clean.

Is the intention that such cases should always be treated in the same way as HTMLOrSVGImageElement?