- From: Mike Taylor <notifications@github.com>
- Date: Thu, 02 Nov 2017 17:47:26 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 2 November 2017 17:47:49 UTC
miketaylr commented on this pull request.
> @@ -733,6 +736,12 @@ The <dfn attribute for=Event><code>bubbles</code></dfn> and
<dfn attribute for=Event><code>cancelable</code></dfn> attributes
must return the values they were initialized to.
+The <dfn attribute for=Event><code>returnValue</code></dfn>
+attribute must be initialized to true when an <a>event</a> is created.
+When the attribute is set to false it must set the <a>canceled flag</a> if the
+{{Event/cancelable}} attribute value is true and the
+<a>in passive listener flag</a> is unset.
@domenic yeah, Safari, Chrome and Edge do:
https://miketaylr.com/bzla/canceled-returnValue.html
So we need to add a getter that returns if the canceled flag is set, and false otherwise.
--
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/407#discussion_r148610151
Received on Thursday, 2 November 2017 17:47:49 UTC