files/en-us/web/api/cssom_view_api/index.md
{{DefaultAPISidebar("CSSOM view API")}}
The CSSOM view API lets you manipulate the visual view of a document, including getting the position of element layout boxes, obtaining the width or height of the viewport through script, and also scrolling an element.
This module adds properties, methods, and events to interfaces defined in other specifications.
pageXOffset (see {{domxref("Window.scrollX", "scrollX")}})pageYOffset (see {{domxref("Window.scrollY", "scrollY")}})This module defines geometric utility methods that apply to the {{domxref("Text")}}, {{domxref("Element")}}, {{domxref("CSSPseudoElement")}}, and {{domxref("Document")}} interfaces. These GeometryUtils features are not yet implemented in any browser.
{{Specifications}}