[html5] r6739 - [giow] (1) Compatibility for pop-up blocking logic. (also wording change for bug [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Oct 24 16:33:33 PDT 2011


Author: ianh
Date: 2011-10-24 16:33:32 -0700 (Mon, 24 Oct 2011)
New Revision: 6739

Modified:
   complete.html
   index
   source
Log:
[giow] (1) Compatibility for pop-up blocking logic. (also wording change for bug 14472)
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14471

Modified: complete.html
===================================================================
--- complete.html	2011-10-24 23:17:26 UTC (rev 6738)
+++ complete.html	2011-10-24 23:33:32 UTC (rev 6739)
@@ -62274,16 +62274,15 @@
 
   <div class=impl>
 
-  <hr><p>An algorithm is <dfn id=allowed-to-show-a-pop-up>allowed to show a pop-up</dfn> if:
+  <hr><p>An algorithm is <dfn id=allowed-to-show-a-pop-up>allowed to show a pop-up</dfn> if, in the
+  <a href=#concept-task title=concept-task>task</a> in which the algorithm is
+  running, either:</p>
 
-  <ul class=brief><li>it is running in the context of an <a href=#activation-behavior>activation
-   behavior</a> or of the <a href=#concept-event-dispatch title=concept-event-dispatch>dispatching</a> of a <code title=event-click><a href=#event-click>click</a></code> event, and</li>
+  <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>
 
-   <li>The <code title=event-click><a href=#event-click>click</a></code> events that led to
-   the triggering of the <a href=#activation-behavior title="activation behavior">activation
-   behaviors</a>, if any, and the <code title=event-click><a href=#event-click>click</a></code> events of any <a href=#concept-event-dispatch title=concept-event-dispatch>event dispatching</a> that
-   indirectly led to the algorithm being invoked, if any, are all
-   <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>
 
   </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
@@ -90132,7 +90131,8 @@
 
     <p>If any of the tokens in the <var><a href=#pending-table-character-tokens>pending table character
     tokens</a></var> list are character tokens that are not <a href=#space-character title="space character">space characters</a>, then reprocess
-    those character tokens using the rules given in the "anything
+    the character tokens in the <var><a href=#pending-table-character-tokens>pending table character
+    tokens</a></var> list using the rules given in the "anything
     else" entry in the "<a href=#parsing-main-intable title="insertion mode: in table">in
     table</a>" insertion mode.</p>
 
@@ -90140,6 +90140,9 @@
     characters</a> given by the <var><a href=#pending-table-character-tokens>pending table character
     tokens</a></var> list into the <a href=#current-node>current node</a>.</p>
 
+    <!-- no need to empty the list, we're leaving the insertion mode
+    and the list is always emptied before we reenter the mode -->
+
     <p>Switch the <a href=#insertion-mode>insertion mode</a> to the <a href=#original-insertion-mode>original
     insertion mode</a> and reprocess the token.</p>
 

Modified: index
===================================================================
--- index	2011-10-24 23:17:26 UTC (rev 6738)
+++ index	2011-10-24 23:33:32 UTC (rev 6739)
@@ -62274,16 +62274,15 @@
 
   <div class=impl>
 
-  <hr><p>An algorithm is <dfn id=allowed-to-show-a-pop-up>allowed to show a pop-up</dfn> if:
+  <hr><p>An algorithm is <dfn id=allowed-to-show-a-pop-up>allowed to show a pop-up</dfn> if, in the
+  <a href=#concept-task title=concept-task>task</a> in which the algorithm is
+  running, either:</p>
 
-  <ul class=brief><li>it is running in the context of an <a href=#activation-behavior>activation
-   behavior</a> or of the <a href=#concept-event-dispatch title=concept-event-dispatch>dispatching</a> of a <code title=event-click><a href=#event-click>click</a></code> event, and</li>
+  <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>
 
-   <li>The <code title=event-click><a href=#event-click>click</a></code> events that led to
-   the triggering of the <a href=#activation-behavior title="activation behavior">activation
-   behaviors</a>, if any, and the <code title=event-click><a href=#event-click>click</a></code> events of any <a href=#concept-event-dispatch title=concept-event-dispatch>event dispatching</a> that
-   indirectly led to the algorithm being invoked, if any, are all
-   <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>
 
   </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
@@ -90132,7 +90131,8 @@
 
     <p>If any of the tokens in the <var><a href=#pending-table-character-tokens>pending table character
     tokens</a></var> list are character tokens that are not <a href=#space-character title="space character">space characters</a>, then reprocess
-    those character tokens using the rules given in the "anything
+    the character tokens in the <var><a href=#pending-table-character-tokens>pending table character
+    tokens</a></var> list using the rules given in the "anything
     else" entry in the "<a href=#parsing-main-intable title="insertion mode: in table">in
     table</a>" insertion mode.</p>
 
@@ -90140,6 +90140,9 @@
     characters</a> given by the <var><a href=#pending-table-character-tokens>pending table character
     tokens</a></var> list into the <a href=#current-node>current node</a>.</p>
 
+    <!-- no need to empty the list, we're leaving the insertion mode
+    and the list is always emptied before we reenter the mode -->
+
     <p>Switch the <a href=#insertion-mode>insertion mode</a> to the <a href=#original-insertion-mode>original
     insertion mode</a> and reprocess the token.</p>
 

Modified: source
===================================================================
--- source	2011-10-24 23:17:26 UTC (rev 6738)
+++ source	2011-10-24 23:33:32 UTC (rev 6739)
@@ -70695,22 +70695,19 @@
 
   <hr>
 
-  <p>An algorithm is <dfn>allowed to show a pop-up</dfn> if:
+  <p>An algorithm is <dfn>allowed to show a pop-up</dfn> if, in the
+  <span title="concept-task">task</span> in which the algorithm is
+  running, either:</p>
 
   <ul class="brief">
 
-   <li>it is running in the context of an <span>activation
-   behavior</span> or of the <span
-   title="concept-event-dispatch">dispatching</span> of a <code
-   title="event-click">click</code> event, and</li>
+   <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>The <code title="event-click">click</code> events that led to
-   the triggering of the <span title="activation behavior">activation
-   behaviors</span>, if any, and the <code
-   title="event-click">click</code> events of any <span
-   title="concept-event-dispatch">event dispatching</span> that
-   indirectly led to the algorithm being invoked, if any, are all
-   <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>
 
   </ul>
 
@@ -102120,7 +102117,8 @@
     <p>If any of the tokens in the <var>pending table character
     tokens</var> list are character tokens that are not <span
     title="space character">space characters</span>, then reprocess
-    those character tokens using the rules given in the "anything
+    the character tokens in the <var>pending table character
+    tokens</var> list using the rules given in the "anything
     else" entry in the "<span title="insertion mode: in table">in
     table</span>" insertion mode.</p>
 
@@ -102128,6 +102126,9 @@
     characters</span> given by the <var>pending table character
     tokens</var> list into the <span>current node</span>.</p>
 
+    <!-- no need to empty the list, we're leaving the insertion mode
+    and the list is always emptied before we reenter the mode -->
+
     <p>Switch the <span>insertion mode</span> to the <span>original
     insertion mode</span> and reprocess the token.</p>
 




More information about the Commit-Watchers mailing list