Re: [whatwg/dom] Allow constructing and subclassing EventTarget (#467)

annevk commented on this pull request.



> @@ -1014,6 +1019,19 @@ steps:
  <li><p>Return <var>capture</var>, <var>passive</var>, and <var>once</var>.
 </ol>
 
+<p>The <dfn constructor for=EventTarget><code>EventTarget()</code></dfn> constructor, when invoked,
+must run these steps:
+
+<ol>
+ <li>Return a new {{EventTarget}} object, using the default <a>get the parent</a> algorithm, and

`<li><p>` or maybe inline it in the previous step. It seems that you get a default get the parent and no behavior should maybe be a note as it's just a statement of fact.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/467#pullrequestreview-46821552

Received on Wednesday, 28 June 2017 12:26:08 UTC