Skip to content

Commit

Permalink
[e] (0) Be more explicit about what this means.
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=19713
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7702 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 6, 2013
1 parent 1c30229 commit 7c9df86
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 15 deletions.
8 changes: 3 additions & 5 deletions complete.html
Expand Up @@ -72437,19 +72437,17 @@ <h5 id=event-handler-attributes><span class=secno>7.1.6.1 </span>Event handlers<

<dl class=switch><dt>If the event type is <code class=event-mouseover>mouseover</code></dt>

<dd><p>If <var title="">return value</var> is a boolean with the value true, then cancel the
event.</dd>
<dd><p>If <var title="">return value</var> is a WebIDL boolean true value, then cancel the event.</dd>

<dt>If the <code><a href=#event>Event</a></code> object <var title="">E</var> is a <code><a href=#beforeunloadevent>BeforeUnloadEvent</a></code>
object</dt>

<dd><p>If <var title="">return value</var> is a string, and the <code><a href=#event>Event</a></code> object <var title="">E</var>'s <code title=dom-BeforeUnloadEvent-returnValue><a href=#dom-beforeunloadevent-returnvalue>returnValue</a></code>
<dd><p>If <var title="">return value</var> is a WebIDL string value, and the <code><a href=#event>Event</a></code> object <var title="">E</var>'s <code title=dom-BeforeUnloadEvent-returnValue><a href=#dom-beforeunloadevent-returnvalue>returnValue</a></code>
attribute's value is the empty string, then set the <code title=dom-BeforeUnloadEvent-returnValue><a href=#dom-beforeunloadevent-returnvalue>returnValue</a></code> attribute's value to <var title="">return value</var>.</dd>

<dt>Otherwise</dt>

<dd><p>If <var title="">return value</var> is a boolean with the value false, then cancel the
event.</dd>
<dd><p>If <var title="">return value</var> is a WebIDL boolean false value, then cancel the event.</dd>

<!-- IE actually uncancels the event if the function returns true -->

Expand Down
8 changes: 3 additions & 5 deletions index
Expand Up @@ -72437,19 +72437,17 @@ currently this is unnecessary: http://www.w3.org/Bugs/Public/show_bug.cgi?id=119

<dl class=switch><dt>If the event type is <code class=event-mouseover>mouseover</code></dt>

<dd><p>If <var title="">return value</var> is a boolean with the value true, then cancel the
event.</dd>
<dd><p>If <var title="">return value</var> is a WebIDL boolean true value, then cancel the event.</dd>

<dt>If the <code><a href=#event>Event</a></code> object <var title="">E</var> is a <code><a href=#beforeunloadevent>BeforeUnloadEvent</a></code>
object</dt>

<dd><p>If <var title="">return value</var> is a string, and the <code><a href=#event>Event</a></code> object <var title="">E</var>'s <code title=dom-BeforeUnloadEvent-returnValue><a href=#dom-beforeunloadevent-returnvalue>returnValue</a></code>
<dd><p>If <var title="">return value</var> is a WebIDL string value, and the <code><a href=#event>Event</a></code> object <var title="">E</var>'s <code title=dom-BeforeUnloadEvent-returnValue><a href=#dom-beforeunloadevent-returnvalue>returnValue</a></code>
attribute's value is the empty string, then set the <code title=dom-BeforeUnloadEvent-returnValue><a href=#dom-beforeunloadevent-returnvalue>returnValue</a></code> attribute's value to <var title="">return value</var>.</dd>

<dt>Otherwise</dt>

<dd><p>If <var title="">return value</var> is a boolean with the value false, then cancel the
event.</dd>
<dd><p>If <var title="">return value</var> is a WebIDL boolean false value, then cancel the event.</dd>

<!-- IE actually uncancels the event if the function returns true -->

Expand Down
8 changes: 3 additions & 5 deletions source
Expand Up @@ -84713,22 +84713,20 @@ currently this is unnecessary: http://www.w3.org/Bugs/Public/show_bug.cgi?id=119

<dt>If the event type is <code class="event-mouseover">mouseover</code></dt>

<dd><p>If <var title="">return value</var> is a boolean with the value true, then cancel the
event.</p></dd>
<dd><p>If <var title="">return value</var> is a WebIDL boolean true value, then cancel the event.</p></dd>

<dt>If the <code>Event</code> object <var title="">E</var> is a <code>BeforeUnloadEvent</code>
object</dt>

<dd><p>If <var title="">return value</var> is a string, and the <code>Event</code> object <var
<dd><p>If <var title="">return value</var> is a WebIDL string value, and the <code>Event</code> object <var
title="">E</var>'s <code title="dom-BeforeUnloadEvent-returnValue">returnValue</code>
attribute's value is the empty string, then set the <code
title="dom-BeforeUnloadEvent-returnValue">returnValue</code> attribute's value to <var
title="">return value</var>.</p></dd>

<dt>Otherwise</dt>

<dd><p>If <var title="">return value</var> is a boolean with the value false, then cancel the
event.</p></dd>
<dd><p>If <var title="">return value</var> is a WebIDL boolean false value, then cancel the event.</p></dd>

<!-- IE actually uncancels the event if the function returns true -->

Expand Down

0 comments on commit 7c9df86

Please sign in to comment.