A class for representing CSS dimensions.
In contrast to the more general purpose Rectangle class, this class's values are mutable, so one can change the height of an element programmatically.
Important note: use of these methods will perform CSS calculations that can trigger a browser reflow. Therefore, use of these properties during an animation frame is discouraged. See also: Browser Reflow
this
and other
.
another
is inside or along the edges of this
.
this
entirely contains another
.
this
and other
. [...]
this
intersects other
.