The Region interface is available for any element that serves as a CSS region, whose flow-from CSS specifies it displays content from a named flow.
PropertiesNo events.
ExamplesDetermines if an element is currently set to behave as a region:
function isRegion(node) {
if (! node.getRegionFlowRanges) return(false);
if (node.getRegionFlowRanges() == null) return(false);
return(true);
}
Usage
Use the Region interface to determine whether any content flows through the region, what content currently displays, and any special CSS styling that applies.
The interface is still available for elements that change back to non-region elements, when their flow-from property becomes none.
NotesFor an overview of CSS Regions, see Using CSS Regions to flow content through a layout.
Related specificationsRegion
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4