Skip to content

Commit

Permalink
Add note that the pip window doesn't have to close
Browse files Browse the repository at this point in the history
  • Loading branch information
steimelchrome committed Feb 14, 2024
1 parent 569b79a commit db706dc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,13 @@ Add a new step to {{Window/focus()}} after step 3, "Run the <a>focusing steps</a
1. <a>Consume user activation</a> given |pipWindow|'s <a>relevant global object</a>.
2. Give |current| <a>system focus</a>.

<p class="note">
Giving system focus to the opener does not necessarily need to close the
document picture-in-picture window. If the website wants to close the document
picture-in-picture window after focusing, they can always do so using
{{Window/close()}} on the document picture-in-picture window itself.
</p>

# Examples # {#examples}

<em>This section is non-normative</em>
Expand Down

0 comments on commit db706dc

Please sign in to comment.