Firefox Tomorrow

web api instance property

SVGRect: width property

View on MDN ↗

The width property of the SVGRect interface is an alias for the width property. It describes the horizontal size of the element. It reflects the SVG element’s width attribute and the CSS width property.

The width is a length; it is the distance from the left of element to the right of the element in the user coordinate system. Its syntax is the same as that for <length>.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also