← Back to release summary

Async Clipboard: SVG support

Category
Capabilities (Fugu)
Type
New or changed feature
Status
In developer trial (Behind a flag) (Chrome 124)
Intent stage
Prepare to ship

Summary

Adds `image/svg+xml` standard type support to the Async Clipboard API. The current implementation of the Async Clipboard API only supports text/plain, image/png, and text/html standard types. SVG images are popular due to their ability to encode images in a space efficiently and their ability to maintain image quality even when zooming in. Note that `image/svg+xml` as a standard type is not supported in DataTransfer APIs.

Motivation

The SVG image format is becoming more common for the creation of icons and other images. This format can be used by: -Programs such as Inkscape, Adobe Illustrator, and other vector graphics editors -Sites that support SVG that may want to copy SVG images across websites such as Figma and Photopea By adding this format, we enable interoperability between chrome and these other programs.

Standards & signals

Docs: https://docs.google.com/document/d/1jq8QSCQRdNy99rnPusmW8is62c22PVuq-Sk-tMT2tRk/edit

Samples: https://gilded-petalite-frost.glitch.me

Explainers: https://docs.google.com/document/d/1Rx7gi01avpRRNYKSpp3U4WQdjery0H0IkX2XxDtfZ8I/edit

View on chromestatus.com