Skip to content

Commit 6bc7d85

Browse files
littledandomenic
authored andcommitted
Editorial: clarify interface mixins' elements vs. inherited ones
1 parent 6743297 commit 6bc7d85

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

index.bs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1467,6 +1467,15 @@ and [=operations=] describe the behaviors that can be invoked on the object.
14671467
[=Constants=] declare named constant values
14681468
that are exposed as a convenience to users of objects in the system.
14691469

1470+
<div class="note">
1471+
1472+
When an [=interface=] [=includes=] an [=interface mixin=], each [=member=]
1473+
of the interface mixin is also considered a member of the interface. In contrast,
1474+
[=interface/inherit|inherited=] interface members are not considered members
1475+
of the interface.
1476+
1477+
</div>
1478+
14701479
[=Interfaces=], [=interface mixins=], and [=namespaces=] each support a different set of [=members=],
14711480
which are specified in [[#idl-interfaces]], [[#idl-interface-mixins]], and [[#idl-namespaces]],
14721481
and summarized in the following informative table:

0 commit comments

Comments
 (0)