Firefox Tomorrow

web api instance property

DOMRect: width property

View on MDN ↗

Available in workers

The width property of the DOMRect interface represents the width of the rectangle. The value can be negative.

Value

A double.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also