Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define "focus-capturing-application" #270

Merged
merged 5 commits into from
Jun 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,7 @@ <h2><dfn>CaptureStartFocusBehavior</dfn></h2>
</p>
<pre class="idl">
enum CaptureStartFocusBehavior {
"focus-capturing-application",
"focus-captured-surface",
"no-focus-change"
};
Expand All @@ -816,6 +817,14 @@ <h2><dfn>CaptureStartFocusBehavior</dfn></h2>
Enumeration description
</th>
</tr>
<tr>
<td style="white-space:nowrap">
<dfn id="idl-def-CaptureStartFocusBehavior.focus-capturing-application">focus-capturing-application</dfn>
</td>
<td>
The application prefers to be focused.
</td>
</tr>
<tr>
<td style="white-space:nowrap">
<dfn id="idl-def-CaptureStartFocusBehavior.focus-captured-surface">focus-captured-surface</dfn>
Expand All @@ -830,11 +839,17 @@ <h2><dfn>CaptureStartFocusBehavior</dfn></h2>
<dfn id="idl-def-CaptureStartFocusBehavior.no-focus-change">no-focus-change</dfn>
</td>
<td>
The application prefers that the user agent not change focus.
The application prefers that the user agent not change focus, leaving focus
with whichever surface last had focus following the user's interaction with
the user agent and/or operating system.
</td>
</tr>
</tbody>
</table>
<div class="note">
The Working Group is investigating the possibility of
deprecating {{CaptureStartFocusBehavior/"no-focus-change"}}.
</div>
</section>
<section>
<h2><dfn>CaptureController</dfn></h2>
Expand Down Expand Up @@ -1023,7 +1038,7 @@ <h2><dfn>CaptureController</dfn></h2>
<li>
<p>
If <var>controller</var>.{{CaptureController/[[FocusBehavior]]}}
is {{CaptureStartFocusBehavior/"no-focus-change"}},
is {{CaptureStartFocusBehavior/"focus-capturing-application"}},
focus the [=display surface=] representing the capturing document.
</p>
</li>
Expand Down