Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Aug 14, 2014
1 parent bd0c0c2 commit 742c24c
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 16 deletions.
26 changes: 17 additions & 9 deletions Overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<hgroup>
<h1 class="p-name">Fullscreen API</h1>
<h2 class="no-num no-toc">Living Standard — Last Updated 13 August 2014
<h2 class="no-num no-toc">Living Standard — Last Updated 14 August 2014
</h2>
</hgroup>

Expand Down Expand Up @@ -45,7 +45,7 @@ <h2 class="no-num no-toc">Living Standard — Last Updated 13 August 2014
<p class="copyright"><a href="http://creativecommons.org/publicdomain/zero/1.0/" rel="license"><img alt="CC0" src="http://i.creativecommons.org/p/zero/1.0/80x15.png"></a>
To the extent possible under law, the editors have waived all copyright and
related or neighboring rights to this work. In addition, as of
13 August 2014, the editors have made this specification available
14 August 2014, the editors have made this specification available
under the
<a href="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0" rel="license">Open Web Foundation Agreement Version 1.0</a>,
which is available at
Expand Down Expand Up @@ -271,8 +271,9 @@ <h2 id="api"><span class="secno">4 </span>API</h2>
<a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-node-document" title="concept-node-document">node document</a>'s
<a href="#fullscreen-element-stack">fullscreen element stack</a> is either empty or its top
<a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-element" title="concept-element">element</a> is an
<a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-tree-ancestor" title="concept-tree-ancestor">ancestor</a> of
<var title="">element</var>.
<a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-tree-inclusive-ancestor" title="concept-tree-inclusive-ancestor">inclusive ancestor</a>
of <var title="">element</var>.
<!-- If /element/ is on top, nothing happens -->

<li><p><var title="">element</var> has no
<a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-tree-ancestor" title="concept-tree-ancestor">ancestor</a>
Expand All @@ -281,6 +282,13 @@ <h2 id="api"><span class="secno">4 </span>API</h2>
<code title="">iframe</code> and
<a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-element-namespace" title="concept-element-namespace">namespace</a> is the
<a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#html-namespace">HTML namespace</a>.

<li><p>If <var title="">element</var>'s <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#browsing-context">browsing context</a>
has a <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#browsing-context-container">browsing context container</a>, the
<a href="#fullscreen-element-ready-check">fullscreen element ready check</a> returns true for <var title="">element</var>'s
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#browsing-context">browsing context</a>'s
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#browsing-context-container">browsing context container</a>.
<!-- cross-process, recursive -->
</ul>

<p>The
Expand Down Expand Up @@ -335,17 +343,17 @@ <h2 id="api"><span class="secno">4 </span>API</h2>
<li><p>Let <var title="">doc</var> be <var title="">element</var>'s
<a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-node-document" title="concept-node-document">node document</a>.

<li><p>If either <var title="">error</var> is true or the
<a href="#fullscreen-element-ready-check">fullscreen element ready check</a> for <var title="">element</var> returns false,
<a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-event-fire" title="concept-event-fire">fire an event</a> named
<code>fullscreenerror</code> on <var title="">doc</var>, and then terminate these steps.

<li>
<p>If <var title="">element</var> is on top of <var title="">doc</var>'s
<a href="#fullscreen-element-stack">fullscreen element stack</a>, terminate these substeps.

<p class="note">No need to notify observers when nothing has changed.

<li><p>If either <var title="">error</var> is true or the
<a href="#fullscreen-element-ready-check">fullscreen element ready check</a> for <var title="">element</var> returns false,
<a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-event-fire" title="concept-event-fire">fire an event</a> named
<code>fullscreenerror</code> on <var title="">doc</var>, and then terminate these steps.

<li><p><a href="#concept-fullscreen-add" title="concept-fullscreen-add">Add</a> <var title="">element</var> on
<var title="">doc</var>'s <a href="#fullscreen-element-stack">fullscreen element stack</a>.

Expand Down
22 changes: 15 additions & 7 deletions Overview.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,9 @@ <h2>API</h2>
<span data-anolis-spec=dom title=concept-node-document>node document</span>'s
<span>fullscreen element stack</span> is either empty or its top
<span data-anolis-spec=dom title=concept-element>element</span> is an
<span data-anolis-spec=dom title=concept-tree-ancestor>ancestor</span> of
<var title>element</var>.
<span data-anolis-spec=dom title=concept-tree-inclusive-ancestor>inclusive ancestor</span>
of <var title>element</var>.
<!-- If /element/ is on top, nothing happens -->

<li><p><var title>element</var> has no
<span data-anolis-spec=dom title=concept-tree-ancestor>ancestor</span>
Expand All @@ -267,6 +268,13 @@ <h2>API</h2>
<code title>iframe</code> and
<span data-anolis-spec=dom title=concept-element-namespace>namespace</span> is the
<span data-anolis-spec=dom>HTML namespace</span>.

<li><p>If <var title>element</var>'s <span data-anolis-spec=html>browsing context</span>
has a <span data-anolis-spec=html>browsing context container</span>, the
<span>fullscreen element ready check</span> returns true for <var title>element</var>'s
<span data-anolis-spec=html>browsing context</span>'s
<span data-anolis-spec=html>browsing context container</span>.
<!-- cross-process, recursive -->
</ul>

<p>The
Expand Down Expand Up @@ -321,17 +329,17 @@ <h2>API</h2>
<li><p>Let <var title>doc</var> be <var title>element</var>'s
<span data-anolis-spec=dom title=concept-node-document>node document</span>.

<li><p>If either <var title>error</var> is true or the
<span>fullscreen element ready check</span> for <var title>element</var> returns false,
<span data-anolis-spec=dom title=concept-event-fire>fire an event</span> named
<code>fullscreenerror</code> on <var title>doc</var>, and then terminate these steps.

<li>
<p>If <var title>element</var> is on top of <var title>doc</var>'s
<span>fullscreen element stack</span>, terminate these substeps.

<p class=note>No need to notify observers when nothing has changed.

<li><p>If either <var title>error</var> is true or the
<span>fullscreen element ready check</span> for <var title>element</var> returns false,
<span data-anolis-spec=dom title=concept-event-fire>fire an event</span> named
<code>fullscreenerror</code> on <var title>doc</var>, and then terminate these steps.

<li><p><span title=concept-fullscreen-add>Add</span> <var title>element</var> on
<var title>doc</var>'s <span>fullscreen element stack</span>.

Expand Down

0 comments on commit 742c24c

Please sign in to comment.