MDN self-hosted library · e01.org

SVGImageElement: preserveAspectRatio property

SVG

no runnable cells web-api-instance-property upstream source

SVG

The preserveAspectRatio read-only property of the SVGImageElement interface returns an SVGAnimatedPreserveAspectRatio corresponding to the preserveAspectRatio attribute of the given image element.

Value

An SVGAnimatedPreserveAspectRatio.

Specifications

Browser compatibility