getRectValue()
method of the CSSPrimitiveValue
interface is used to get a rect value. If this CSS value doesn't contain a rect value, a DOMException
is raised. Modification to the corresponding style property can be achieved using the Rect
interface.