[html5] r8595 - [giow] (3) Try to make event handler scope chains more accurate. Fixing https:// [...]
whatwg at whatwg.org
whatwg at whatwg.org
Thu May 1 13:24:38 PDT 2014
Author: ianh
Date: 2014-05-01 13:24:33 -0700 (Thu, 01 May 2014)
New Revision: 8595
Modified:
complete.html
index
source
Log:
[giow] (3) Try to make event handler scope chains more accurate.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=25120
Affected topics: DOM APIs
Modified: complete.html
===================================================================
--- complete.html 2014-05-01 18:07:26 UTC (rev 8594)
+++ complete.html 2014-05-01 20:24:33 UTC (rev 8595)
@@ -73198,10 +73198,22 @@
<dd>
- <ol><li>Let <var title="">Scope</var> be the result of NewObjectEnvironment(<var title="">document</var>, the <var title="">global environment</var>).</li>
+ <ol><li>
+ <p>If <var title="">H</var> is an element's <a href=#event-handlers title="event handlers">event
+ handler</a>, then let <var title="">Scope</var> be the result of
+ NewObjectEnvironment(<var title="">document</var>, the <var title="">global
+ environment</var>).</p>
+
+ <p>Otherwise, <var title="">H</var> is a <code><a href=#window>Window</a></code> object's <a href=#event-handlers title="event
+ handlers">event handler</a>: let <var title="">Scope</var> be the <var title="">global environment</var>.</p>
+
+ </li>
+
+ <!--CLEANUP--><!--add <p>s:-->
+
<li>If <var title="">form owner</var> is not null, let <var title="">Scope</var> be the
- result of NewObjectEnvironment(<var title="">>form owner</var>, <var title="">Scope</var>).</li>
+ result of NewObjectEnvironment(<var title="">form owner</var>, <var title="">Scope</var>).</li>
<li>If <var title="">element</var> is not null, let <var title="">Scope</var> be the
result of NewObjectEnvironment(<var title="">element</var>, <var title="">Scope</var>).</li>
Modified: index
===================================================================
--- index 2014-05-01 18:07:26 UTC (rev 8594)
+++ index 2014-05-01 20:24:33 UTC (rev 8595)
@@ -73198,10 +73198,22 @@
<dd>
- <ol><li>Let <var title="">Scope</var> be the result of NewObjectEnvironment(<var title="">document</var>, the <var title="">global environment</var>).</li>
+ <ol><li>
+ <p>If <var title="">H</var> is an element's <a href=#event-handlers title="event handlers">event
+ handler</a>, then let <var title="">Scope</var> be the result of
+ NewObjectEnvironment(<var title="">document</var>, the <var title="">global
+ environment</var>).</p>
+
+ <p>Otherwise, <var title="">H</var> is a <code><a href=#window>Window</a></code> object's <a href=#event-handlers title="event
+ handlers">event handler</a>: let <var title="">Scope</var> be the <var title="">global environment</var>.</p>
+
+ </li>
+
+ <!--CLEANUP--><!--add <p>s:-->
+
<li>If <var title="">form owner</var> is not null, let <var title="">Scope</var> be the
- result of NewObjectEnvironment(<var title="">>form owner</var>, <var title="">Scope</var>).</li>
+ result of NewObjectEnvironment(<var title="">form owner</var>, <var title="">Scope</var>).</li>
<li>If <var title="">element</var> is not null, let <var title="">Scope</var> be the
result of NewObjectEnvironment(<var title="">element</var>, <var title="">Scope</var>).</li>
Modified: source
===================================================================
--- source 2014-05-01 18:07:26 UTC (rev 8594)
+++ source 2014-05-01 20:24:33 UTC (rev 8595)
@@ -81863,11 +81863,23 @@
<ol>
- <li>Let <var data-x="">Scope</var> be the result of NewObjectEnvironment(<var
- data-x="">document</var>, the <var data-x="">global environment</var>).</li>
+ <li>
+ <p>If <var data-x="">H</var> is an element's <span data-x="event handlers">event
+ handler</span>, then let <var data-x="">Scope</var> be the result of
+ NewObjectEnvironment(<var data-x="">document</var>, the <var data-x="">global
+ environment</var>).</p>
+
+ <p>Otherwise, <var data-x="">H</var> is a <code>Window</code> object's <span data-x="event
+ handlers">event handler</span>: let <var data-x="">Scope</var> be the <var
+ data-x="">global environment</var>.</p>
+
+ </li>
+
+ <!--CLEANUP--><!--add <p>s:-->
+
<li>If <var data-x="">form owner</var> is not null, let <var data-x="">Scope</var> be the
- result of NewObjectEnvironment(<var data-x="">>form owner</var>, <var
+ result of NewObjectEnvironment(<var data-x="">form owner</var>, <var
data-x="">Scope</var>).</li>
<li>If <var data-x="">element</var> is not null, let <var data-x="">Scope</var> be the
More information about the Commit-Watchers
mailing list