Skip to content

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

Open

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?

Activity

  1. asajeffrey commented on Sep 17, 2018

    @asajeffrey
    Author
  2. bfgeek commented on Sep 25, 2018

    @bfgeek
    Contributor

    @asajeffrey (sorry for the delay).

    Yes that is the intention. There was originally a pull request for the HTML spec for this (but didn't make it in as only 1 impl at the time). I believe there is an issue in houdini drafts to "patch" the HTML spec in the paint API for this. But I'll keep this issue open until I do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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