Repository navigation
Add HTML-in-canvas demos - #406
Merged
Merged
Conversation
Contributor
Author
chrisdavidmills
marked this pull request as draft
October 27, 2026 16:23
chrisdavidmills
marked this pull request as ready for review
November 17, 2026 12:52
pepelsbey
reviewed
Nov 17, 2026
pepelsbey
left a comment
Member
There was a problem hiding this comment.
Looks good! Thank you 🙂
A few suggestions below. Also, links from the root readme are missing. That would be something like:
- The "html-in-canvas" directory contains examples demonstrating the [HTML-in-canvas API](https://github.com/WICG/html-in-canvas). See the [HTML-in-canvas README](html-in-canvas/README.md) for more information.Co-authored-by: Vadim Makeev <hi@pepelsbey.dev>
Co-authored-by: Vadim Makeev <hi@pepelsbey.dev>
Co-authored-by: Vadim Makeev <hi@pepelsbey.dev>
Co-authored-by: Vadim Makeev <hi@pepelsbey.dev>
Contributor
Author
Good spot. Added in the next commit. |
pepelsbey
approved these changes
Nov 17, 2026
pepelsbey
left a comment
Member
There was a problem hiding this comment.
Perfect! Thanks 🙂
Found two more nits
Co-authored-by: Vadim Makeev <hi@pepelsbey.dev>
Co-authored-by: Vadim Makeev <hi@pepelsbey.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Chrome 157 adds support for the HTML-in-Canvas API; also see https://chromestatus.com/feature/5172548013916160.
This PR adds three demos to show how it can be used to render HTML content inside 2d canvas, WebGL, and WebGPU.