Skip to content

[HTML] Canvas place element #403

Closed
Closed

Description

@khushalsagar

WebKittens

@smfr @annevk

Title of the proposal

Canvas place element

URL to the spec

https://html.spec.whatwg.org/

URL to the spec's repository

https://github.com/WICG/canvas-place-element

Issue Tracker URL

No response

Explainer URL

No response

TAG Design Review URL

w3ctag/design-reviews#997

Mozilla standards-positions issue URL

mozilla/standards-positions#1076

WebKit Bugzilla URL

No response

Radar URL

No response

Description

A fundamental capability missing from the web is the ability to complement Canvas with HTML elements. Adding this capability enables Canvas surfaces to benefit from all of the styling, layout and behaviors of HTML, including interactive elements and built-in accessibility.

There are 2 API surfaces to be exposed on this proposal. First, a high level API that brings an Element and its subtree into the 2D Canvas. Second, a broken down version that allows finer control over Javascript and is also available in 3D contexts.

Activity

  1. added
    from: Google
    venue: WICG
    on Nov 2, 2024
  2. added
    concerns: API design
    concerns: complexity
    topic: graphics
    on Nov 2, 2024
  3. smfr commented on Nov 2, 2024

    @smfr

    My initial concerns are described at WICG/html-in-canvas#15

  4. annevk commented on Nov 12, 2025

    @annevk
    Contributor

    @foolip do you want to repurpose this request or file a new request for HTML-in-Canvas?

  5. progers commented on Mar 13, 2026

    @progers

    I've filed a new request at #630 which replaces this one.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    concerns: API designconcerns: complexityfrom: Googleproposal withdrawntopic: graphicsvenue: WHATWG HTML Workstreamvenue: WICG

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions