boundingTop | boundingLeft | boundingHeight | boundingWidth

This sample displays the bounding rectangle of text within textarea elements. Since the TextRange is inside a textarea, the value of the element's scrollTop property is added to the value of boundingTop.