[email protected], [email protected], [email protected]
placeElement technical paper [public]
None
placeElement() allows users of 2D and 3D canvases to draw arbitrary HTML elements into their canvas rendering contexts. This allows for greater flexibility in text rendering and accessibility for canvases.
Text support on canvas is far behind the rest of the web: it is not indexable nor accessible and multiline rendering is challenging and limited. placeElement() proposes an API that allows users to bring the power of HTML/CSS text formatting into canvases by drawing HTML elements within canvas rendering contexts.
This will not only allow webapps that use 2D or 3D canvases to leverage all the text formatting and styling options available to HTML (not to mention the possibility of scrolling, spellcheck, translate, etc.), but makes all of HTML available to canvas! Radio buttons with chromatic aberration! Platformer games with dropdown menus as obstacles! The possibilities are endless.
https://logs.csswg.org/irc.w3.org/css/2024-06-12/#e1628190
None
Pending
None
Gecko: No signal
WebKit: No signal
Web developers: Extremely positive. See placeElement Twitter Feedback
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
None
Tests will be added as we prototype
canvas-place-element
None
The feature will be flag guarded.
False
No milestones specified
https://chromestatus.com/feature/5172548013916160?gate=6290777780256768
This intent message was generated by Chrome Platform Status.
Contact emails[email protected], [email protected], [email protected]
Explainer
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/a473b17f-def6-4bb7-85ee-344947c5ecabn%40chromium.org.
On Wed, Jun 26, 2024 at 3:08 PM Aaron Krajeski <[email protected]> wrote:Contact emails[email protected], [email protected], [email protected]
Explainerhttps://www.chromium.org/blink/launching-features/#start-incubating recommends putting explainers on Github rather than Google Docs, and I think I see an explainer for this at https://github.com/Igalia/explainers/tree/main/canvas-formatted-text#2-html-in-canvas-placeelement. Is that the right place for reviewers to file issues?Thanks,Jeffrey
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CANh-dXnp%3DWQrjb_g7Jv7tRg3i_BR9rZHw3guqy0aOrUAr%2BNn7g%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/a473b17f-def6-4bb7-85ee-344947c5ecabn%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].