← Back to release summary

SVGElement.offset(Parent|Top|Left|Width|Height)

Category
DOM
Type
New or changed feature
Status
Removed (Chrome 50)
Intent stage
None

Summary

These attributes should only be supported on HTMLElement, but have been supported on all Elements in WebKit and Blink. getBoundingClientRect() can typically be used as a replacement.

Standards & signals

Docs: https://developer.mozilla.org/en-US/docs/Web/API/SVGElement

View on chromestatus.com