Skip to content

html-in-canvas hit test proposal - #1445

Draft
cabanier wants to merge 3 commits into
immersive-web:mainfrom
cabanier:html-in-canvas-input
Draft

cabanier wants to merge 3 commits into
immersive-web:mainfrom
cabanier:html-in-canvas-input

Conversation

@cabanier

@cabanier cabanier commented Sep 2, 2026 •

Copy link
Copy Markdown
Member

First stab at defining hit testing of HTML content using html-in-canvas in WebXR.

/tpac


Preview | Diff

Define the provisional html-in-canvas feature descriptor, snapshot lifecycle, target-ray hit testing, and pointer event routing for immersive sessions.

Add design documentation and mark the HTML-in-Canvas additions unstable, with issues tracking unresolved Pointer Events integration details.
@cabanier
cabanier force-pushed the html-in-canvas-input branch from eebabdd to bc6416b Compare September 2, 2026 22:38
@cabanier

cabanier commented Sep 2, 2026

Copy link
Copy Markdown
Member Author

@cabanier

cabanier commented Sep 2, 2026

Copy link
Copy Markdown
Member Author

/tpac

@probot-label probot-label Bot added the TPAC label Sep 2, 2026
HTML-in-Canvas content is same-origin, so the WebXR hit-test hook can use the snapshot's recorded DOM and CSS state without applying read-back-allowed rendering restrictions.

This branch has not been deployed

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant