diff options
Diffstat (limited to 'testing/web-platform/tests/interfaces/css-regions.idl')
-rw-r--r-- | testing/web-platform/tests/interfaces/css-regions.idl | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/web-platform/tests/interfaces/css-regions.idl b/testing/web-platform/tests/interfaces/css-regions.idl new file mode 100644 index 0000000000..113438f790 --- /dev/null +++ b/testing/web-platform/tests/interfaces/css-regions.idl @@ -0,0 +1,29 @@ +// GENERATED CONTENT - DO NOT EDIT +// Content was automatically extracted by Reffy into webref +// (https://github.com/w3c/webref) +// Source: CSS Regions Module Level 1 (https://drafts.csswg.org/css-regions-1/) + +partial interface Document { + readonly attribute NamedFlowMap namedFlows; +}; + +[Exposed=Window] interface NamedFlowMap { + maplike<CSSOMString, NamedFlow>; +}; + +[Exposed=Window] +interface NamedFlow : EventTarget { + readonly attribute CSSOMString name; + readonly attribute boolean overset; + sequence<Element> getRegions(); + readonly attribute short firstEmptyRegionIndex; + sequence<Node> getContent(); + sequence<Element> getRegionsByContent(Node node); +}; + +interface mixin Region { + readonly attribute CSSOMString regionOverset; + sequence<Range>? getRegionFlowRanges(); +}; + +Element includes Region; |