Skip to content

Commit

Permalink
[e] (0) Define 'trusted event' via DOM3 Events.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8117

git-svn-id: http://svn.whatwg.org/webapps@4452 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 18, 2009
1 parent f432e6f commit 98b6fe3
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 15 deletions.
13 changes: 7 additions & 6 deletions complete.html
Expand Up @@ -108,7 +108,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<hgroup><h1>Web Applications 1.0</h1>
<h2 class="no-num no-toc">Draft Standard &mdash; 17 December 2009</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 18 December 2009</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
Expand Down Expand Up @@ -1996,9 +1996,10 @@ <h4 id=scripting-0><span class=secno>2.1.4 </span>Scripting</h4>
<span class=impl>must</span> operate on the actual underlying
data, not a snapshot of the data.</p>

<p>The terms <dfn title="">fire</dfn> and <dfn title="">dispatch</dfn> are used
interchangeably in the context of events, as in the DOM Events
specifications. <a href=#refsDOMEVENTS>[DOMEVENTS]</a></p>
<p>The terms <dfn title="">fire</dfn> and <dfn title="">dispatch</dfn> are used interchangeably in the context of
events, as in the DOM Events specifications. The term <dfn id=concept-events-trusted title=concept-events-trusted>trusted event</dfn> is used as
defined by the DOM Events specification. <!--
http://krijnhoetmer.nl/irc-logs/webapps/20091218 --> <a href=#refsDOMEVENTS>[DOMEVENTS]</a></p>


<h4 id=plugins><span class=secno>2.1.5 </span>Plugins</h4>
Expand Down Expand Up @@ -15771,7 +15772,7 @@ <h4 id=the-a-element><span class=secno>4.6.1 </span>The <dfn><code>a</code></dfn
the following steps:</p>

<ol><li><p>If the <code title=event-DOMActivate>DOMActivate</code>
event in question is not <span title=concept-events-trusted>trusted</span> (i.e. a <code title=dom-click><a href=#dom-click>click()</a></code> method call was the reason for the
event in question is not <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> (i.e. a <code title=dom-click><a href=#dom-click>click()</a></code> method call was the reason for the
event being dispatched), and the <code><a href=#the-a-element>a</a></code> element's <code title=attr-hyperlink-target><a href=#attr-hyperlink-target>target</a></code> attribute is such that
applying <a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>the rules for choosing a browsing context given a
browsing context name</a>, using the value of the <code title=attr-hyperlink-target><a href=#attr-hyperlink-target>target</a></code> attribute as the
Expand Down Expand Up @@ -27952,7 +27953,7 @@ <h4 id=the-area-element><span class=secno>4.8.13 </span>The <dfn><code>area</cod
elements is to run the following steps:</p>

<ol><li><p>If the <code title=event-DOMActivate>DOMActivate</code>
event in question is not <span title=concept-events-trusted>trusted</span> (i.e. a <code title=dom-click><a href=#dom-click>click()</a></code> method call was the reason for the
event in question is not <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> (i.e. a <code title=dom-click><a href=#dom-click>click()</a></code> method call was the reason for the
event being dispatched), and the <code><a href=#the-area-element>area</a></code> element's <code title=attr-hyperlink-target><a href=#attr-hyperlink-target>target</a></code> attribute is such that
applying <a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>the rules for choosing a browsing context given a
browsing context name</a>, using the value of the <code title=attr-hyperlink-target><a href=#attr-hyperlink-target>target</a></code> attribute as the
Expand Down
13 changes: 7 additions & 6 deletions index
Expand Up @@ -110,7 +110,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<hgroup><h1>WHATWG HTML (Including HTML5)</h1>
<h2 class="no-num no-toc">Draft Standard &mdash; 17 December 2009</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 18 December 2009</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
Expand Down Expand Up @@ -1831,9 +1831,10 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<span class=impl>must</span> operate on the actual underlying
data, not a snapshot of the data.</p>

<p>The terms <dfn title="">fire</dfn> and <dfn title="">dispatch</dfn> are used
interchangeably in the context of events, as in the DOM Events
specifications. <a href=#refsDOMEVENTS>[DOMEVENTS]</a></p>
<p>The terms <dfn title="">fire</dfn> and <dfn title="">dispatch</dfn> are used interchangeably in the context of
events, as in the DOM Events specifications. The term <dfn id=concept-events-trusted title=concept-events-trusted>trusted event</dfn> is used as
defined by the DOM Events specification. <!--
http://krijnhoetmer.nl/irc-logs/webapps/20091218 --> <a href=#refsDOMEVENTS>[DOMEVENTS]</a></p>


<h4 id=plugins><span class=secno>2.1.5 </span>Plugins</h4>
Expand Down Expand Up @@ -15606,7 +15607,7 @@ first matching case):&lt;/p&gt;
the following steps:</p>

<ol><li><p>If the <code title=event-DOMActivate>DOMActivate</code>
event in question is not <span title=concept-events-trusted>trusted</span> (i.e. a <code title=dom-click><a href=#dom-click>click()</a></code> method call was the reason for the
event in question is not <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> (i.e. a <code title=dom-click><a href=#dom-click>click()</a></code> method call was the reason for the
event being dispatched), and the <code><a href=#the-a-element>a</a></code> element's <code title=attr-hyperlink-target><a href=#attr-hyperlink-target>target</a></code> attribute is such that
applying <a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>the rules for choosing a browsing context given a
browsing context name</a>, using the value of the <code title=attr-hyperlink-target><a href=#attr-hyperlink-target>target</a></code> attribute as the
Expand Down Expand Up @@ -27787,7 +27788,7 @@ function AddCloud(data, x, y) { ... }</pre>
elements is to run the following steps:</p>

<ol><li><p>If the <code title=event-DOMActivate>DOMActivate</code>
event in question is not <span title=concept-events-trusted>trusted</span> (i.e. a <code title=dom-click><a href=#dom-click>click()</a></code> method call was the reason for the
event in question is not <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> (i.e. a <code title=dom-click><a href=#dom-click>click()</a></code> method call was the reason for the
event being dispatched), and the <code><a href=#the-area-element>area</a></code> element's <code title=attr-hyperlink-target><a href=#attr-hyperlink-target>target</a></code> attribute is such that
applying <a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>the rules for choosing a browsing context given a
browsing context name</a>, using the value of the <code title=attr-hyperlink-target><a href=#attr-hyperlink-target>target</a></code> attribute as the
Expand Down
10 changes: 7 additions & 3 deletions source
Expand Up @@ -844,9 +844,13 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<span class="impl">must</span> operate on the actual underlying
data, not a snapshot of the data.</p>

<p>The terms <dfn title="">fire</dfn> and <dfn title="">dispatch</dfn> are used
interchangeably in the context of events, as in the DOM Events
specifications. <a href="#refsDOMEVENTS">[DOMEVENTS]</a></p>
<p>The terms <dfn title="">fire</dfn> and <dfn
title="">dispatch</dfn> are used interchangeably in the context of
events, as in the DOM Events specifications. The term <dfn
title="concept-events-trusted">trusted event</dfn> is used as
defined by the DOM Events specification. <!--
http://krijnhoetmer.nl/irc-logs/webapps/20091218 --> <a
href="#refsDOMEVENTS">[DOMEVENTS]</a></p>


<h4>Plugins</h4>
Expand Down

0 comments on commit 98b6fe3

Please sign in to comment.