WebKit / standards-positions

WebKit's positions on emerging web specifications
https://webkit.org/standards-positions/
254 stars 21 forks source link

[HTML] Canvas place element #403

Open khushalsagar opened 1 month ago

khushalsagar commented 1 month ago

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

https://github.com/w3ctag/design-reviews/issues/997

Mozilla standards-positions issue URL

https://github.com/mozilla/standards-positions/issues/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.

smfr commented 2 weeks ago

My initial concerns are described at https://github.com/WICG/canvas-place-element/issues/15