Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
asajeffrey opened this issue Sep 17, 2018 · 2 comments
Open

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

asajeffrey opened this issue Sep 17, 2018 · 2 comments

Comments

@asajeffrey
Copy link

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?

@asajeffrey
Copy link
Author

cc @bfgeek @nox

@bfgeek
Copy link
Contributor

bfgeek commented Sep 25, 2018

@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
Projects
None yet
Development

No branches or pull requests

3 participants