[html5] r8058 - [giow] (1) Try to match reality a bit better for popup blockers. Affected topics [...]
whatwg at whatwg.org
whatwg at whatwg.org
Mon Jul 15 13:45:52 PDT 2013
Author: ianh
Date: 2013-07-15 13:45:51 -0700 (Mon, 15 Jul 2013)
New Revision: 8058
Modified:
complete.html
index
source
Log:
[giow] (1) Try to match reality a bit better for popup blockers.
Affected topics: HTML
Modified: complete.html
===================================================================
--- complete.html 2013-07-15 20:30:52 UTC (rev 8057)
+++ complete.html 2013-07-15 20:45:51 UTC (rev 8058)
@@ -65411,13 +65411,38 @@
<div class=impl>
- <hr><p>An algorithm is <dfn id=allowed-to-show-a-popup>allowed to show a popup</dfn> if, in the <a href=#concept-task title=concept-task>task</a> in which the algorithm is running, either:</p>
+ <hr><p>An algorithm is <dfn id=allowed-to-show-a-popup>allowed to show a popup</dfn> if any of the following conditions is
+ true:</p>
- <ul class=brief><li>an <a href=#activation-behavior>activation behavior</a> is currently being processed whose <code title=event-click><a href=#event-click>click</a></code> event was <a href=#concept-events-trusted title=concept-events-trusted>trusted</a>,
- or</li>
+ <ul><li><p>The <a href=#concept-task title=concept-task>task</a> in which the algorithm is running is currently
+ processing an <a href=#activation-behavior>activation behavior</a> whose <code title=event-click><a href=#event-click>click</a></code> event
+ was <a href=#concept-events-trusted title=concept-events-trusted>trusted</a>.</li>
- <li>the event listener for a <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> <code title=event-click><a href=#event-click>click</a></code> event is being handled.</li>
+ <li>
+ <p>The <a href=#concept-task title=concept-task>task</a> in which the algorithm is running is currently
+ running the event listener for a <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> event whose
+ type is in the following list:</p>
+
+ <ul class=brief><li><code title=event-change>change</code></li>
+ <li><code title=event-click><a href=#event-click>click</a></code></li>
+ <li><code title=event-dblclick>dblclick</code></li>
+ <li><code title=event-mouseup>mouseup</code></li>
+ <li><code title=event-reset>reset</code></li>
+ <li><code title=event-submit>submit</code></li>
+ </ul></li>
+
+ <li>
+
+ <p>The <a href=#concept-task title=concept-task>task</a> in which the algorithm is running was <a href=#queue-a-task title="queue a task">queued</a> by an algorithm that was <a href=#allowed-to-show-a-popup>allowed to show a popup</a>,
+ and the chain of such algorithms started within a user-agent defined timeframe.</p>
+
+ <p class=example>For example, if a user clicked a button, it might be acceptable for a popup
+ to result from that after 4 seconds, but it would likely not be acceptable for a popup to result
+ from that after 4 hours.</p>
+
+ </li>
+
</ul><hr><p><dfn id=the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>The rules for choosing a browsing context given a browsing context name</dfn> are as
follows. The rules assume that they are being applied in the context of a <a href=#browsing-context>browsing
context</a>, as part of the execution of a <a href=#concept-task title=concept-task>task</a>.</p>
Modified: index
===================================================================
--- index 2013-07-15 20:30:52 UTC (rev 8057)
+++ index 2013-07-15 20:45:51 UTC (rev 8058)
@@ -65411,13 +65411,38 @@
<div class=impl>
- <hr><p>An algorithm is <dfn id=allowed-to-show-a-popup>allowed to show a popup</dfn> if, in the <a href=#concept-task title=concept-task>task</a> in which the algorithm is running, either:</p>
+ <hr><p>An algorithm is <dfn id=allowed-to-show-a-popup>allowed to show a popup</dfn> if any of the following conditions is
+ true:</p>
- <ul class=brief><li>an <a href=#activation-behavior>activation behavior</a> is currently being processed whose <code title=event-click><a href=#event-click>click</a></code> event was <a href=#concept-events-trusted title=concept-events-trusted>trusted</a>,
- or</li>
+ <ul><li><p>The <a href=#concept-task title=concept-task>task</a> in which the algorithm is running is currently
+ processing an <a href=#activation-behavior>activation behavior</a> whose <code title=event-click><a href=#event-click>click</a></code> event
+ was <a href=#concept-events-trusted title=concept-events-trusted>trusted</a>.</li>
- <li>the event listener for a <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> <code title=event-click><a href=#event-click>click</a></code> event is being handled.</li>
+ <li>
+ <p>The <a href=#concept-task title=concept-task>task</a> in which the algorithm is running is currently
+ running the event listener for a <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> event whose
+ type is in the following list:</p>
+
+ <ul class=brief><li><code title=event-change>change</code></li>
+ <li><code title=event-click><a href=#event-click>click</a></code></li>
+ <li><code title=event-dblclick>dblclick</code></li>
+ <li><code title=event-mouseup>mouseup</code></li>
+ <li><code title=event-reset>reset</code></li>
+ <li><code title=event-submit>submit</code></li>
+ </ul></li>
+
+ <li>
+
+ <p>The <a href=#concept-task title=concept-task>task</a> in which the algorithm is running was <a href=#queue-a-task title="queue a task">queued</a> by an algorithm that was <a href=#allowed-to-show-a-popup>allowed to show a popup</a>,
+ and the chain of such algorithms started within a user-agent defined timeframe.</p>
+
+ <p class=example>For example, if a user clicked a button, it might be acceptable for a popup
+ to result from that after 4 seconds, but it would likely not be acceptable for a popup to result
+ from that after 4 hours.</p>
+
+ </li>
+
</ul><hr><p><dfn id=the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>The rules for choosing a browsing context given a browsing context name</dfn> are as
follows. The rules assume that they are being applied in the context of a <a href=#browsing-context>browsing
context</a>, as part of the execution of a <a href=#concept-task title=concept-task>task</a>.</p>
Modified: source
===================================================================
--- source 2013-07-15 20:30:52 UTC (rev 8057)
+++ source 2013-07-15 20:45:51 UTC (rev 8058)
@@ -72948,18 +72948,44 @@
<hr>
- <p>An algorithm is <dfn>allowed to show a popup</dfn> if, in the <span
- title="concept-task">task</span> in which the algorithm is running, either:</p>
+ <p>An algorithm is <dfn>allowed to show a popup</dfn> if any of the following conditions is
+ true:</p>
- <ul class="brief">
+ <ul>
- <li>an <span>activation behavior</span> is currently being processed whose <code
- title="event-click">click</code> event was <span title="concept-events-trusted">trusted</span>,
- or</li>
+ <li><p>The <span title="concept-task">task</span> in which the algorithm is running is currently
+ processing an <span>activation behavior</span> whose <code title="event-click">click</code> event
+ was <span title="concept-events-trusted">trusted</span>.</li>
- <li>the event listener for a <span title="concept-events-trusted">trusted</span> <code
- title="event-click">click</code> event is being handled.</li>
+ <li>
+ <p>The <span title="concept-task">task</span> in which the algorithm is running is currently
+ running the event listener for a <span title="concept-events-trusted">trusted</span> event whose
+ type is in the following list:</p>
+
+ <ul class="brief">
+ <li><code title="event-change">change</code></li>
+ <li><code title="event-click">click</code></li>
+ <li><code title="event-dblclick">dblclick</code></li>
+ <li><code title="event-mouseup">mouseup</code></li>
+ <li><code title="event-reset">reset</code></li>
+ <li><code title="event-submit">submit</code></li>
+ </ul>
+
+ </li>
+
+ <li>
+
+ <p>The <span title="concept-task">task</span> in which the algorithm is running was <span
+ title="queue a task">queued</span> by an algorithm that was <span>allowed to show a popup</span>,
+ and the chain of such algorithms started within a user-agent defined timeframe.</p>
+
+ <p class="example">For example, if a user clicked a button, it might be acceptable for a popup
+ to result from that after 4 seconds, but it would likely not be acceptable for a popup to result
+ from that after 4 hours.</p>
+
+ </li>
+
</ul>
<hr>
More information about the Commit-Watchers
mailing list