summaryrefslogtreecommitdiffstats
path: root/test/wpt/tests/interfaces/css-regions.idl
blob: 113438f790e52ff4686f8471aa4b7f0e999d0724 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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;