Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. SVGImageElement
  4. crossOrigin

SVGImageElement: crossOrigin property

Baseline 2023
Newly available

Since ⁨December 2023⁩, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

ThecrossOrigin property of theSVGImageElement interface is a string which specifies the Cross-Origin Resource Sharing (CORS) setting to use when retrieving the image. It reflects thecrossorigin content attribute of the given<image> element.

Value

A string which specifies the CORS mode used when fetching the image resource. Valid values are"anonymous" or"use-credentials". If thecrossOrigin property is set to any other value, it is the same as specifying"anonymous".

Specifications

Specification
Scalable Vector Graphics (SVG) 2
# __svg__SVGImageElement__crossOrigin

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp