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

[HTML] Canvas place element #403

Open
khushalsagar opened this issue Sep 25, 2024 · 1 comment
Open

[HTML] Canvas place element #403

khushalsagar opened this issue Sep 25, 2024 · 1 comment
Labels
concerns: API design The API for this is error-prone, poorly named, or inconsistent with the platform concerns: complexity This proposal seems needlessly complex from: Google Proposed, edited, or co-edited by Google. topic: graphics Spec relates to 2D or 3D graphics venue: WHATWG HTML Workstream venue: WICG Proposal is incubated in the Web Incubator Community Group

Comments

@khushalsagar
Copy link

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.

@nt1m nt1m added from: Google Proposed, edited, or co-edited by Google. venue: WICG Proposal is incubated in the Web Incubator Community Group labels Nov 2, 2024
@smfr smfr added concerns: API design The API for this is error-prone, poorly named, or inconsistent with the platform concerns: complexity This proposal seems needlessly complex topic: graphics Spec relates to 2D or 3D graphics labels Nov 2, 2024
@smfr
Copy link

smfr commented Nov 2, 2024

My initial concerns are described at WICG/canvas-place-element#15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
concerns: API design The API for this is error-prone, poorly named, or inconsistent with the platform concerns: complexity This proposal seems needlessly complex from: Google Proposed, edited, or co-edited by Google. topic: graphics Spec relates to 2D or 3D graphics venue: WHATWG HTML Workstream venue: WICG Proposal is incubated in the Web Incubator Community Group
Projects
None yet
Development

No branches or pull requests

4 participants