ExperimentalExperimentalclientThe box this element clips its content to: the element's padding box, which excludes borders and any scrollbar gutter. For a table in the collapsing border model, it is the border box. Coordinates are in application viewport coordinate space.
ExperimentalclippedThe part of clientRect that remains after this element's clipping ancestors clip it, or unset when they
clip it away entirely.
It is clientRect intersected with every clipping rect along the chain that starts at this element's own
clippingRectIndex, so an element is clipped by its ancestors and never by itself. Clipping rects with
clipsX clip it horizontally, and those with clipsY clip it vertically. Only elements inside the
publication content clip. The page boundary, the content display area and the reading area do not, so this
rectangle may extend beyond them.
When no ancestor clips this element, it equals clientRect.
Content and clipping elements are measured separately, so an edge they share can differ by a tiny fraction of a pixel. A cut that small is ignored, so this rectangle can extend that far past a clipping rect. When clipping cuts a width or height down to that much or less, it is unset.
Coordinates are in application viewport coordinate space. Any transform applied to the ReaderView, such as the user pinch-zooming, will make this rectangle out of date.
ExperimentalclippingIndex into IVisibleContentAreaRectsResultData.clippingRects of the nearest ancestor element that can clip this element, or null when there is no such ancestor. The index is set whether or not that ancestor clips this element.
ExperimentalclipsWhether this element clips content that overflows horizontally.
ExperimentalclipsWhether this element clips content that overflows vertically.
ExperimentallocatorThe locator of the clipping element itself.
Two entries in IVisibleContentAreaRectsResultData.clippingRects may have the same locator, in two cases. A framework-injected wrapper element resolves to the element it wraps. An element whose content continues on another visible page has one entry per page.
ExperimentalscrollsWhether this element is a horizontal scroll container — its computed overflow-x is auto or scroll.
This describes the element's overflow configuration, not whether it can be scrolled right now.
ExperimentalscrollsWhether this element is a vertical scroll container — its computed overflow-y is auto or scroll.
This describes the element's overflow configuration, not whether it can be scrolled right now.
A serializable representation of an IVisibleContentClippingRect: an element inside the publication content that can clip its descendants, as listed in IVisibleContentAreaRectsResultData.clippingRects.
Only elements within the publication content are represented. Clipping by the page or viewport boundary is not, so a
clippingRectIndexof null means that no further publication element can clip this one — not that nothing does.This API is experimental and might be subject to changes in future releases.