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

Throw when <OffscreenCanvas> is not usable as image #3453

Merged
merged 3 commits into from
Feb 8, 2018

Conversation

zakerinasab
Copy link
Contributor

@zakerinasab zakerinasab commented Feb 5, 2018

This is a follow up for #3398 and sets the behavior of
drawImage when the given source image is an OffscreenCanvas with either width or height of zero to throw an InvalidStateError exception.


/acknowledgements.html ( diff )
/canvas.html ( diff )

@domenic
Copy link
Member

domenic commented Feb 6, 2018

Are there plans to update web-platform-tests for this?

@junov
Copy link
Member

junov commented Feb 6, 2018

Yes the CL that updates wpt is already in flight, right here: https://chromium-review.googlesource.com/c/chromium/src/+/893423

@domenic
Copy link
Member

domenic commented Feb 6, 2018

Awesome! One last thing: @zakerinasab, can you add yourself to the acknowledgments section? See https://github.com/whatwg/html/blob/master/CONTRIBUTING.md#pull-requests

@zakerinasab
Copy link
Contributor Author

zakerinasab commented Feb 8, 2018 via email

@domenic domenic merged commit 52d319a into whatwg:master Feb 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants