Skip to content

Commit

Permalink
Merge pull request #269 from w3c/eladalon1983-patch-8
Browse files Browse the repository at this point in the history
Make CaptureController inherit from EventTarget
  • Loading branch information
eladalon1983 committed Jun 29, 2023
2 parents 1f8eb00 + cb65463 commit f24b24a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -852,11 +852,20 @@ <h2><dfn>CaptureController</dfn></h2>
</p>
<pre class="idl">
[Exposed=Window, SecureContext]
interface CaptureController {
interface CaptureController : EventTarget {
constructor();
undefined setFocusBehavior(CaptureStartFocusBehavior focusBehavior);
};
</pre>
<div class="issue atrisk">
<p>
{{CaptureController}} does not yet define event handlers, so
it is not required to inherit from {{EventTarget}}. This is
for the benefit of future specifications that extend
{{CaptureController}} with event handler attributes; if
inheritance is not used, it can be removed.
</p>
</div>
<dl data-link-for="CaptureController" data-dfn-for="CaptureController" class="methods">
<dt>
<dfn>constructor</dfn>
Expand Down

0 comments on commit f24b24a

Please sign in to comment.