It is implemented for LayoutRect and Rect<Au>.
Replaces the max_rect() function from servo_geometry.