Packagecssom.view
Interfacepublic interface RangeView
Implementors Range

Introduced in: DOM 2 TR 

Has properties and methods that give information about the dimensions of a Range.

See also

W3C CSSOM Views Specification: RangeView


Public Methods
 MethodDefined By
  
Retrieves an object that specifies the bounds of a collection of TextRectangle objects.
RangeView
  
Retrieves a collection of rectangles that describes the layout of the contents of an object or range within the client.
RangeView
Method Detail
CSSOM View getBoundingClientRect()method
public function getBoundingClientRect():TextRectangle

Product Versions : Internet Explorer 5.5 Internet Explorer 6.0 Internet Explorer 7.0 Internet Explorer 8.0 as IE7 Internet Explorer 8.0 as IE8 Firefox 2.0 Firefox 3.0 Firefox 3.1b Safari 3.0 Safari 3.1 Safari 4.0b Chrome 1.0 Chrome 2.0 Opera 9.62 Opera 10.0a
Introduced in: DOM 2 TR 

Retrieves an object that specifies the bounds of a collection of TextRectangle objects.

Returns
TextRectangle — The returned value is a TextRectangle object which is the union of the rectangles returned by getClientRects() for the element, i.e., the CSS border-boxes associated with the element.

See also

CSSOM View getClientRects()method 
public function getClientRects():TextRectangleList

Product Versions : Internet Explorer 5.5 Internet Explorer 6.0 Internet Explorer 7.0 Internet Explorer 8.0 as IE7 Internet Explorer 8.0 as IE8 Firefox 2.0 Firefox 3.0 Firefox 3.1b Safari 3.0 Safari 3.1 Safari 4.0b Chrome 1.0 Chrome 2.0 Opera 9.62 Opera 10.0a
Introduced in: DOM 2 TR 

Retrieves a collection of rectangles that describes the layout of the contents of an object or range within the client. Each rectangle describes a single line.

Returns
TextRectangleList

See also