Skip to content

Commit da0e899

Browse files
authored
Convert Region to a mixin
Following whatwg/webidl#433.
1 parent 963cfcf commit da0e899

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

css-regions-1/Overview.bs

+5-8
Original file line numberDiff line numberDiff line change
@@ -1165,26 +1165,23 @@ The NamedFlow interface</h3>
11651165
to the <code>NULL</code> state.
11661166

11671167
<h3 id="the-region-interface">
1168-
The Region interface</h3>
1168+
The Region mixin</h3>
11691169

1170-
The {{Region}}
1171-
interface is a
1172-
<a href="https://www.w3.org/TR/WebIDL/#idl-implements-statements">supplemental interface</a>
1173-
which must be implemented by all objects
1170+
{{Region}} is a
1171+
<a href="https://heycam.github.io/webidl/#idl-interface-mixins">mixin</a>
1172+
which must be included by all interfaces
11741173
(<a href="https://www.w3.org/TR/dom/#interface-element">
11751174
<code class= "idl">Elements</code></a>,
11761175
pseudo-elements or other CSS constructs
11771176
such as <a href="https://drafts.csswg.org/css3-page-template/#templates-and-slots">slots</a>) in an implementation which can be <a>CSS Regions</a>.
11781177

11791178
<pre class="idl">
1180-
[Exposed=Window,
1181-
NoInterfaceObject]
11821179
interface Region {
11831180
readonly attribute CSSOMString regionOverset;
11841181
sequence&lt;Range&gt;? getRegionFlowRanges();
11851182
};
11861183

1187-
Element implements Region;
1184+
Element includes Region;
11881185
</pre>
11891186

11901187
The <dfn attribute for="Region"><code class= "idl">regionOverset</code></dfn>

0 commit comments

Comments
 (0)