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

Deny request on invisible document #60

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions fullscreen.bs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Boilerplate: omit feedback-header, omit conformance, omit index, omit idl-index
<pre class=link-defaults>
spec:dom; type:dfn; for:/; text:element
spec:dom; type:interface; text:Document
spec:page-visibility; type:dfn; text:hidden
</pre>

<pre class=anchors>
Expand Down Expand Up @@ -194,6 +195,8 @@ if all of the following are true, and false otherwise:
<li><p><var>element</var>'s <a>node document</a> is <a>allowed to use</a> the feature indicated by
attribute name <code>allowfullscreen</code>.
<!-- cross-process, recursive -->

<li><p><var>element</var>'s <a>node document</a>'s <a>hidden</a> attribute returns false.
</ul>

<p>The <dfn method for=Element><code>requestFullscreen()</code></dfn> method, when invoked, must run
Expand Down
4 changes: 3 additions & 1 deletion fullscreen.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<p data-fill-with="logo"><a class="logo" href="https://whatwg.org/"> <img alt="WHATWG" height="100" src="https://resources.whatwg.org/logo-fullscreen.svg"> </a> </p>
<hgroup>
<h1 class="p-name no-ref" id="title">Fullscreen API</h1>
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Living Standard — Last Updated <time class="dt-updated" datetime="2016-09-30">30 September 2016</time></span></h2>
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Living Standard — Last Updated <time class="dt-updated" datetime="2016-10-24">24 October 2016</time></span></h2>
</hgroup>
<div data-fill-with="spec-metadata">
<dl>
Expand Down Expand Up @@ -219,6 +219,8 @@ <h2 class="heading settled" data-level="4" id="api"><span class="secno">4. </spa
<li>
<p><var>element</var>’s <a data-link-type="dfn" href="https://dom.spec.whatwg.org/#concept-node-document">node document</a> is <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/embedded-content.html#allowed-to-use">allowed to use</a> the feature indicated by
attribute name <code>allowfullscreen</code>. </p>
<li>
<p><var>element</var>’s <a data-link-type="dfn" href="https://dom.spec.whatwg.org/#concept-node-document">node document</a>’s <a data-link-type="dfn">hidden</a> attribute returns false. </p>
</ul>
<p>The <dfn class="idl-code" data-dfn-for="Element" data-dfn-type="method" data-export="" id="dom-element-requestfullscreen"><code>requestFullscreen()</code><a class="self-link" href="#dom-element-requestfullscreen"></a></dfn> method, when invoked, must run
these steps: </p>
Expand Down