Re: [whatwg/dom] Issue #625. Define Event.srcElement and Event.returnValue for compat. (#626)

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 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>

Yeah, I think phrasing this as a getter and setter (one paragraph each) (and not saying anything about initial state) would be best. The initial state doesn't really exist, since it just reflects the canceled flag.

-- 
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_r178734799

Received on Tuesday, 3 April 2018 07:37:31 UTC