Interface: HTMLDimensions
An object describing various dimensions of the HTML layout.
remarks
This object units are in CSS pixels. CSS pixels match device pixels when the
Web page has a <meta name="viewport" content="width=device-width" />
tag.
Hierarchy
- HTMLDimensions
Properties
content
• content: DOMRectSize
The content size, e.g. the size of the body element in CSS pixels.
implementation
• implementation: HTMLDimensionsImplementation
Which implementation has been used to generate this event? See HTMLDimensionsImplementation.
layoutViewport
• layoutViewport: DOMRectSize
The layout viewport size, e.g. the size of the WebView in device pixels.