- From: Anne van Kesteren <notifications@github.com>
- Date: Fri, 06 Apr 2018 01:13:16 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 6 April 2018 08:13:43 UTC
annevk commented on this pull request. > @@ -675,6 +680,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. +<p>The <dfn attribute for=Event><code>returnValue</code></dfn> attribute's getter must return false +if the <a>canceled flag</a> is set, and true otherwise. + +<p>The {{Event/returnValue}} attribute's setter must, if the given value is false, set the <a>canceled flag</a> +if the {{Event/cancelable}} attribute value is true and the <a>in passive listener flag</a> is unset. Although maybe it would be nicer to refactor this and make it share an algorithm with preventDefault(). I can do that before landing I suppose. -- 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/626#discussion_r179687615
Received on Friday, 6 April 2018 08:13:43 UTC