Skip to content

Commit

Permalink
No longer bubble events per https://www.w3.org/Bugs/Public/show_bug.c…
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed May 1, 2013
1 parent 50f0cf7 commit 5eb5af6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 34 deletions.
25 changes: 8 additions & 17 deletions Overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,7 @@ <h2 id="api"><span class="secno">4 </span>API</h2>
<p>If any of the following conditions are true,
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#queue-a-task">queue a task</a> to
<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> with its
<code title="dom-Event-bubbles">bubbles</code> attribute set to true on the
<a href="#context-object">context object</a>'s
named <code>fullscreenerror</code> on the <a href="#context-object">context object</a>'s
<a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-node-document" title="concept-node-document">node document</a>, and then terminate these steps:

<ul>
Expand Down Expand Up @@ -293,9 +291,7 @@ <h2 id="api"><span class="secno">4 </span>API</h2>
<a href="#context-object">context object</a> on
<var title="">document</var>'s <a href="#fullscreen-element-stack">fullscreen element stack</a> and
<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>fullscreenchange</code> with its
<code title="dom-Event-bubbles">bubbles</code> attribute set to true on the
<var title="">document</var>.
named <code>fullscreenchange</code> on the <var title="">document</var>.

<li><p>Otherwise, if <var title="">document</var>'s
<a href="#fullscreen-element-stack">fullscreen element stack</a> is either empty or its top
Expand All @@ -308,9 +304,7 @@ <h2 id="api"><span class="secno">4 </span>API</h2>
<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> on
<var title="">document</var>'s <a href="#fullscreen-element-stack">fullscreen element stack</a> and
<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>fullscreenchange</code> with its
<code title="dom-Event-bubbles">bubbles</code> attribute set to true on
<var title="">document</var>.
named <code>fullscreenchange</code> on <var title="">document</var>.

<li><p>Otherwise, do nothing for this <var title="">document</var>. It stays
the same.
Expand Down Expand Up @@ -362,9 +356,7 @@ <h2 id="api"><span class="secno">4 </span>API</h2>
<a href="#concept-fullscreen-empty" title="concept-fullscreen-empty">empty</a>
<var title="">descendant</var>'s <a href="#fullscreen-element-stack">fullscreen element stack</a> and
<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>fullscreenchange</code> with its
<code title="dom-Event-bubbles">bubbles</code> attribute set to true on
<var title="">descendant</var>.
named <code>fullscreenchange</code> on <var title="">descendant</var>.

<li>
<p>While <var title="">doc</var> is not null, run these substeps:
Expand All @@ -390,9 +382,7 @@ <h2 id="api"><span class="secno">4 </span>API</h2>

<li><p><a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#queue-a-task">Queue a task</a> to
<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>fullscreenchange</code> with its
<code title="dom-Event-bubbles">bubbles</code> attribute set to true on
<var title="">doc</var>.
named <code>fullscreenchange</code> on <var title="">doc</var>.

<li><p>If <var title="">doc</var>'s <a href="#fullscreen-element-stack">fullscreen element stack</a> is
empty and <var title="">doc</var>'s
Expand Down Expand Up @@ -602,8 +592,9 @@ <h2 class="no-num" id="acknowledgments">Acknowledgments</h2>
Rafał Chłodnicki,
Rune Lillesveen,
Sigbjørn Vik,
Simon Pieters, and
Tab Atkins
Simon Pieters,
Tab Atkins, and
Vincent Scheib

for also being awesome.

Expand Down
25 changes: 8 additions & 17 deletions Overview.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,7 @@ <h2>API</h2>
<p>If any of the following conditions are true,
<span data-anolis-spec=html>queue a task</span> to
<span data-anolis-spec=dom title=concept-event-fire>fire an event</span>
named <code>fullscreenerror</code> with its
<code title=dom-Event-bubbles>bubbles</code> attribute set to true on the
<span>context object</span>'s
named <code>fullscreenerror</code> on the <span>context object</span>'s
<span data-anolis-spec=dom title=concept-node-document>node document</span>, and then terminate these steps:

<ul>
Expand Down Expand Up @@ -279,9 +277,7 @@ <h2>API</h2>
<span>context object</span> on
<var title>document</var>'s <span>fullscreen element stack</span> and
<span data-anolis-spec=dom title=concept-event-fire>fire an event</span>
named <code>fullscreenchange</code> with its
<code title=dom-Event-bubbles>bubbles</code> attribute set to true on the
<var title>document</var>.
named <code>fullscreenchange</code> on the <var title>document</var>.

<li><p>Otherwise, if <var title>document</var>'s
<span>fullscreen element stack</span> is either empty or its top
Expand All @@ -294,9 +290,7 @@ <h2>API</h2>
<span data-anolis-spec=html>browsing context container</span> on
<var title>document</var>'s <span>fullscreen element stack</span> and
<span data-anolis-spec=dom title=concept-event-fire>fire an event</span>
named <code>fullscreenchange</code> with its
<code title=dom-Event-bubbles>bubbles</code> attribute set to true on
<var title>document</var>.
named <code>fullscreenchange</code> on <var title>document</var>.

<li><p>Otherwise, do nothing for this <var title>document</var>. It stays
the same.
Expand Down Expand Up @@ -348,9 +342,7 @@ <h2>API</h2>
<span title=concept-fullscreen-empty>empty</span>
<var title>descendant</var>'s <span>fullscreen element stack</span> and
<span data-anolis-spec=dom title=concept-event-fire>fire an event</span>
named <code>fullscreenchange</code> with its
<code title=dom-Event-bubbles>bubbles</code> attribute set to true on
<var title>descendant</var>.
named <code>fullscreenchange</code> on <var title>descendant</var>.

<li>
<p>While <var title>doc</var> is not null, run these substeps:
Expand All @@ -376,9 +368,7 @@ <h2>API</h2>

<li><p><span data-anolis-spec=html>Queue a task</span> to
<span data-anolis-spec=dom title=concept-event-fire>fire an event</span>
named <code>fullscreenchange</code> with its
<code title=dom-Event-bubbles>bubbles</code> attribute set to true on
<var title>doc</var>.
named <code>fullscreenchange</code> on <var title>doc</var>.

<li><p>If <var title>doc</var>'s <span>fullscreen element stack</span> is
empty and <var title>doc</var>'s
Expand Down Expand Up @@ -573,8 +563,9 @@ <h2 class=no-num>Acknowledgments</h2>
Rafał Chłodnicki,
Rune Lillesveen,
Sigbj&oslash;rn Vik,
Simon Pieters, and
Tab Atkins
Simon Pieters,
Tab Atkins, and
Vincent Scheib

for also being awesome.

Expand Down

0 comments on commit 5eb5af6

Please sign in to comment.