Skip to content

[css-paint-api] HTML spec switches on CanvasImageSource #819

Open
@asajeffrey

Description

@asajeffrey

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions