Skip to content

Commit

Permalink
[] (0) Define handling of <area>.click() and popup blockers.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3295 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 17, 2009
1 parent 0507edd commit 8a5c515
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
12 changes: 8 additions & 4 deletions index
Expand Up @@ -25104,10 +25104,14 @@ function AddCloud(data, x, y) { ... }</pre>
<p>The <a href=#activation-behavior>activation behavior</a> of <code><a href=#the-area-element>area</a></code>
elements is to run the following steps:</p>

<ol><li>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 being dispatched), and the <code><a href=#the-area-element>area</a></code> element's <code title=attr-area-target>target</code> attribute is <span class=XXX>...</span> then raise an
<code><a href=#invalid_access_err>INVALID_ACCESS_ERR</a></code> exception.</li>
<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 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
browsing context name, would result in there not being a chosen
browsing context, then raise an <code><a href=#invalid_access_err>INVALID_ACCESS_ERR</a></code>
exception and abort these steps.</li>

<li>Otherwise, the user agent must <a href=#following-hyperlinks title="following
hyperlinks">follow the hyperlink</a> defined by the
Expand Down
14 changes: 9 additions & 5 deletions source
Expand Up @@ -27529,14 +27529,18 @@ function AddCloud(data, x, y) { ... }</pre>

<ol>

<li>If the <code title="event-DOMActivate">DOMActivate</code> event
in question is not <span
<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">click()</code> method call was the reason for the
event being dispatched), and the <code>area</code> element's <code
title="attr-area-target">target</code> attribute is <span
class="XXX">...</span> then raise an
<code>INVALID_ACCESS_ERR</code> exception.</li>
title="attr-hyperlink-target">target</code> attribute is such that
applying <span>the rules for choosing a browsing context given a
browsing context name</span>, using the value of the <code
title="attr-hyperlink-target">target</code> attribute as the
browsing context name, would result in there not being a chosen
browsing context, then raise an <code>INVALID_ACCESS_ERR</code>
exception and abort these steps.</p></li>

<li>Otherwise, the user agent must <span title="following
hyperlinks">follow the hyperlink</span> defined by the
Expand Down

0 comments on commit 8a5c515

Please sign in to comment.