Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
eladalon1983 committed Oct 13, 2022
1 parent 90d53c8 commit f99b222
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions index.html
Expand Up @@ -982,6 +982,63 @@ <h2><dfn>CaptureController</dfn></h2>
<var>controller</var>, consists of running
the following steps:
</p>
<ol>
<li>
<p>
If <var>controller</var>.{{CaptureController/[[FocusDecisionFinalized]]}}
is <code>true</code>, abort these steps.
</p>
</li>
<li>
<p>
Set <var>controller</var>.{{CaptureController/[[FocusDecisionFinalized]]}}
to <code>true</code>.
</p>
</li>
<li>
<p>
If <var>controller</var>.{{CaptureController/[[FocusChangeDisabled]]}}
is <code>true</code>, abort these steps.
</p>
</li>
<li>
<p>
If too much time has elapsed since the [=capture-session=] started,
the user agent SHOULD set {{CaptureController/[[FocusDecisionFinalized]]}}
to <code>true</code>. The timespan is left up to the user agent,
but it is recommended that a value of one second be used.
</p>
</li>
<li>
<p>
If <var>controller</var>.{{CaptureController/[[DisplaySurfaceType]]}} is neither
{{DisplayCaptureSurfaceType/"browser"}} nor {{DisplayCaptureSurfaceType/"window"}},
abort these steps.
</p>
</li>
<li>
<p>
Run the following step [=in parallel=]:
</p>
<ol>
<li>
<p>
If <var>controller</var>.{{CaptureController/[[FocusBehavior]]}}
is {{CaptureStartFocusBehavior/"no-focus-change"}},
focus the [=display surface=] representing the capturing document.
</p>
</li>
<li>
<p>
If <var>controller</var>.{{CaptureController/[[FocusBehavior]]}}
is {{CaptureStartFocusBehavior/"focus-captured-surface"}},
focus the [=display surface=] referred to by
<var>controller</var>.{{CaptureController/[[Source]]}}.
</p>
</li>
</ol>
</li>
</ol>
</section>
<section>
<h2><dfn>SelfCapturePreferenceEnum</dfn></h2>
Expand Down

0 comments on commit f99b222

Please sign in to comment.